Imported Upstream version 2.3.9

This commit is contained in:
Ari Pollak
2010-08-11 01:19:20 -04:00
parent 836308f327
commit 2a222e99d4
1588 changed files with 125210 additions and 92631 deletions

View File

@ -4,16 +4,19 @@
<refentry id="GimpBrowser">
<refmeta>
<refentrytitle>GimpBrowser</refentrytitle>
<refentrytitle id="top_of_page">GimpBrowser</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpBrowser</refname><refpurpose></refpurpose>
<refname>GimpBrowser</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -33,8 +36,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -51,8 +54,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpBrowser implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -61,35 +64,35 @@ GimpBrowser implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpBrowser-search">search</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpBrowser">GimpBrowser</link> *gimpbrowser,
<link linkend="gchar">gchar</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gchar">gchar</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run last
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpBrowser-struct"/>GimpBrowser</title>
<title><anchor id="GimpBrowser-struct" role="struct"/>GimpBrowser</title>
<indexterm><primary>GimpBrowser</primary></indexterm><programlisting>typedef struct _GimpBrowser GimpBrowser;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-browser-new"/>gimp_browser_new ()</title>
<title><anchor id="gimp-browser-new" role="function" condition="since:GIMP 2.4"/>gimp_browser_new ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_browser_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_browser_new (void);</programlisting>
<para>
Create a new <link linkend="GimpBrowser"><type>GimpBrowser</type></link> widget.</para>
@ -102,7 +105,7 @@ Create a new <link linkend="GimpBrowser"><type>GimpBrowser</type></link> widget.
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-browser-add-search-types"/>gimp_browser_add_search_types ()</title>
<title><anchor id="gimp-browser-add-search-types" role="function" condition="since:GIMP 2.4"/>gimp_browser_add_search_types ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_browser_add_search_types</primary></indexterm><programlisting><link linkend="void">void</link> gimp_browser_add_search_types (<link linkend="GimpBrowser">GimpBrowser</link> *browser,
const <link linkend="gchar">gchar</link> *first_type_label,
<link linkend="gint">gint</link> first_type_id,
@ -122,12 +125,12 @@ Populates the <link linkend="GtkComboBox"><type>GtkComboBox</type></link> with s
<listitem><simpara> an integer that identifies the first search type
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> a <literal>NULL</literal>-terminated list of more labels and ids.
<listitem><simpara> a <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated list of more labels and ids.
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-browser-set-widget"/>gimp_browser_set_widget ()</title>
<title><anchor id="gimp-browser-set-widget" role="function" condition="since:GIMP 2.4"/>gimp_browser_set_widget ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_browser_set_widget</primary></indexterm><programlisting><link linkend="void">void</link> gimp_browser_set_widget (<link linkend="GimpBrowser">GimpBrowser</link> *browser,
<link linkend="GtkWidget">GtkWidget</link> *widget);</programlisting>
<para>
@ -144,7 +147,7 @@ Sets the widget to appear on the right side of the <parameter>browser</parameter
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-browser-show-message"/>gimp_browser_show_message ()</title>
<title><anchor id="gimp-browser-show-message" role="function" condition="since:GIMP 2.4"/>gimp_browser_show_message ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_browser_show_message</primary></indexterm><programlisting><link linkend="void">void</link> gimp_browser_show_message (<link linkend="GimpBrowser">GimpBrowser</link> *browser,
const <link linkend="gchar">gchar</link> *message);</programlisting>
<para>
@ -165,13 +168,13 @@ side already contains a <link linkend="GtkLabel"><type>GtkLabel</type></link>, t
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpBrowser-search"/>The &quot;search&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpBrowser">GimpBrowser</link> *gimpbrowser,
<link linkend="gchar">gchar</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpBrowser::search</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpBrowser">GimpBrowser</link> *gimpbrowser,
<link linkend="gchar">gchar</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run last</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpButton">
<refmeta>
<refentrytitle>GimpButton</refentrytitle>
<refentrytitle id="top_of_page">GimpButton</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpButton</refname><refpurpose>A <link linkend="GtkButton"><type>GtkButton</type></link> with a little extra functionality.</refpurpose>
<refname>GimpButton</refname>
<refpurpose>A <link linkend="GtkButton"><type>GtkButton</type></link> with a little extra functionality.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -27,8 +30,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -46,8 +49,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpButton implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -56,20 +59,20 @@ GimpButton implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpButton-extended-clicked">extended-clicked</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpButton">GimpButton</link> *gimpbutton,
<link linkend="GdkModifierType">GdkModifierType</link> arg1,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="void">void</link> user_function (<link linkend="GimpButton">GimpButton</link> *gimpbutton,
<link linkend="GdkModifierType">GdkModifierType</link> *arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
<link linkend="GimpButton"><type>GimpButton</type></link> adds an extra signal to the <link linkend="GtkButton"><type>GtkButton</type></link> widget that allows
to distinguish a normal click from a click that was performed with
@ -77,16 +80,16 @@ modifier keys pressed.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpButton-struct"/>GimpButton</title>
<title><anchor id="GimpButton-struct" role="struct"/>GimpButton</title>
<indexterm><primary>GimpButton</primary></indexterm><programlisting>typedef struct _GimpButton GimpButton;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-button-new"/>gimp_button_new ()</title>
<title><anchor id="gimp-button-new" role="function"/>gimp_button_new ()</title>
<indexterm><primary>gimp_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_button_new (void);</programlisting>
<para>
Creates a new <link linkend="GimpButton"><type>GimpButton</type></link> widget.</para>
@ -97,7 +100,7 @@ Creates a new <link linkend="GimpButton"><type>GimpButton</type></link> widget.<
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-button-extended-clicked"/>gimp_button_extended_clicked ()</title>
<title><anchor id="gimp-button-extended-clicked" role="function"/>gimp_button_extended_clicked ()</title>
<indexterm><primary>gimp_button_extended_clicked</primary></indexterm><programlisting><link linkend="void">void</link> gimp_button_extended_clicked (<link linkend="GimpButton">GimpButton</link> *button,
<link linkend="GdkModifierType">GdkModifierType</link> state);</programlisting>
<para>
@ -115,12 +118,12 @@ Emits the button's "extended_clicked" signal.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpButton-extended-clicked"/>The &quot;extended-clicked&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpButton">GimpButton</link> *gimpbutton,
<link linkend="GdkModifierType">GdkModifierType</link> arg1,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpButton::extended-clicked</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpButton">GimpButton</link> *gimpbutton,
<link linkend="GdkModifierType">GdkModifierType</link> *arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpCellRendererColor">
<refmeta>
<refentrytitle>GimpCellRendererColor</refentrytitle>
<refentrytitle id="top_of_page">GimpCellRendererColor</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpCellRendererColor</refname><refpurpose></refpurpose>
<refname>GimpCellRendererColor</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -26,8 +29,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -43,8 +46,8 @@
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpCellRendererColor--color">color</link>&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write
@ -55,23 +58,23 @@
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpCellRendererColor-struct"/>GimpCellRendererColor</title>
<title><anchor id="GimpCellRendererColor-struct" role="struct"/>GimpCellRendererColor</title>
<indexterm><primary>GimpCellRendererColor</primary></indexterm><programlisting>typedef struct _GimpCellRendererColor GimpCellRendererColor;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-cell-renderer-color-new"/>gimp_cell_renderer_color_new ()</title>
<title><anchor id="gimp-cell-renderer-color-new" role="function" condition="since:GIMP 2.2"/>gimp_cell_renderer_color_new ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_cell_renderer_color_new</primary></indexterm><programlisting><link linkend="GtkCellRenderer">GtkCellRenderer</link>* gimp_cell_renderer_color_new
(void);</programlisting>
<para>
@ -86,18 +89,18 @@ Creates a <link linkend="GtkCellRenderer"><type>GtkCellRenderer</type></link> th
</para></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpCellRendererColor--color"/>The &quot;<literal>color</literal>&quot; property</title>
<programlisting> &quot;color&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write</programlisting>
<indexterm><primary>GimpCellRendererColor:color</primary></indexterm><programlisting> &quot;color&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write</programlisting>
<para></para></refsect2>
<refsect2><title><anchor id="GimpCellRendererColor--icon-size"/>The &quot;<literal>icon-size</literal>&quot; property</title>
<programlisting> &quot;icon-size&quot; <link linkend="gint">gint</link> : Read / Write / Construct</programlisting>
<indexterm><primary>GimpCellRendererColor:icon-size</primary></indexterm><programlisting> &quot;icon-size&quot; <link linkend="gint">gint</link> : Read / Write / Construct</programlisting>
<para></para><para>Allowed values: &gt;= 0</para>
<para>Default value: 1</para>
</refsect2>
<refsect2><title><anchor id="GimpCellRendererColor--opaque"/>The &quot;<literal>opaque</literal>&quot; property</title>
<programlisting> &quot;opaque&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
<indexterm><primary>GimpCellRendererColor:opaque</primary></indexterm><programlisting> &quot;opaque&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
<para></para><para>Default value: TRUE</para>
</refsect2>

View File

@ -4,16 +4,19 @@
<refentry id="GimpCellRendererToggle">
<refmeta>
<refentrytitle>GimpCellRendererToggle</refentrytitle>
<refentrytitle id="top_of_page">GimpCellRendererToggle</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpCellRendererToggle</refname><refpurpose></refpurpose>
<refname>GimpCellRendererToggle</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -30,8 +33,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -48,8 +51,8 @@
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpCellRendererToggle--stock-id">stock-id</link>&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct
@ -57,35 +60,35 @@
</synopsis>
</refsect1>
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpCellRendererToggle-clicked">clicked</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpCellRendererToggle">GimpCellRendererToggle</link> *gimpcellrenderertoggle,
<link linkend="gchar">gchar</link> *arg1,
<link linkend="GdkModifierType">GdkModifierType</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gchar">gchar</link> *arg1,
<link linkend="GdkModifierType">GdkModifierType</link> *arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run last
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpCellRendererToggle-struct"/>GimpCellRendererToggle</title>
<title><anchor id="GimpCellRendererToggle-struct" role="struct"/>GimpCellRendererToggle</title>
<indexterm><primary>GimpCellRendererToggle</primary></indexterm><programlisting>typedef struct _GimpCellRendererToggle GimpCellRendererToggle;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-cell-renderer-toggle-new"/>gimp_cell_renderer_toggle_new ()</title>
<title><anchor id="gimp-cell-renderer-toggle-new" role="function" condition="since:GIMP 2.2"/>gimp_cell_renderer_toggle_new ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_cell_renderer_toggle_new</primary></indexterm><programlisting><link linkend="GtkCellRenderer">GtkCellRenderer</link>* gimp_cell_renderer_toggle_new
(const <link linkend="gchar">gchar</link> *stock_id);</programlisting>
<para>
@ -93,7 +96,7 @@ Creates a custom version of the <link linkend="GtkCellRendererToggle"><type>GtkC
showing the standard toggle button, it shows a stock icon if the
cell is active and no icon otherwise. This cell renderer is for
example used in the Layers treeview to indicate and control the
layer's visibility by showing <literal>GIMP_STOCK_VISIBLE</literal>.</para>
layer's visibility by showing <link linkend="GIMP-STOCK-VISIBLE:CAPS"><literal>GIMP_STOCK_VISIBLE</literal></link>.</para>
<para>
</para><variablelist role="params">
@ -106,7 +109,7 @@ layer's visibility by showing <literal>GIMP_STOCK_VISIBLE</literal>.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-cell-renderer-toggle-clicked"/>gimp_cell_renderer_toggle_clicked ()</title>
<title><anchor id="gimp-cell-renderer-toggle-clicked" role="function" condition="since:GIMP 2.2"/>gimp_cell_renderer_toggle_clicked ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_cell_renderer_toggle_clicked</primary></indexterm><programlisting><link linkend="void">void</link> gimp_cell_renderer_toggle_clicked
(<link linkend="GimpCellRendererToggle">GimpCellRendererToggle</link> *cell,
const <link linkend="gchar">gchar</link> *path,
@ -129,27 +132,27 @@ Emits the "clicked" signal from a <link linkend="GimpCellRendererToggle"><type>G
</para></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpCellRendererToggle--stock-id"/>The &quot;<literal>stock-id</literal>&quot; property</title>
<programlisting> &quot;stock-id&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
<indexterm><primary>GimpCellRendererToggle:stock-id</primary></indexterm><programlisting> &quot;stock-id&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
<para></para><para>Default value: NULL</para>
</refsect2>
<refsect2><title><anchor id="GimpCellRendererToggle--stock-size"/>The &quot;<literal>stock-size</literal>&quot; property</title>
<programlisting> &quot;stock-size&quot; <link linkend="gint">gint</link> : Read / Write / Construct</programlisting>
<indexterm><primary>GimpCellRendererToggle:stock-size</primary></indexterm><programlisting> &quot;stock-size&quot; <link linkend="gint">gint</link> : Read / Write / Construct</programlisting>
<para></para><para>Allowed values: &gt;= 0</para>
<para>Default value: 4</para>
</refsect2>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpCellRendererToggle-clicked"/>The &quot;clicked&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpCellRendererToggle">GimpCellRendererToggle</link> *gimpcellrenderertoggle,
<link linkend="gchar">gchar</link> *arg1,
<link linkend="GdkModifierType">GdkModifierType</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpCellRendererToggle::clicked</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpCellRendererToggle">GimpCellRendererToggle</link> *gimpcellrenderertoggle,
<link linkend="gchar">gchar</link> *arg1,
<link linkend="GdkModifierType">GdkModifierType</link> *arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run last</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpChainButton">
<refmeta>
<refentrytitle>GimpChainButton</refentrytitle>
<refentrytitle id="top_of_page">GimpChainButton</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpChainButton</refname><refpurpose>Widget to visually connect two entry widgets.</refpurpose>
<refname>GimpChainButton</refname>
<refpurpose>Widget to visually connect two entry widgets.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -29,8 +32,8 @@ enum <link linkend="GimpChainPosition">GimpChainPosition</link>;
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -46,8 +49,8 @@ enum <link linkend="GimpChainPosition">GimpChainPosition</link>;
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpChainButton implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -56,18 +59,18 @@ GimpChainButton implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpChainButton-toggled">toggled</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpChainButton">GimpChainButton</link> *gimpchainbutton,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
This widget provides a button showing either a linked or a broken
chain that can be used to link two entries, spinbuttons, colors
@ -84,16 +87,16 @@ necessary.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpChainButton-struct"/>GimpChainButton</title>
<title><anchor id="GimpChainButton-struct" role="struct"/>GimpChainButton</title>
<indexterm><primary>GimpChainButton</primary></indexterm><programlisting>typedef struct _GimpChainButton GimpChainButton;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GimpChainPosition"/>enum GimpChainPosition</title>
<title><anchor id="GimpChainPosition" role="enum"/>enum GimpChainPosition</title>
<indexterm><primary>GimpChainPosition</primary></indexterm><programlisting>typedef enum
{
GIMP_CHAIN_TOP,
@ -106,7 +109,7 @@ necessary.
</para></refsect2>
<refsect2>
<title><anchor id="gimp-chain-button-new"/>gimp_chain_button_new ()</title>
<title><anchor id="gimp-chain-button-new" role="function"/>gimp_chain_button_new ()</title>
<indexterm><primary>gimp_chain_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_chain_button_new (<link linkend="GimpChainPosition">GimpChainPosition</link> position);</programlisting>
<para>
Creates a new <link linkend="GimpChainButton"><type>GimpChainButton</type></link> widget.
@ -131,12 +134,12 @@ for more than two widgets, but the look is optimized for two.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-chain-button-set-active"/>gimp_chain_button_set_active ()</title>
<title><anchor id="gimp-chain-button-set-active" role="function"/>gimp_chain_button_set_active ()</title>
<indexterm><primary>gimp_chain_button_set_active</primary></indexterm><programlisting><link linkend="void">void</link> gimp_chain_button_set_active (<link linkend="GimpChainButton">GimpChainButton</link> *button,
<link linkend="gboolean">gboolean</link> active);</programlisting>
<para>
Sets the state of the <link linkend="GimpChainButton"><type>GimpChainButton</type></link> to be either locked (<literal>TRUE</literal>) or
unlocked (<literal>FALSE</literal>) and changes the showed pixmap to reflect the new state.</para>
Sets the state of the <link linkend="GimpChainButton"><type>GimpChainButton</type></link> to be either locked (<link linkend="TRUE:CAPS"><literal>TRUE</literal></link>) or
unlocked (<link linkend="FALSE:CAPS"><literal>FALSE</literal></link>) and changes the showed pixmap to reflect the new state.</para>
<para>
</para><variablelist role="params">
@ -148,7 +151,7 @@ unlocked (<literal>FALSE</literal>) and changes the showed pixmap to reflect the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-chain-button-get-active"/>gimp_chain_button_get_active ()</title>
<title><anchor id="gimp-chain-button-get-active" role="function"/>gimp_chain_button_get_active ()</title>
<indexterm><primary>gimp_chain_button_get_active</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_chain_button_get_active (<link linkend="GimpChainButton">GimpChainButton</link> *button);</programlisting>
<para>
Checks the state of the <link linkend="GimpChainButton"><type>GimpChainButton</type></link>.</para>
@ -158,17 +161,17 @@ Checks the state of the <link linkend="GimpChainButton"><type>GimpChainButton</t
<varlistentry><term><parameter>button</parameter>&nbsp;:</term>
<listitem><simpara> Pointer to a <link linkend="GimpChainButton"><type>GimpChainButton</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the <link linkend="GimpChainButton"><type>GimpChainButton</type></link> is active (locked).
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <link linkend="GimpChainButton"><type>GimpChainButton</type></link> is active (locked).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpChainButton-toggled"/>The &quot;toggled&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpChainButton">GimpChainButton</link> *gimpchainbutton,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpChainButton::toggled</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpChainButton">GimpChainButton</link> *gimpchainbutton,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorArea">
<refmeta>
<refentrytitle>GimpColorArea</refentrytitle>
<refentrytitle id="top_of_page">GimpColorArea</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorArea</refname><refpurpose>Displays a GimpRGB color, optionally with alpha-channel.</refpurpose>
<refname>GimpColorArea</refname>
<refpurpose>Displays a GimpRGB color, optionally with alpha-channel.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -37,8 +40,8 @@ enum <link linkend="GimpColorAreaType">GimpColorAreaType</link>;
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -53,8 +56,8 @@ enum <link linkend="GimpColorAreaType">GimpColorAreaType</link>;
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorArea implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -62,8 +65,8 @@ GimpColorArea implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpColorArea--color">color</link>&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write / Construct
@ -73,34 +76,34 @@ GimpColorArea implements
</synopsis>
</refsect1>
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpColorArea-color-changed">color-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpColorArea">GimpColorArea</link> *gimpcolorarea,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorArea-struct"/>GimpColorArea</title>
<title><anchor id="GimpColorArea-struct" role="struct"/>GimpColorArea</title>
<indexterm><primary>GimpColorArea</primary></indexterm><programlisting>typedef struct _GimpColorArea GimpColorArea;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GimpColorAreaType"/>enum GimpColorAreaType</title>
<title><anchor id="GimpColorAreaType" role="enum"/>enum GimpColorAreaType</title>
<indexterm><primary>GimpColorAreaType</primary></indexterm><programlisting>typedef enum
{
GIMP_COLOR_AREA_FLAT = 0,
@ -112,7 +115,7 @@ GimpColorArea implements
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-area-new"/>gimp_color_area_new ()</title>
<title><anchor id="gimp-color-area-new" role="function"/>gimp_color_area_new ()</title>
<indexterm><primary>gimp_color_area_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_color_area_new (const <link linkend="GimpRGB">GimpRGB</link> *color,
<link linkend="GimpColorAreaType">GimpColorAreaType</link> type,
<link linkend="GdkModifierType">GdkModifierType</link> drag_mask);</programlisting>
@ -138,7 +141,7 @@ DND. If the color changes, the "color_changed" signal is emitted.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-area-set-color"/>gimp_color_area_set_color ()</title>
<title><anchor id="gimp-color-area-set-color" role="function"/>gimp_color_area_set_color ()</title>
<indexterm><primary>gimp_color_area_set_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_area_set_color (<link linkend="GimpColorArea">GimpColorArea</link> *area,
const <link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
<para>
@ -154,7 +157,7 @@ Sets <parameter>area</parameter> to a different <parameter>color</parameter>.</p
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-area-get-color"/>gimp_color_area_get_color ()</title>
<title><anchor id="gimp-color-area-get-color" role="function"/>gimp_color_area_get_color ()</title>
<indexterm><primary>gimp_color_area_get_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_area_get_color (<link linkend="GimpColorArea">GimpColorArea</link> *area,
<link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
<para>
@ -170,7 +173,7 @@ Retrieves the current color of the <parameter>area</parameter>.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-area-has-alpha"/>gimp_color_area_has_alpha ()</title>
<title><anchor id="gimp-color-area-has-alpha" role="function"/>gimp_color_area_has_alpha ()</title>
<indexterm><primary>gimp_color_area_has_alpha</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_color_area_has_alpha (<link linkend="GimpColorArea">GimpColorArea</link> *area);</programlisting>
<para>
Checks whether the <parameter>area</parameter> shows transparency information. This is determined
@ -181,11 +184,11 @@ via the <parameter>area</parameter>'s <link linkend="GimpColorAreaType"><type>Gi
<varlistentry><term><parameter>area</parameter>&nbsp;:</term>
<listitem><simpara> Pointer to a <link linkend="GimpColorArea"><type>GimpColorArea</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>area</parameter> shows transparency information, <literal>FALSE</literal> otherwise.
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>area</parameter> shows transparency information, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-area-set-type"/>gimp_color_area_set_type ()</title>
<title><anchor id="gimp-color-area-set-type" role="function"/>gimp_color_area_set_type ()</title>
<indexterm><primary>gimp_color_area_set_type</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_area_set_type (<link linkend="GimpColorArea">GimpColorArea</link> *area,
<link linkend="GimpColorAreaType">GimpColorAreaType</link> type);</programlisting>
<para>
@ -203,7 +206,7 @@ the checkerboard used to do that.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-area-set-draw-border"/>gimp_color_area_set_draw_border ()</title>
<title><anchor id="gimp-color-area-set-draw-border" role="function"/>gimp_color_area_set_draw_border ()</title>
<indexterm><primary>gimp_color_area_set_draw_border</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_area_set_draw_border (<link linkend="GimpColorArea">GimpColorArea</link> *area,
<link linkend="gboolean">gboolean</link> draw_border);</programlisting>
<para>
@ -222,10 +225,10 @@ off. The default is not draw a border.</para>
</variablelist></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpColorArea--color"/>The &quot;<literal>color</literal>&quot; property</title>
<programlisting> &quot;color&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write / Construct</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpColorArea:color</primary></indexterm><programlisting> &quot;color&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write / Construct</programlisting>
<para>
The color displayed in the color area.</para>
<para>
@ -234,10 +237,10 @@ The color displayed in the color area.</para>
</para>
</refsect2>
<refsect2><title><anchor id="GimpColorArea--drag-mask"/>The &quot;<literal>drag-mask</literal>&quot; property</title>
<programlisting> &quot;drag-mask&quot; <link linkend="GdkModifierType">GdkModifierType</link> : Write / Construct Only</programlisting>
<indexterm><primary>GimpColorArea:drag-mask</primary></indexterm><programlisting> &quot;drag-mask&quot; <link linkend="GdkModifierType">GdkModifierType</link> : Write / Construct Only</programlisting>
<para></para></refsect2>
<refsect2><title><anchor id="GimpColorArea--draw-border"/>The &quot;<literal>draw-border</literal>&quot; property</title>
<programlisting> &quot;draw-border&quot; <link linkend="gboolean">gboolean</link> : Read / Write</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpColorArea:draw-border</primary></indexterm><programlisting> &quot;draw-border&quot; <link linkend="gboolean">gboolean</link> : Read / Write</programlisting>
<para>
Whether to draw a thin border in the foreground color around the area.</para>
<para>
@ -247,7 +250,7 @@ Whether to draw a thin border in the foreground color around the area.</para>
</para>
</refsect2>
<refsect2><title><anchor id="GimpColorArea--type"/>The &quot;<literal>type</literal>&quot; property</title>
<programlisting> &quot;type&quot; <link linkend="GimpColorAreaType">GimpColorAreaType</link> : Read / Write / Construct</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpColorArea:type</primary></indexterm><programlisting> &quot;type&quot; <link linkend="GimpColorAreaType">GimpColorAreaType</link> : Read / Write / Construct</programlisting>
<para>
The type of the color area.</para>
<para>
@ -259,11 +262,11 @@ The type of the color area.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpColorArea-color-changed"/>The &quot;color-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorArea">GimpColorArea</link> *gimpcolorarea,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorArea::color-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorArea">GimpColorArea</link> *gimpcolorarea,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorButton">
<refmeta>
<refentrytitle>GimpColorButton</refentrytitle>
<refentrytitle id="top_of_page">GimpColorButton</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorButton</refname><refpurpose>Widget for selecting a color from a simple button.</refpurpose>
<refname>GimpColorButton</refname>
<refpurpose>Widget for selecting a color from a simple button.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -39,8 +42,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -58,8 +61,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorButton implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -67,8 +70,8 @@ GimpColorButton implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpColorButton--color">color</link>&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write / Construct
@ -78,19 +81,19 @@ GimpColorButton implements
</synopsis>
</refsect1>
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpColorButton-color-changed">color-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpColorButton">GimpColorButton</link> *gimpcolorbutton,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
This widget provides a simple button with a preview showing the
color.
@ -103,16 +106,16 @@ color, the "color_changed" signal is emitted.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorButton-struct"/>GimpColorButton</title>
<title><anchor id="GimpColorButton-struct" role="struct"/>GimpColorButton</title>
<indexterm><primary>GimpColorButton</primary></indexterm><programlisting>typedef struct _GimpColorButton GimpColorButton;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-button-new"/>gimp_color_button_new ()</title>
<title><anchor id="gimp-color-button-new" role="function"/>gimp_color_button_new ()</title>
<indexterm><primary>gimp_color_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_color_button_new (const <link linkend="gchar">gchar</link> *title,
<link linkend="gint">gint</link> width,
<link linkend="gint">gint</link> height,
@ -149,7 +152,7 @@ signal is emitted.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-button-set-color"/>gimp_color_button_set_color ()</title>
<title><anchor id="gimp-color-button-set-color" role="function"/>gimp_color_button_set_color ()</title>
<indexterm><primary>gimp_color_button_set_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_button_set_color (<link linkend="GimpColorButton">GimpColorButton</link> *button,
const <link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
<para>
@ -165,7 +168,7 @@ Sets the <parameter>button</parameter> to the given <parameter>color</parameter>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-button-get-color"/>gimp_color_button_get_color ()</title>
<title><anchor id="gimp-color-button-get-color" role="function"/>gimp_color_button_get_color ()</title>
<indexterm><primary>gimp_color_button_get_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_button_get_color (<link linkend="GimpColorButton">GimpColorButton</link> *button,
<link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
<para>
@ -181,7 +184,7 @@ Retrieves the currently set color from the <parameter>button</parameter>.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-button-set-update"/>gimp_color_button_set_update ()</title>
<title><anchor id="gimp-color-button-set-update" role="function"/>gimp_color_button_set_update ()</title>
<indexterm><primary>gimp_color_button_set_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_button_set_update (<link linkend="GimpColorButton">GimpColorButton</link> *button,
<link linkend="gboolean">gboolean</link> continuous);</programlisting>
<para>
@ -199,7 +202,7 @@ dialog.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-button-get-update"/>gimp_color_button_get_update ()</title>
<title><anchor id="gimp-color-button-get-update" role="function"/>gimp_color_button_get_update ()</title>
<indexterm><primary>gimp_color_button_get_update</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_color_button_get_update (<link linkend="GimpColorButton">GimpColorButton</link> *button);</programlisting>
<para>
Returns the color button's <parameter>continuous_update</parameter> property.</para>
@ -213,7 +216,7 @@ Returns the color button's <parameter>continuous_update</parameter> property.</p
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-button-has-alpha"/>gimp_color_button_has_alpha ()</title>
<title><anchor id="gimp-color-button-has-alpha" role="function"/>gimp_color_button_has_alpha ()</title>
<indexterm><primary>gimp_color_button_has_alpha</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_color_button_has_alpha (<link linkend="GimpColorButton">GimpColorButton</link> *button);</programlisting>
<para>
Checks whether the <parameter>buttons</parameter> shows transparency information.</para>
@ -223,12 +226,12 @@ Checks whether the <parameter>buttons</parameter> shows transparency information
<varlistentry><term><parameter>button</parameter>&nbsp;:</term>
<listitem><simpara> Pointer to a <link linkend="GimpColorButton"><type>GimpColorButton</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the <parameter>button</parameter> shows transparency information, <literal>FALSE</literal>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <parameter>button</parameter> shows transparency information, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>
otherwise.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-button-set-type"/>gimp_color_button_set_type ()</title>
<title><anchor id="gimp-color-button-set-type" role="function"/>gimp_color_button_set_type ()</title>
<indexterm><primary>gimp_color_button_set_type</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_button_set_type (<link linkend="GimpColorButton">GimpColorButton</link> *button,
<link linkend="GimpColorAreaType">GimpColorAreaType</link> type);</programlisting>
<para>
@ -245,10 +248,10 @@ Sets the <parameter>button</parameter> to the given <parameter>type</parameter>.
</variablelist></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpColorButton--color"/>The &quot;<literal>color</literal>&quot; property</title>
<programlisting> &quot;color&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write / Construct</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpColorButton:color</primary></indexterm><programlisting> &quot;color&quot; <link linkend="GimpRGB">GimpRGB</link> : Read / Write / Construct</programlisting>
<para>
The color displayed in the button's color area.</para>
<para>
@ -257,7 +260,7 @@ The color displayed in the button's color area.</para>
</para>
</refsect2>
<refsect2><title><anchor id="GimpColorButton--continuous-update"/>The &quot;<literal>continuous-update</literal>&quot; property</title>
<programlisting> &quot;continuous-update&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpColorButton:continuous-update</primary></indexterm><programlisting> &quot;continuous-update&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
<para>
The update policy of the color button.</para>
<para>
@ -267,7 +270,7 @@ The update policy of the color button.</para>
</para>
</refsect2>
<refsect2><title><anchor id="GimpColorButton--title"/>The &quot;<literal>title</literal>&quot; property</title>
<programlisting> &quot;title&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct Only</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpColorButton:title</primary></indexterm><programlisting> &quot;title&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct Only</programlisting>
<para>
The title to be used for the color selection dialog.</para>
<para>
@ -277,7 +280,7 @@ The title to be used for the color selection dialog.</para>
</para>
</refsect2>
<refsect2><title><anchor id="GimpColorButton--type"/>The &quot;<literal>type</literal>&quot; property</title>
<programlisting> &quot;type&quot; <link linkend="GimpColorAreaType">GimpColorAreaType</link> : Read / Write / Construct</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpColorButton:type</primary></indexterm><programlisting> &quot;type&quot; <link linkend="GimpColorAreaType">GimpColorAreaType</link> : Read / Write / Construct</programlisting>
<para>
The type of the button's color area.</para>
<para>
@ -289,11 +292,11 @@ The type of the button's color area.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpColorButton-color-changed"/>The &quot;color-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorButton">GimpColorButton</link> *gimpcolorbutton,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorButton::color-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorButton">GimpColorButton</link> *gimpcolorbutton,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorDisplay">
<refmeta>
<refentrytitle>GimpColorDisplay</refentrytitle>
<refentrytitle id="top_of_page">GimpColorDisplay</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorDisplay</refname><refpurpose>Pluggable GIMP display color correction modules.</refpurpose>
<refname>GimpColorDisplay</refname>
<refpurpose>Pluggable GIMP display color correction modules.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -42,8 +45,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -54,8 +57,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorDisplay implements
<link linkend="GimpConfigInterface">GimpConfigInterface</link>.</para>
@ -63,42 +66,42 @@ GimpColorDisplay implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpColorDisplay--enabled">enabled</link>&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct
</synopsis>
</refsect1>
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpColorDisplay-changed">changed</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *gimpcolordisplay,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
Functions and definitions for creating pluggable GIMP
display color correction modules.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorDisplay-struct"/>GimpColorDisplay</title>
<title><anchor id="GimpColorDisplay-struct" role="struct"/>GimpColorDisplay</title>
<indexterm><primary>GimpColorDisplay</primary></indexterm><programlisting>typedef struct _GimpColorDisplay GimpColorDisplay;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-new"/>gimp_color_display_new ()</title>
<title><anchor id="gimp-color-display-new" role="function"/>gimp_color_display_new ()</title>
<indexterm><primary>gimp_color_display_new</primary></indexterm><programlisting><link linkend="GimpColorDisplay">GimpColorDisplay</link>* gimp_color_display_new (<link linkend="GType">GType</link> display_type);</programlisting>
<para>
@ -112,7 +115,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-clone"/>gimp_color_display_clone ()</title>
<title><anchor id="gimp-color-display-clone" role="function"/>gimp_color_display_clone ()</title>
<indexterm><primary>gimp_color_display_clone</primary></indexterm><programlisting><link linkend="GimpColorDisplay">GimpColorDisplay</link>* gimp_color_display_clone (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
<para>
@ -126,7 +129,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-set-enabled"/>gimp_color_display_set_enabled ()</title>
<title><anchor id="gimp-color-display-set-enabled" role="function"/>gimp_color_display_set_enabled ()</title>
<indexterm><primary>gimp_color_display_set_enabled</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_set_enabled (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display,
<link linkend="gboolean">gboolean</link> enabled);</programlisting>
<para>
@ -142,7 +145,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-get-enabled"/>gimp_color_display_get_enabled ()</title>
<title><anchor id="gimp-color-display-get-enabled" role="function"/>gimp_color_display_get_enabled ()</title>
<indexterm><primary>gimp_color_display_get_enabled</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_color_display_get_enabled (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
<para>
@ -156,7 +159,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-convert"/>gimp_color_display_convert ()</title>
<title><anchor id="gimp-color-display-convert" role="function"/>gimp_color_display_convert ()</title>
<indexterm><primary>gimp_color_display_convert</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_convert (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display,
<link linkend="guchar">guchar</link> *buf,
<link linkend="gint">gint</link> width,
@ -188,7 +191,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-load-state"/>gimp_color_display_load_state ()</title>
<title><anchor id="gimp-color-display-load-state" role="function"/>gimp_color_display_load_state ()</title>
<indexterm><primary>gimp_color_display_load_state</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_load_state (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display,
<link linkend="GimpParasite">GimpParasite</link> *state);</programlisting>
<para>
@ -204,7 +207,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-save-state"/>gimp_color_display_save_state ()</title>
<title><anchor id="gimp-color-display-save-state" role="function"/>gimp_color_display_save_state ()</title>
<indexterm><primary>gimp_color_display_save_state</primary></indexterm><programlisting><link linkend="GimpParasite">GimpParasite</link>* gimp_color_display_save_state (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
<para>
@ -218,7 +221,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-configure"/>gimp_color_display_configure ()</title>
<title><anchor id="gimp-color-display-configure" role="function"/>gimp_color_display_configure ()</title>
<indexterm><primary>gimp_color_display_configure</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_color_display_configure (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
<para>
@ -232,7 +235,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-configure-reset"/>gimp_color_display_configure_reset ()</title>
<title><anchor id="gimp-color-display-configure-reset" role="function"/>gimp_color_display_configure_reset ()</title>
<indexterm><primary>gimp_color_display_configure_reset</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_configure_reset
(<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
<para>
@ -245,7 +248,7 @@ display color correction modules.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-changed"/>gimp_color_display_changed ()</title>
<title><anchor id="gimp-color-display-changed" role="function"/>gimp_color_display_changed ()</title>
<indexterm><primary>gimp_color_display_changed</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_changed (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
<para>
@ -258,20 +261,20 @@ display color correction modules.
</variablelist></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpColorDisplay--enabled"/>The &quot;<literal>enabled</literal>&quot; property</title>
<programlisting> &quot;enabled&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
<indexterm><primary>GimpColorDisplay:enabled</primary></indexterm><programlisting> &quot;enabled&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
<para></para><para>Default value: TRUE</para>
</refsect2>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpColorDisplay-changed"/>The &quot;changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *gimpcolordisplay,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorDisplay::changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplay">GimpColorDisplay</link> *gimpcolordisplay,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorDisplayStack">
<refmeta>
<refentrytitle>GimpColorDisplayStack</refentrytitle>
<refentrytitle id="top_of_page">GimpColorDisplayStack</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorDisplayStack</refname><refpurpose></refpurpose>
<refname>GimpColorDisplayStack</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -47,8 +50,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -62,44 +65,44 @@
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpColorDisplayStack-added">added</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run first
&quot;<link linkend="GimpColorDisplayStack-changed">changed</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
&quot;<link linkend="GimpColorDisplayStack-removed">removed</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run first
&quot;<link linkend="GimpColorDisplayStack-reordered">reordered</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorDisplayStack-struct"/>GimpColorDisplayStack</title>
<title><anchor id="GimpColorDisplayStack-struct" role="struct"/>GimpColorDisplayStack</title>
<indexterm><primary>GimpColorDisplayStack</primary></indexterm><programlisting>typedef struct _GimpColorDisplayStack GimpColorDisplayStack;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-stack-new"/>gimp_color_display_stack_new ()</title>
<title><anchor id="gimp-color-display-stack-new" role="function"/>gimp_color_display_stack_new ()</title>
<indexterm><primary>gimp_color_display_stack_new</primary></indexterm><programlisting><link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link>* gimp_color_display_stack_new
(void);</programlisting>
<para>
@ -111,7 +114,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-stack-clone"/>gimp_color_display_stack_clone ()</title>
<title><anchor id="gimp-color-display-stack-clone" role="function"/>gimp_color_display_stack_clone ()</title>
<indexterm><primary>gimp_color_display_stack_clone</primary></indexterm><programlisting><link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link>* gimp_color_display_stack_clone
(<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *stack);</programlisting>
<para>
@ -126,7 +129,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-stack-changed"/>gimp_color_display_stack_changed ()</title>
<title><anchor id="gimp-color-display-stack-changed" role="function"/>gimp_color_display_stack_changed ()</title>
<indexterm><primary>gimp_color_display_stack_changed</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_stack_changed
(<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *stack);</programlisting>
<para>
@ -139,7 +142,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-stack-add"/>gimp_color_display_stack_add ()</title>
<title><anchor id="gimp-color-display-stack-add" role="function"/>gimp_color_display_stack_add ()</title>
<indexterm><primary>gimp_color_display_stack_add</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_stack_add (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *stack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
<para>
@ -155,7 +158,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-stack-remove"/>gimp_color_display_stack_remove ()</title>
<title><anchor id="gimp-color-display-stack-remove" role="function"/>gimp_color_display_stack_remove ()</title>
<indexterm><primary>gimp_color_display_stack_remove</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_stack_remove (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *stack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
<para>
@ -171,7 +174,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-stack-reorder-up"/>gimp_color_display_stack_reorder_up ()</title>
<title><anchor id="gimp-color-display-stack-reorder-up" role="function"/>gimp_color_display_stack_reorder_up ()</title>
<indexterm><primary>gimp_color_display_stack_reorder_up</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_stack_reorder_up
(<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *stack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
@ -188,7 +191,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-stack-reorder-down"/>gimp_color_display_stack_reorder_down ()</title>
<title><anchor id="gimp-color-display-stack-reorder-down" role="function"/>gimp_color_display_stack_reorder_down ()</title>
<indexterm><primary>gimp_color_display_stack_reorder_down</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_stack_reorder_down
(<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *stack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *display);</programlisting>
@ -205,7 +208,7 @@
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-display-stack-convert"/>gimp_color_display_stack_convert ()</title>
<title><anchor id="gimp-color-display-stack-convert" role="function"/>gimp_color_display_stack_convert ()</title>
<indexterm><primary>gimp_color_display_stack_convert</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_display_stack_convert
(<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *stack,
<link linkend="guchar">guchar</link> *buf,
@ -240,13 +243,13 @@
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpColorDisplayStack-added"/>The &quot;added&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorDisplayStack::added</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">
@ -263,8 +266,8 @@
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2><title><anchor id="GimpColorDisplayStack-changed"/>The &quot;changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorDisplayStack::changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">
@ -275,9 +278,9 @@
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2><title><anchor id="GimpColorDisplayStack-removed"/>The &quot;removed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorDisplayStack::removed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">
@ -291,10 +294,10 @@
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2><title><anchor id="GimpColorDisplayStack-reordered"/>The &quot;reordered&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorDisplayStack::reordered</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorDisplayStack">GimpColorDisplayStack</link> *gimpcolordisplaystack,
<link linkend="GimpColorDisplay">GimpColorDisplay</link> *arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorHexEntry">
<refmeta>
<refentrytitle>GimpColorHexEntry</refentrytitle>
<refentrytitle id="top_of_page">GimpColorHexEntry</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorHexEntry</refname><refpurpose>Widget for entering a color's hex triplet.</refpurpose>
<refname>GimpColorHexEntry</refname>
<refpurpose>Widget for entering a color's hex triplet.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -29,8 +32,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -45,8 +48,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorHexEntry implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>, <link linkend="GtkEditable">GtkEditable</link> and <link linkend="GtkCellEditable">GtkCellEditable</link>.</para>
@ -55,34 +58,34 @@ GimpColorHexEntry implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpColorHexEntry-color-changed">color-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpColorHexEntry">GimpColorHexEntry</link> *gimpcolorhexentry,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
Widget for entering a color's hex triplet.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorHexEntry-struct"/>GimpColorHexEntry</title>
<title><anchor id="GimpColorHexEntry-struct" role="struct"/>GimpColorHexEntry</title>
<indexterm><primary>GimpColorHexEntry</primary></indexterm><programlisting>typedef struct _GimpColorHexEntry GimpColorHexEntry;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-hex-entry-new"/>gimp_color_hex_entry_new ()</title>
<title><anchor id="gimp-color-hex-entry-new" role="function" condition="since:GIMP 2.2"/>gimp_color_hex_entry_new ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_color_hex_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_color_hex_entry_new (void);</programlisting>
<para>
</para>
@ -95,7 +98,7 @@ Widget for entering a color's hex triplet.
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-hex-entry-set-color"/>gimp_color_hex_entry_set_color ()</title>
<title><anchor id="gimp-color-hex-entry-set-color" role="function" condition="since:GIMP 2.2"/>gimp_color_hex_entry_set_color ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_color_hex_entry_set_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_hex_entry_set_color (<link linkend="GimpColorHexEntry">GimpColorHexEntry</link> *entry,
const <link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
<para>
@ -114,7 +117,7 @@ signal is emitted.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-hex-entry-get-color"/>gimp_color_hex_entry_get_color ()</title>
<title><anchor id="gimp-color-hex-entry-get-color" role="function" condition="since:GIMP 2.2"/>gimp_color_hex_entry_get_color ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_color_hex_entry_get_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_hex_entry_get_color (<link linkend="GimpColorHexEntry">GimpColorHexEntry</link> *entry,
<link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
<para>
@ -133,11 +136,11 @@ Retrieves the color value displayed by a <link linkend="GimpColorHexEntry"><type
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpColorHexEntry-color-changed"/>The &quot;color-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorHexEntry">GimpColorHexEntry</link> *gimpcolorhexentry,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorHexEntry::color-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorHexEntry">GimpColorHexEntry</link> *gimpcolorhexentry,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorNotebook">
<refmeta>
<refentrytitle>GimpColorNotebook</refentrytitle>
<refentrytitle id="top_of_page">GimpColorNotebook</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorNotebook</refname><refpurpose>A <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link> implementation.</refpurpose>
<refname>GimpColorNotebook</refname>
<refpurpose>A <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link> implementation.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -28,8 +31,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -47,8 +50,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorNotebook implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -56,8 +59,8 @@ GimpColorNotebook implements
</refsect1>
<refsect1>
<title>Style Properties</title>
<refsect1 id="style_properties">
<title id="style_properties.title">Style Properties</title>
<synopsis>
&quot;<link linkend="GimpColorNotebook--tab-border">tab-border</link>&quot; <link linkend="gint">gint</link> : Read
@ -67,24 +70,24 @@ GimpColorNotebook implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
The <link linkend="GimpColorNotebook"><type>GimpColorNotebook</type></link> widget is an implementation of a <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link>.
It serves as a container for <link linkend="GimpColorSelectors"><type>GimpColorSelectors</type></link>.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorNotebook-struct"/>GimpColorNotebook</title>
<title><anchor id="GimpColorNotebook-struct" role="struct"/>GimpColorNotebook</title>
<indexterm><primary>GimpColorNotebook</primary></indexterm><programlisting>typedef struct _GimpColorNotebook GimpColorNotebook;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-notebook-set-has-page"/>gimp_color_notebook_set_has_page ()</title>
<title><anchor id="gimp-color-notebook-set-has-page" role="function"/>gimp_color_notebook_set_has_page ()</title>
<indexterm><primary>gimp_color_notebook_set_has_page</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_color_notebook_set_has_page
(<link linkend="GimpColorNotebook">GimpColorNotebook</link> *notebook,
<link linkend="GType">GType</link> page_type,
@ -110,15 +113,15 @@ The <parameter>page_type</parameter> passed must be a <link linkend="GimpColorSe
</variablelist></refsect2>
</refsect1>
<refsect1>
<title>Style Properties</title>
<refsect1 id="style_properties_details">
<title id="style_properties_details.title">Style Property Details</title>
<refsect2><title><anchor id="GimpColorNotebook--tab-border"/>The &quot;<literal>tab-border</literal>&quot; style property</title>
<programlisting> &quot;tab-border&quot; <link linkend="gint">gint</link> : Read</programlisting>
<indexterm><primary>GimpColorNotebook:tab-border</primary></indexterm><programlisting> &quot;tab-border&quot; <link linkend="gint">gint</link> : Read</programlisting>
<para>Width of the border around the tab contents.</para><para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2><title><anchor id="GimpColorNotebook--tab-icon-size"/>The &quot;<literal>tab-icon-size</literal>&quot; style property</title>
<programlisting> &quot;tab-icon-size&quot; <link linkend="GtkIconSize">GtkIconSize</link> : Read</programlisting>
<indexterm><primary>GimpColorNotebook:tab-icon-size</primary></indexterm><programlisting> &quot;tab-icon-size&quot; <link linkend="GtkIconSize">GtkIconSize</link> : Read</programlisting>
<para>Size for icons displayed in the tab.</para><para>Default value: GTK_ICON_SIZE_BUTTON</para>
</refsect2>

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorScale">
<refmeta>
<refentrytitle>GimpColorScale</refentrytitle>
<refentrytitle id="top_of_page">GimpColorScale</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorScale</refname><refpurpose>Fancy colored sliders.</refpurpose>
<refname>GimpColorScale</refname>
<refpurpose>Fancy colored sliders.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -31,8 +34,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -48,8 +51,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorScale implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -60,23 +63,23 @@ GimpColorScale implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorScale-struct"/>GimpColorScale</title>
<title><anchor id="GimpColorScale-struct" role="struct"/>GimpColorScale</title>
<indexterm><primary>GimpColorScale</primary></indexterm><programlisting>typedef struct _GimpColorScale GimpColorScale;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-scale-new"/>gimp_color_scale_new ()</title>
<title><anchor id="gimp-color-scale-new" role="function"/>gimp_color_scale_new ()</title>
<indexterm><primary>gimp_color_scale_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_color_scale_new (<link linkend="GtkOrientation">GtkOrientation</link> orientation,
<link linkend="GimpColorSelectorChannel">GimpColorSelectorChannel</link> channel);</programlisting>
<para>
@ -94,7 +97,7 @@ Creates a new <link linkend="GimpColorScale"><type>GimpColorScale</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-scale-set-channel"/>gimp_color_scale_set_channel ()</title>
<title><anchor id="gimp-color-scale-set-channel" role="function"/>gimp_color_scale_set_channel ()</title>
<indexterm><primary>gimp_color_scale_set_channel</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_scale_set_channel (<link linkend="GimpColorScale">GimpColorScale</link> *scale,
<link linkend="GimpColorSelectorChannel">GimpColorSelectorChannel</link> channel);</programlisting>
<para>
@ -110,7 +113,7 @@ Changes the color channel displayed by the <parameter>scale</parameter>.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-scale-set-color"/>gimp_color_scale_set_color ()</title>
<title><anchor id="gimp-color-scale-set-color" role="function"/>gimp_color_scale_set_color ()</title>
<indexterm><primary>gimp_color_scale_set_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_scale_set_color (<link linkend="GimpColorScale">GimpColorScale</link> *scale,
const <link linkend="GimpRGB">GimpRGB</link> *rgb,
const <link linkend="GimpHSV">GimpHSV</link> *hsv);</programlisting>

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorScales">
<refmeta>
<refentrytitle>GimpColorScales</refentrytitle>
<refentrytitle id="top_of_page">GimpColorScales</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorScales</refname><refpurpose>A <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link> implementation.</refpurpose>
<refname>GimpColorScales</refname>
<refpurpose>A <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link> implementation.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -24,8 +27,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -43,8 +46,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorScales implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -55,8 +58,8 @@ GimpColorScales implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
The <link linkend="GimpColorScales"><type>GimpColorScales</type></link> widget is an implementation of a <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link>.
It shows a group of <link linkend="GimpColorScale"><type>GimpColorScale</type></link> widgets that allow to adjust the
@ -64,10 +67,10 @@ HSV and RGB color channels.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorScales-struct"/>GimpColorScales</title>
<title><anchor id="GimpColorScales-struct" role="struct"/>GimpColorScales</title>
<indexterm><primary>GimpColorScales</primary></indexterm><programlisting>typedef struct _GimpColorScales GimpColorScales;</programlisting>
<para>

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorSelect">
<refmeta>
<refentrytitle>GimpColorSelect</refentrytitle>
<refentrytitle id="top_of_page">GimpColorSelect</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorSelect</refname><refpurpose>A <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link> implementation.</refpurpose>
<refname>GimpColorSelect</refname>
<refpurpose>A <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link> implementation.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -24,8 +27,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -43,8 +46,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorSelect implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -55,8 +58,8 @@ GimpColorSelect implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
The <link linkend="GimpColorSelect"><type>GimpColorSelect</type></link> widget is an implementation of a <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link>.
It shows a square area that allows to interactively change two color channels
@ -66,10 +69,10 @@ will then change the other two channels accordingly.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorSelect-struct"/>GimpColorSelect</title>
<title><anchor id="GimpColorSelect-struct" role="struct"/>GimpColorSelect</title>
<indexterm><primary>GimpColorSelect</primary></indexterm><programlisting>typedef struct _GimpColorSelect GimpColorSelect;</programlisting>
<para>

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorSelection">
<refmeta>
<refentrytitle>GimpColorSelection</refentrytitle>
<refentrytitle id="top_of_page">GimpColorSelection</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorSelection</refname><refpurpose>Widget for doing a color selection.</refpurpose>
<refname>GimpColorSelection</refname>
<refpurpose>Widget for doing a color selection.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -43,8 +46,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -61,8 +64,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorSelection implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -71,34 +74,34 @@ GimpColorSelection implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpColorSelection-color-changed">color-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpColorSelection">GimpColorSelection</link> *gimpcolorselection,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorSelection-struct"/>GimpColorSelection</title>
<title><anchor id="GimpColorSelection-struct" role="struct"/>GimpColorSelection</title>
<indexterm><primary>GimpColorSelection</primary></indexterm><programlisting>typedef struct _GimpColorSelection GimpColorSelection;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-new"/>gimp_color_selection_new ()</title>
<title><anchor id="gimp-color-selection-new" role="function"/>gimp_color_selection_new ()</title>
<indexterm><primary>gimp_color_selection_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_color_selection_new (void);</programlisting>
<para>
Creates a new <link linkend="GimpColorSelection"><type>GimpColorSelection</type></link> widget.</para>
@ -109,7 +112,7 @@ Creates a new <link linkend="GimpColorSelection"><type>GimpColorSelection</type>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-set-show-alpha"/>gimp_color_selection_set_show_alpha ()</title>
<title><anchor id="gimp-color-selection-set-show-alpha" role="function"/>gimp_color_selection_set_show_alpha ()</title>
<indexterm><primary>gimp_color_selection_set_show_alpha</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selection_set_show_alpha
(<link linkend="GimpColorSelection">GimpColorSelection</link> *selection,
<link linkend="gboolean">gboolean</link> show_alpha);</programlisting>
@ -126,7 +129,7 @@ Sets the <parameter>show_alpha</parameter> property of the <parameter>selection<
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-get-show-alpha"/>gimp_color_selection_get_show_alpha ()</title>
<title><anchor id="gimp-color-selection-get-show-alpha" role="function"/>gimp_color_selection_get_show_alpha ()</title>
<indexterm><primary>gimp_color_selection_get_show_alpha</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_color_selection_get_show_alpha
(<link linkend="GimpColorSelection">GimpColorSelection</link> *selection);</programlisting>
<para>
@ -141,7 +144,7 @@ Returns the <parameter>selection</parameter>'s <parameter>show_alpha</parameter>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-set-color"/>gimp_color_selection_set_color ()</title>
<title><anchor id="gimp-color-selection-set-color" role="function"/>gimp_color_selection_set_color ()</title>
<indexterm><primary>gimp_color_selection_set_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selection_set_color (<link linkend="GimpColorSelection">GimpColorSelection</link> *selection,
const <link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
<para>
@ -157,7 +160,7 @@ Sets the <link linkend="GimpColorSelection"><type>GimpColorSelection</type></lin
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-get-color"/>gimp_color_selection_get_color ()</title>
<title><anchor id="gimp-color-selection-get-color" role="function"/>gimp_color_selection_get_color ()</title>
<indexterm><primary>gimp_color_selection_get_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selection_get_color (<link linkend="GimpColorSelection">GimpColorSelection</link> *selection,
<link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
<para>
@ -173,7 +176,7 @@ This function returns the <link linkend="GimpColorSelection"><type>GimpColorSele
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-set-old-color"/>gimp_color_selection_set_old_color ()</title>
<title><anchor id="gimp-color-selection-set-old-color" role="function"/>gimp_color_selection_set_old_color ()</title>
<indexterm><primary>gimp_color_selection_set_old_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selection_set_old_color
(<link linkend="GimpColorSelection">GimpColorSelection</link> *selection,
const <link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
@ -190,7 +193,7 @@ Sets the <link linkend="GimpColorSelection"><type>GimpColorSelection</type></lin
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-get-old-color"/>gimp_color_selection_get_old_color ()</title>
<title><anchor id="gimp-color-selection-get-old-color" role="function"/>gimp_color_selection_get_old_color ()</title>
<indexterm><primary>gimp_color_selection_get_old_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selection_get_old_color
(<link linkend="GimpColorSelection">GimpColorSelection</link> *selection,
<link linkend="GimpRGB">GimpRGB</link> *color);</programlisting>
@ -207,7 +210,7 @@ This function returns the <link linkend="GimpColorSelection"><type>GimpColorSele
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-reset"/>gimp_color_selection_reset ()</title>
<title><anchor id="gimp-color-selection-reset" role="function"/>gimp_color_selection_reset ()</title>
<indexterm><primary>gimp_color_selection_reset</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selection_reset (<link linkend="GimpColorSelection">GimpColorSelection</link> *selection);</programlisting>
<para>
Sets the <link linkend="GimpColorSelection"><type>GimpColorSelection</type></link>'s current color to its old color.</para>
@ -219,7 +222,7 @@ Sets the <link linkend="GimpColorSelection"><type>GimpColorSelection</type></lin
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selection-color-changed"/>gimp_color_selection_color_changed ()</title>
<title><anchor id="gimp-color-selection-color-changed" role="function"/>gimp_color_selection_color_changed ()</title>
<indexterm><primary>gimp_color_selection_color_changed</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selection_color_changed
(<link linkend="GimpColorSelection">GimpColorSelection</link> *selection);</programlisting>
<para>
@ -234,11 +237,11 @@ Emits the "color-changed" signal.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpColorSelection-color-changed"/>The &quot;color-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorSelection">GimpColorSelection</link> *gimpcolorselection,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorSelection::color-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorSelection">GimpColorSelection</link> *gimpcolorselection,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpColorSelector">
<refmeta>
<refentrytitle>GimpColorSelector</refentrytitle>
<refentrytitle id="top_of_page">GimpColorSelector</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpColorSelector</refname><refpurpose>Pluggable GIMP color selector modules.</refpurpose>
<refname>GimpColorSelector</refname>
<refpurpose>Pluggable GIMP color selector modules.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -49,8 +52,8 @@ enum <link linkend="GimpColorSelectorChannel">GimpColorSelectorChannel</l
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -70,8 +73,8 @@ enum <link linkend="GimpColorSelectorChannel">GimpColorSelectorChannel</l
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpColorSelector implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -80,55 +83,55 @@ GimpColorSelector implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpColorSelector-channel-changed">channel-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpColorSelector">GimpColorSelector</link> *gimpcolorselector,
<link linkend="gint">gint</link> arg1,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gint">gint</link> arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run first
&quot;<link linkend="GimpColorSelector-color-changed">color-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpColorSelector">GimpColorSelector</link> *gimpcolorselector,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
Functions and definitions for creating pluggable GIMP color
selector modules.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpColorSelector-struct"/>GimpColorSelector</title>
<title><anchor id="GimpColorSelector-struct" role="struct"/>GimpColorSelector</title>
<indexterm><primary>GimpColorSelector</primary></indexterm><programlisting>typedef struct _GimpColorSelector GimpColorSelector;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GIMP-COLOR-SELECTOR-SIZE:CAPS"/>GIMP_COLOR_SELECTOR_SIZE</title>
<title><anchor id="GIMP-COLOR-SELECTOR-SIZE:CAPS" role="macro"/>GIMP_COLOR_SELECTOR_SIZE</title>
<indexterm><primary>GIMP_COLOR_SELECTOR_SIZE</primary></indexterm><programlisting>#define GIMP_COLOR_SELECTOR_SIZE 150
</programlisting>
<para>
The suggested size for a color area in a <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link> implementation.
</para></refsect2>
<refsect2>
<title><anchor id="GIMP-COLOR-SELECTOR-BAR-SIZE:CAPS"/>GIMP_COLOR_SELECTOR_BAR_SIZE</title>
<title><anchor id="GIMP-COLOR-SELECTOR-BAR-SIZE:CAPS" role="macro"/>GIMP_COLOR_SELECTOR_BAR_SIZE</title>
<indexterm><primary>GIMP_COLOR_SELECTOR_BAR_SIZE</primary></indexterm><programlisting>#define GIMP_COLOR_SELECTOR_BAR_SIZE 15
</programlisting>
<para>
The suggested width for a color bar in a <link linkend="GimpColorSelector"><type>GimpColorSelector</type></link> implementation.
</para></refsect2>
<refsect2>
<title><anchor id="GimpColorSelectorChannel"/>enum GimpColorSelectorChannel</title>
<title><anchor id="GimpColorSelectorChannel" role="enum"/>enum GimpColorSelectorChannel</title>
<indexterm><primary>GimpColorSelectorChannel</primary></indexterm><programlisting>typedef enum
{
GIMP_COLOR_SELECTOR_HUE, /*&lt; desc="_H", help="Hue" &gt;*/
@ -144,44 +147,44 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</para><variablelist role="enum">
<varlistentry>
<term><literal>GIMP_COLOR_SELECTOR_HUE</literal></term>
<term><anchor id="GIMP-COLOR-SELECTOR-HUE:CAPS" role="constant"/><literal>GIMP_COLOR_SELECTOR_HUE</literal></term>
<listitem><simpara>the hue channel
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>GIMP_COLOR_SELECTOR_SATURATION</literal></term>
<term><anchor id="GIMP-COLOR-SELECTOR-SATURATION:CAPS" role="constant"/><literal>GIMP_COLOR_SELECTOR_SATURATION</literal></term>
<listitem><simpara>the saturation channel
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>GIMP_COLOR_SELECTOR_VALUE</literal></term>
<term><anchor id="GIMP-COLOR-SELECTOR-VALUE:CAPS" role="constant"/><literal>GIMP_COLOR_SELECTOR_VALUE</literal></term>
<listitem><simpara>the value channel
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>GIMP_COLOR_SELECTOR_RED</literal></term>
<term><anchor id="GIMP-COLOR-SELECTOR-RED:CAPS" role="constant"/><literal>GIMP_COLOR_SELECTOR_RED</literal></term>
<listitem><simpara>the red channel
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>GIMP_COLOR_SELECTOR_GREEN</literal></term>
<term><anchor id="GIMP-COLOR-SELECTOR-GREEN:CAPS" role="constant"/><literal>GIMP_COLOR_SELECTOR_GREEN</literal></term>
<listitem><simpara>the green channel
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>GIMP_COLOR_SELECTOR_BLUE</literal></term>
<term><anchor id="GIMP-COLOR-SELECTOR-BLUE:CAPS" role="constant"/><literal>GIMP_COLOR_SELECTOR_BLUE</literal></term>
<listitem><simpara>the blue channel
</simpara></listitem>
</varlistentry>
<varlistentry>
<term><literal>GIMP_COLOR_SELECTOR_ALPHA</literal></term>
<term><anchor id="GIMP-COLOR-SELECTOR-ALPHA:CAPS" role="constant"/><literal>GIMP_COLOR_SELECTOR_ALPHA</literal></term>
<listitem><simpara>the alpha channel
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selector-new"/>gimp_color_selector_new ()</title>
<title><anchor id="gimp-color-selector-new" role="function"/>gimp_color_selector_new ()</title>
<indexterm><primary>gimp_color_selector_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_color_selector_new (<link linkend="GType">GType</link> selector_type,
const <link linkend="GimpRGB">GimpRGB</link> *rgb,
const <link linkend="GimpHSV">GimpHSV</link> *hsv,
@ -207,7 +210,7 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selector-set-toggles-visible"/>gimp_color_selector_set_toggles_visible ()</title>
<title><anchor id="gimp-color-selector-set-toggles-visible" role="function"/>gimp_color_selector_set_toggles_visible ()</title>
<indexterm><primary>gimp_color_selector_set_toggles_visible</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selector_set_toggles_visible
(<link linkend="GimpColorSelector">GimpColorSelector</link> *selector,
<link linkend="gboolean">gboolean</link> visible);</programlisting>
@ -224,7 +227,7 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selector-set-toggles-sensitive"/>gimp_color_selector_set_toggles_sensitive ()</title>
<title><anchor id="gimp-color-selector-set-toggles-sensitive" role="function"/>gimp_color_selector_set_toggles_sensitive ()</title>
<indexterm><primary>gimp_color_selector_set_toggles_sensitive</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selector_set_toggles_sensitive
(<link linkend="GimpColorSelector">GimpColorSelector</link> *selector,
<link linkend="gboolean">gboolean</link> sensitive);</programlisting>
@ -241,7 +244,7 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selector-set-show-alpha"/>gimp_color_selector_set_show_alpha ()</title>
<title><anchor id="gimp-color-selector-set-show-alpha" role="function"/>gimp_color_selector_set_show_alpha ()</title>
<indexterm><primary>gimp_color_selector_set_show_alpha</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selector_set_show_alpha
(<link linkend="GimpColorSelector">GimpColorSelector</link> *selector,
<link linkend="gboolean">gboolean</link> show_alpha);</programlisting>
@ -258,7 +261,7 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selector-set-color"/>gimp_color_selector_set_color ()</title>
<title><anchor id="gimp-color-selector-set-color" role="function"/>gimp_color_selector_set_color ()</title>
<indexterm><primary>gimp_color_selector_set_color</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selector_set_color (<link linkend="GimpColorSelector">GimpColorSelector</link> *selector,
const <link linkend="GimpRGB">GimpRGB</link> *rgb,
const <link linkend="GimpHSV">GimpHSV</link> *hsv);</programlisting>
@ -278,7 +281,7 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selector-set-channel"/>gimp_color_selector_set_channel ()</title>
<title><anchor id="gimp-color-selector-set-channel" role="function"/>gimp_color_selector_set_channel ()</title>
<indexterm><primary>gimp_color_selector_set_channel</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selector_set_channel (<link linkend="GimpColorSelector">GimpColorSelector</link> *selector,
<link linkend="GimpColorSelectorChannel">GimpColorSelectorChannel</link> channel);</programlisting>
<para>
@ -294,7 +297,7 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selector-color-changed"/>gimp_color_selector_color_changed ()</title>
<title><anchor id="gimp-color-selector-color-changed" role="function"/>gimp_color_selector_color_changed ()</title>
<indexterm><primary>gimp_color_selector_color_changed</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selector_color_changed
(<link linkend="GimpColorSelector">GimpColorSelector</link> *selector);</programlisting>
<para>
@ -307,7 +310,7 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-color-selector-channel-changed"/>gimp_color_selector_channel_changed ()</title>
<title><anchor id="gimp-color-selector-channel-changed" role="function"/>gimp_color_selector_channel_changed ()</title>
<indexterm><primary>gimp_color_selector_channel_changed</primary></indexterm><programlisting><link linkend="void">void</link> gimp_color_selector_channel_changed
(<link linkend="GimpColorSelector">GimpColorSelector</link> *selector);</programlisting>
<para>
@ -322,12 +325,12 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpColorSelector-channel-changed"/>The &quot;channel-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorSelector">GimpColorSelector</link> *gimpcolorselector,
<link linkend="gint">gint</link> arg1,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorSelector::channel-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorSelector">GimpColorSelector</link> *gimpcolorselector,
<link linkend="gint">gint</link> arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">
@ -341,10 +344,10 @@ The suggested width for a color bar in a <link linkend="GimpColorSelector"><type
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2><title><anchor id="GimpColorSelector-color-changed"/>The &quot;color-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorSelector">GimpColorSelector</link> *gimpcolorselector,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpColorSelector::color-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpColorSelector">GimpColorSelector</link> *gimpcolorselector,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpController">
<refmeta>
<refentrytitle>GimpController</refentrytitle>
<refentrytitle id="top_of_page">GimpController</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpController</refname><refpurpose>Pluggable GIMP input controller modules.</refpurpose>
<refname>GimpController</refname>
<refpurpose>Pluggable GIMP input controller modules.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -38,8 +41,8 @@ const <link linkend="gchar">gchar</link>* <link linkend="gimp-controller-get-eve
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -50,8 +53,8 @@ const <link linkend="gchar">gchar</link>* <link linkend="gimp-controller-get-eve
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpController implements
<link linkend="GimpConfigInterface">GimpConfigInterface</link>.</para>
@ -59,8 +62,8 @@ GimpController implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpController--name">name</link>&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct
@ -68,28 +71,28 @@ GimpController implements
</synopsis>
</refsect1>
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpController-event">event</link>&quot; <link linkend="gboolean">gboolean</link> user_function (<link linkend="GimpController">GimpController</link> *gimpcontroller,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run last
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
An abstract interface for implementing arbitrary input controllers.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpControllerEventType"/>enum GimpControllerEventType</title>
<title><anchor id="GimpControllerEventType" role="enum"/>enum GimpControllerEventType</title>
<indexterm><primary>GimpControllerEventType</primary></indexterm><programlisting>typedef enum
{
GIMP_CONTROLLER_EVENT_TRIGGER,
@ -100,7 +103,7 @@ An abstract interface for implementing arbitrary input controllers.
</para></refsect2>
<refsect2>
<title><anchor id="GimpControllerEventAny"/>GimpControllerEventAny</title>
<title><anchor id="GimpControllerEventAny" role="struct"/>GimpControllerEventAny</title>
<indexterm><primary>GimpControllerEventAny</primary></indexterm><programlisting>typedef struct {
GimpControllerEventType type;
GimpController *source;
@ -111,7 +114,7 @@ An abstract interface for implementing arbitrary input controllers.
</para></refsect2>
<refsect2>
<title><anchor id="GimpControllerEventTrigger"/>GimpControllerEventTrigger</title>
<title><anchor id="GimpControllerEventTrigger" role="struct"/>GimpControllerEventTrigger</title>
<indexterm><primary>GimpControllerEventTrigger</primary></indexterm><programlisting>typedef struct {
GimpControllerEventType type;
GimpController *source;
@ -122,7 +125,7 @@ An abstract interface for implementing arbitrary input controllers.
</para></refsect2>
<refsect2>
<title><anchor id="GimpControllerEventValue"/>GimpControllerEventValue</title>
<title><anchor id="GimpControllerEventValue" role="struct"/>GimpControllerEventValue</title>
<indexterm><primary>GimpControllerEventValue</primary></indexterm><programlisting>typedef struct {
GimpControllerEventType type;
GimpController *source;
@ -134,7 +137,7 @@ An abstract interface for implementing arbitrary input controllers.
</para></refsect2>
<refsect2>
<title><anchor id="GimpControllerEvent"/>union GimpControllerEvent</title>
<title><anchor id="GimpControllerEvent" role="union"/>union GimpControllerEvent</title>
<indexterm><primary>GimpControllerEvent</primary></indexterm><programlisting>union GimpControllerEvent
{
GimpControllerEventType type;
@ -147,13 +150,13 @@ An abstract interface for implementing arbitrary input controllers.
</para></refsect2>
<refsect2>
<title><anchor id="GimpController-struct"/>GimpController</title>
<title><anchor id="GimpController-struct" role="struct"/>GimpController</title>
<indexterm><primary>GimpController</primary></indexterm><programlisting>typedef struct _GimpController GimpController;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-controller-new"/>gimp_controller_new ()</title>
<title><anchor id="gimp-controller-new" role="function"/>gimp_controller_new ()</title>
<indexterm><primary>gimp_controller_new</primary></indexterm><programlisting><link linkend="GimpController">GimpController</link>* gimp_controller_new (<link linkend="GType">GType</link> controller_type);</programlisting>
<para>
@ -167,7 +170,7 @@ An abstract interface for implementing arbitrary input controllers.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-controller-get-n-events"/>gimp_controller_get_n_events ()</title>
<title><anchor id="gimp-controller-get-n-events" role="function"/>gimp_controller_get_n_events ()</title>
<indexterm><primary>gimp_controller_get_n_events</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_controller_get_n_events (<link linkend="GimpController">GimpController</link> *controller);</programlisting>
<para>
@ -181,7 +184,7 @@ An abstract interface for implementing arbitrary input controllers.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-controller-get-event-name"/>gimp_controller_get_event_name ()</title>
<title><anchor id="gimp-controller-get-event-name" role="function"/>gimp_controller_get_event_name ()</title>
<indexterm><primary>gimp_controller_get_event_name</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* gimp_controller_get_event_name (<link linkend="GimpController">GimpController</link> *controller,
<link linkend="gint">gint</link> event_id);</programlisting>
<para>
@ -199,7 +202,7 @@ An abstract interface for implementing arbitrary input controllers.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-controller-get-event-blurb"/>gimp_controller_get_event_blurb ()</title>
<title><anchor id="gimp-controller-get-event-blurb" role="function"/>gimp_controller_get_event_blurb ()</title>
<indexterm><primary>gimp_controller_get_event_blurb</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link>* gimp_controller_get_event_blurb
(<link linkend="GimpController">GimpController</link> *controller,
<link linkend="gint">gint</link> event_id);</programlisting>
@ -218,7 +221,7 @@ An abstract interface for implementing arbitrary input controllers.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-controller-event"/>gimp_controller_event ()</title>
<title><anchor id="gimp-controller-event" role="function"/>gimp_controller_event ()</title>
<indexterm><primary>gimp_controller_event</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_controller_event (<link linkend="GimpController">GimpController</link> *controller,
const <link linkend="GimpControllerEvent">GimpControllerEvent</link> *event);</programlisting>
<para>
@ -237,25 +240,25 @@ An abstract interface for implementing arbitrary input controllers.
</variablelist></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpController--name"/>The &quot;<literal>name</literal>&quot; property</title>
<programlisting> &quot;name&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
<indexterm><primary>GimpController:name</primary></indexterm><programlisting> &quot;name&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
<para></para><para>Default value: "Unnamed Controller"</para>
</refsect2>
<refsect2><title><anchor id="GimpController--state"/>The &quot;<literal>state</literal>&quot; property</title>
<programlisting> &quot;state&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
<indexterm><primary>GimpController:state</primary></indexterm><programlisting> &quot;state&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct</programlisting>
<para></para><para>Default value: "Unknown"</para>
</refsect2>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpController-event"/>The &quot;event&quot; signal</title>
<programlisting><link linkend="gboolean">gboolean</link> user_function (<link linkend="GimpController">GimpController</link> *gimpcontroller,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpController::event</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> user_function (<link linkend="GimpController">GimpController</link> *gimpcontroller,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run last</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,17 +4,20 @@
<refentry id="GimpDialog">
<refmeta>
<refentrytitle>GimpDialog</refentrytitle>
<refentrytitle id="top_of_page">GimpDialog</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpDialog</refname><refpurpose>Constructors for <link linkend="GtkDialog"><type>GtkDialog</type></link>'s and action_areas as well as other
<refname>GimpDialog</refname>
<refpurpose>Constructors for <link linkend="GtkDialog"><type>GtkDialog</type></link>'s and action_areas as well as other
dialog-related stuff.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -43,8 +46,8 @@ dialog-related stuff.</refpurpose>
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -62,8 +65,8 @@ dialog-related stuff.</refpurpose>
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpDialog implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -71,8 +74,8 @@ GimpDialog implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpDialog--help-func">help-func</link>&quot; <link linkend="gpointer">gpointer</link> : Read / Write / Construct Only
@ -82,23 +85,23 @@ GimpDialog implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpDialog-struct"/>GimpDialog</title>
<title><anchor id="GimpDialog-struct" role="struct"/>GimpDialog</title>
<indexterm><primary>GimpDialog</primary></indexterm><programlisting>typedef struct _GimpDialog GimpDialog;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-dialog-new"/>gimp_dialog_new ()</title>
<title><anchor id="gimp-dialog-new" role="function"/>gimp_dialog_new ()</title>
<indexterm><primary>gimp_dialog_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_dialog_new (const <link linkend="gchar">gchar</link> *title,
const <link linkend="gchar">gchar</link> *role,
<link linkend="GtkWidget">GtkWidget</link> *parent,
@ -140,14 +143,14 @@ action_area buttons see <link linkend="gtk-dialog-new-with-buttons"><function>gt
<listitem><simpara> The help_id which will be passed to <parameter>help_func</parameter>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> A <literal>NULL</literal>-terminated <parameter>va_list</parameter> destribing the
<listitem><simpara> A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated <parameter>va_list</parameter> destribing the
action_area buttons.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GimpDialog"><type>GimpDialog</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-dialog-new-valist"/>gimp_dialog_new_valist ()</title>
<title><anchor id="gimp-dialog-new-valist" role="function"/>gimp_dialog_new_valist ()</title>
<indexterm><primary>gimp_dialog_new_valist</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_dialog_new_valist (const <link linkend="gchar">gchar</link> *title,
const <link linkend="gchar">gchar</link> *role,
<link linkend="GtkWidget">GtkWidget</link> *parent,
@ -174,7 +177,7 @@ action_area buttons see <link linkend="gtk-dialog-new-with-buttons"><function>gt
<link linkend="gtk-window-set-role"><function>gtk_window_set_role()</function></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>parent</parameter>&nbsp;:</term>
<listitem><simpara> The <parameter>parent</parameter> widget of this dialog or <literal>NULL</literal>.
<listitem><simpara> The <parameter>parent</parameter> widget of this dialog or <link linkend="NULL:CAPS"><literal>NULL</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>flags</parameter>&nbsp;:</term>
<listitem><simpara> The <parameter>flags</parameter> (see the <link linkend="GtkDialog"><type>GtkDialog</type></link> documentation).
@ -192,7 +195,7 @@ action_area buttons see <link linkend="gtk-dialog-new-with-buttons"><function>gt
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-dialog-add-buttons-valist"/>gimp_dialog_add_buttons_valist ()</title>
<title><anchor id="gimp-dialog-add-buttons-valist" role="function"/>gimp_dialog_add_buttons_valist ()</title>
<indexterm><primary>gimp_dialog_add_buttons_valist</primary></indexterm><programlisting><link linkend="void">void</link> gimp_dialog_add_buttons_valist (<link linkend="GimpDialog">GimpDialog</link> *dialog,
<link linkend="va-list">va_list</link> args);</programlisting>
<para>
@ -209,7 +212,7 @@ except it takes a va_list instead of '...'</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-dialog-run"/>gimp_dialog_run ()</title>
<title><anchor id="gimp-dialog-run" role="function"/>gimp_dialog_run ()</title>
<indexterm><primary>gimp_dialog_run</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_dialog_run (<link linkend="GimpDialog">GimpDialog</link> *dialog);</programlisting>
<para>
This function does exactly the same as <link linkend="gtk-dialog-run"><function>gtk_dialog_run()</function></link> except it
@ -224,7 +227,7 @@ does not make the dialog modal while the <link linkend="GMainLoop"><type>GMainLo
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-dialogs-show-help-button"/>gimp_dialogs_show_help_button ()</title>
<title><anchor id="gimp-dialogs-show-help-button" role="function" condition="since:GIMP 2.2"/>gimp_dialogs_show_help_button ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_dialogs_show_help_button</primary></indexterm><programlisting><link linkend="void">void</link> gimp_dialogs_show_help_button (<link linkend="gboolean">gboolean</link> show);</programlisting>
<para>
This function is for internal use only.</para>
@ -238,13 +241,13 @@ This function is for internal use only.</para>
</para></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpDialog--help-func"/>The &quot;<literal>help-func</literal>&quot; property</title>
<programlisting> &quot;help-func&quot; <link linkend="gpointer">gpointer</link> : Read / Write / Construct Only</programlisting>
<indexterm><primary>GimpDialog:help-func</primary></indexterm><programlisting> &quot;help-func&quot; <link linkend="gpointer">gpointer</link> : Read / Write / Construct Only</programlisting>
<para></para></refsect2>
<refsect2><title><anchor id="GimpDialog--help-id"/>The &quot;<literal>help-id</literal>&quot; property</title>
<programlisting> &quot;help-id&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct Only</programlisting>
<indexterm><primary>GimpDialog:help-id</primary></indexterm><programlisting> &quot;help-id&quot; <link linkend="gchararray">gchararray</link> : Read / Write / Construct Only</programlisting>
<para></para><para>Default value: NULL</para>
</refsect2>

View File

@ -4,16 +4,19 @@
<refentry id="GimpEnumComboBox">
<refmeta>
<refentrytitle>GimpEnumComboBox</refentrytitle>
<refentrytitle id="top_of_page">GimpEnumComboBox</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpEnumComboBox</refname><refpurpose></refpurpose>
<refname>GimpEnumComboBox</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -30,8 +33,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -49,8 +52,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpEnumComboBox implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>, <link linkend="GtkCellEditable">GtkCellEditable</link> and <link linkend="GtkCellLayout">GtkCellLayout</link>.</para>
@ -58,8 +61,8 @@ GimpEnumComboBox implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpEnumComboBox--model">model</link>&quot; <link linkend="GimpEnumStore">GimpEnumStore</link> : Read / Write
@ -68,28 +71,28 @@ GimpEnumComboBox implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpEnumComboBox-struct"/>GimpEnumComboBox</title>
<title><anchor id="GimpEnumComboBox-struct" role="struct"/>GimpEnumComboBox</title>
<indexterm><primary>GimpEnumComboBox</primary></indexterm><programlisting>typedef struct _GimpEnumComboBox GimpEnumComboBox;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-combo-box-new"/>gimp_enum_combo_box_new ()</title>
<title><anchor id="gimp-enum-combo-box-new" role="function" condition="since:GIMP 2.4"/>gimp_enum_combo_box_new ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_combo_box_new (<link linkend="GType">GType</link> enum_type);</programlisting>
<para>
Creates a <link linkend="GtkComboBox"><type>GtkComboBox</type></link> readily filled with all enum values from a
given <parameter>enum_type</parameter>. The enum needs to be registered to the type
system. It should also have <literal>GimpEnumDesc</literal> descriptions registered
system. It should also have <link linkend="GimpEnumDesc"><literal>GimpEnumDesc</literal></link> descriptions registered
that contain translatable value names. This is the case for the
enums used in the GIMP PDB functions.
</para>
@ -109,7 +112,7 @@ own <link linkend="GimpEnumStore"><type>GimpEnumStore</type></link> and use <lin
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-combo-box-new-with-model"/>gimp_enum_combo_box_new_with_model ()</title>
<title><anchor id="gimp-enum-combo-box-new-with-model" role="function" condition="since:GIMP 2.4"/>gimp_enum_combo_box_new_with_model ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_combo_box_new_with_model</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_combo_box_new_with_model
(<link linkend="GimpEnumStore">GimpEnumStore</link> *enum_store);</programlisting>
<para>
@ -126,7 +129,7 @@ Creates a <link linkend="GtkComboBox"><type>GtkComboBox</type></link> for the gi
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-combo-box-set-stock-prefix"/>gimp_enum_combo_box_set_stock_prefix ()</title>
<title><anchor id="gimp-enum-combo-box-set-stock-prefix" role="function" condition="since:GIMP 2.4"/>gimp_enum_combo_box_set_stock_prefix ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_combo_box_set_stock_prefix</primary></indexterm><programlisting><link linkend="void">void</link> gimp_enum_combo_box_set_stock_prefix
(<link linkend="GimpEnumComboBox">GimpEnumComboBox</link> *combo_box,
const <link linkend="gchar">gchar</link> *stock_prefix);</programlisting>
@ -146,10 +149,10 @@ Attempts to create stock icons for all items in the <parameter>combo_box</parame
</para></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpEnumComboBox--model"/>The &quot;<literal>model</literal>&quot; property</title>
<programlisting> &quot;model&quot; <link linkend="GimpEnumStore">GimpEnumStore</link> : Read / Write</programlisting>
<indexterm><primary>GimpEnumComboBox:model</primary></indexterm><programlisting> &quot;model&quot; <link linkend="GimpEnumStore">GimpEnumStore</link> : Read / Write</programlisting>
<para></para></refsect2>
</refsect1>

View File

@ -4,16 +4,19 @@
<refentry id="GimpEnumLabel">
<refmeta>
<refentrytitle>GimpEnumLabel</refentrytitle>
<refentrytitle id="top_of_page">GimpEnumLabel</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpEnumLabel</refname><refpurpose></refpurpose>
<refname>GimpEnumLabel</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -28,8 +31,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -45,8 +48,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpEnumLabel implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -57,23 +60,23 @@ GimpEnumLabel implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpEnumLabel-struct"/>GimpEnumLabel</title>
<title><anchor id="GimpEnumLabel-struct" role="struct"/>GimpEnumLabel</title>
<indexterm><primary>GimpEnumLabel</primary></indexterm><programlisting>typedef struct _GimpEnumLabel GimpEnumLabel;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-label-new"/>gimp_enum_label_new ()</title>
<title><anchor id="gimp-enum-label-new" role="function" condition="since:GIMP 2.4"/>gimp_enum_label_new ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_label_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_label_new (<link linkend="GType">GType</link> enum_type,
<link linkend="gint">gint</link> value);</programlisting>
<para>
@ -93,7 +96,7 @@ GimpEnumLabel implements
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-label-set-value"/>gimp_enum_label_set_value ()</title>
<title><anchor id="gimp-enum-label-set-value" role="function" condition="since:GIMP 2.4"/>gimp_enum_label_set_value ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_label_set_value</primary></indexterm><programlisting><link linkend="void">void</link> gimp_enum_label_set_value (<link linkend="GimpEnumLabel">GimpEnumLabel</link> *label,
<link linkend="gint">gint</link> value);</programlisting>
<para>

View File

@ -4,16 +4,19 @@
<refentry id="GimpEnumStore">
<refmeta>
<refentrytitle>GimpEnumStore</refentrytitle>
<refentrytitle id="top_of_page">GimpEnumStore</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpEnumStore</refname><refpurpose></refpurpose>
<refname>GimpEnumStore</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -40,8 +43,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -54,8 +57,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpEnumStore implements
<link linkend="GtkTreeModel">GtkTreeModel</link>, <link linkend="GtkTreeDragSource">GtkTreeDragSource</link>, <link linkend="GtkTreeDragDest">GtkTreeDragDest</link> and <link linkend="GtkTreeSortable">GtkTreeSortable</link>.</para>
@ -66,23 +69,23 @@ GimpEnumStore implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpEnumStore-struct"/>GimpEnumStore</title>
<title><anchor id="GimpEnumStore-struct" role="struct"/>GimpEnumStore</title>
<indexterm><primary>GimpEnumStore</primary></indexterm><programlisting>typedef struct _GimpEnumStore GimpEnumStore;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-store-new"/>gimp_enum_store_new ()</title>
<title><anchor id="gimp-enum-store-new" role="function" condition="since:GIMP 2.4"/>gimp_enum_store_new ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_store_new</primary></indexterm><programlisting><link linkend="GtkListStore">GtkListStore</link>* gimp_enum_store_new (<link linkend="GType">GType</link> enum_type);</programlisting>
<para>
Creates a new <link linkend="GimpEnumStore"><type>GimpEnumStore</type></link>, derived from <link linkend="GtkListStore"><type>GtkListStore</type></link> and fills
@ -100,7 +103,7 @@ system and should have translatable value names.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-store-new-with-range"/>gimp_enum_store_new_with_range ()</title>
<title><anchor id="gimp-enum-store-new-with-range" role="function" condition="since:GIMP 2.4"/>gimp_enum_store_new_with_range ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_store_new_with_range</primary></indexterm><programlisting><link linkend="GtkListStore">GtkListStore</link>* gimp_enum_store_new_with_range
(<link linkend="GType">GType</link> enum_type,
<link linkend="gint">gint</link> minimum,
@ -127,7 +130,7 @@ to limit the enum values to a certain range. Values smaller than
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-store-new-with-values"/>gimp_enum_store_new_with_values ()</title>
<title><anchor id="gimp-enum-store-new-with-values" role="function" condition="since:GIMP 2.4"/>gimp_enum_store_new_with_values ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_store_new_with_values</primary></indexterm><programlisting><link linkend="GtkListStore">GtkListStore</link>* gimp_enum_store_new_with_values
(<link linkend="GType">GType</link> enum_type,
<link linkend="gint">gint</link> n_values,
@ -154,7 +157,7 @@ store.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-store-new-with-values-valist"/>gimp_enum_store_new_with_values_valist ()</title>
<title><anchor id="gimp-enum-store-new-with-values-valist" role="function" condition="since:GIMP 2.4"/>gimp_enum_store_new_with_values_valist ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_store_new_with_values_valist</primary></indexterm><programlisting><link linkend="GtkListStore">GtkListStore</link>* gimp_enum_store_new_with_values_valist
(<link linkend="GType">GType</link> enum_type,
<link linkend="gint">gint</link> n_values,
@ -179,7 +182,7 @@ See <link linkend="gimp-enum-store-new-with-values"><function>gimp_enum_store_ne
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-store-set-stock-prefix"/>gimp_enum_store_set_stock_prefix ()</title>
<title><anchor id="gimp-enum-store-set-stock-prefix" role="function" condition="since:GIMP 2.4"/>gimp_enum_store_set_stock_prefix ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_store_set_stock_prefix</primary></indexterm><programlisting><link linkend="void">void</link> gimp_enum_store_set_stock_prefix
(<link linkend="GimpEnumStore">GimpEnumStore</link> *store,
const <link linkend="gchar">gchar</link> *stock_prefix);</programlisting>

View File

@ -4,16 +4,19 @@
<refentry id="libgimpwidgets-GimpEnumWidgets">
<refmeta>
<refentrytitle>GimpEnumWidgets</refentrytitle>
<refentrytitle id="top_of_page">GimpEnumWidgets</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpEnumWidgets</refname><refpurpose></refpurpose>
<refname>GimpEnumWidgets</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -73,17 +76,17 @@
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="gimp-enum-radio-box-new"/>gimp_enum_radio_box_new ()</title>
<title><anchor id="gimp-enum-radio-box-new" role="function" condition="since:GIMP 2.4"/>gimp_enum_radio_box_new ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_radio_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_radio_box_new (<link linkend="GType">GType</link> enum_type,
<link linkend="GCallback">GCallback</link> callback,
<link linkend="gpointer">gpointer</link> callback_data,
@ -115,7 +118,7 @@ with up to three or four values. Often it is better to use a
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-radio-box-new-with-range"/>gimp_enum_radio_box_new_with_range ()</title>
<title><anchor id="gimp-enum-radio-box-new-with-range" role="function" condition="since:GIMP 2.4"/>gimp_enum_radio_box_new_with_range ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_radio_box_new_with_range</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_radio_box_new_with_range
(<link linkend="GType">GType</link> enum_type,
<link linkend="gint">gint</link> minimum,
@ -155,7 +158,7 @@ enum values.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-radio-frame-new"/>gimp_enum_radio_frame_new ()</title>
<title><anchor id="gimp-enum-radio-frame-new" role="function" condition="since:GIMP 2.4"/>gimp_enum_radio_frame_new ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_radio_frame_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_radio_frame_new (<link linkend="GType">GType</link> enum_type,
<link linkend="GtkWidget">GtkWidget</link> *label_widget,
<link linkend="GCallback">GCallback</link> callback,
@ -190,7 +193,7 @@ Calls <link linkend="gimp-enum-radio-box-new"><function>gimp_enum_radio_box_new(
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-radio-frame-new-with-range"/>gimp_enum_radio_frame_new_with_range ()</title>
<title><anchor id="gimp-enum-radio-frame-new-with-range" role="function" condition="since:GIMP 2.4"/>gimp_enum_radio_frame_new_with_range ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_radio_frame_new_with_range</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_radio_frame_new_with_range
(<link linkend="GType">GType</link> enum_type,
<link linkend="gint">gint</link> minimum,
@ -233,7 +236,7 @@ vbox into a <link linkend="GtkFrame"><type>GtkFrame</type></link>.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-stock-box-new"/>gimp_enum_stock_box_new ()</title>
<title><anchor id="gimp-enum-stock-box-new" role="function" condition="since:GIMP 2.4"/>gimp_enum_stock_box_new ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_stock_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_stock_box_new (<link linkend="GType">GType</link> enum_type,
const <link linkend="gchar">gchar</link> *stock_prefix,
<link linkend="GtkIconSize">GtkIconSize</link> icon_size,
@ -272,7 +275,7 @@ nick to the given <parameter>stock_prefix</parameter>.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-stock-box-new-with-range"/>gimp_enum_stock_box_new_with_range ()</title>
<title><anchor id="gimp-enum-stock-box-new-with-range" role="function" condition="since:GIMP 2.4"/>gimp_enum_stock_box_new_with_range ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_stock_box_new_with_range</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_enum_stock_box_new_with_range
(<link linkend="GType">GType</link> enum_type,
<link linkend="gint">gint</link> minimum,
@ -320,7 +323,7 @@ enum values.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-enum-stock-box-set-child-padding"/>gimp_enum_stock_box_set_child_padding ()</title>
<title><anchor id="gimp-enum-stock-box-set-child-padding" role="function" condition="since:GIMP 2.4"/>gimp_enum_stock_box_set_child_padding ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_enum_stock_box_set_child_padding</primary></indexterm><programlisting><link linkend="void">void</link> gimp_enum_stock_box_set_child_padding
(<link linkend="GtkWidget">GtkWidget</link> *stock_box,
<link linkend="gint">gint</link> xpad,

View File

@ -4,16 +4,19 @@
<refentry id="GimpFileEntry">
<refmeta>
<refentrytitle>GimpFileEntry</refentrytitle>
<refentrytitle id="top_of_page">GimpFileEntry</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpFileEntry</refname><refpurpose>Widget for entering a filename.</refpurpose>
<refname>GimpFileEntry</refname>
<refpurpose>Widget for entering a filename.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -31,8 +34,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -49,8 +52,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpFileEntry implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -59,19 +62,19 @@ GimpFileEntry implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpFileEntry-filename-changed">filename-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpFileEntry">GimpFileEntry</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
This widget is used to enter filenames or directories.
</para>
@ -94,16 +97,16 @@ will be emitted.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpFileEntry-struct"/>GimpFileEntry</title>
<title><anchor id="GimpFileEntry-struct" role="struct"/>GimpFileEntry</title>
<indexterm><primary>GimpFileEntry</primary></indexterm><programlisting>typedef struct _GimpFileEntry GimpFileEntry;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-file-entry-new"/>gimp_file_entry_new ()</title>
<title><anchor id="gimp-file-entry-new" role="function"/>gimp_file_entry_new ()</title>
<indexterm><primary>gimp_file_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_file_entry_new (const <link linkend="gchar">gchar</link> *title,
const <link linkend="gchar">gchar</link> *filename,
<link linkend="gboolean">gboolean</link> dir_only,
@ -120,17 +123,17 @@ Creates a new <link linkend="GimpFileEntry"><type>GimpFileEntry</type></link> wi
<listitem><simpara> The initial filename.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dir_only</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the file entry should accept directories only.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the file entry should accept directories only.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>check_valid</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the widget should check if the entered file
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the widget should check if the entered file
really exists.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A pointer to the new <link linkend="GimpFileEntry"><type>GimpFileEntry</type></link> widget.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-file-entry-get-filename"/>gimp_file_entry_get_filename ()</title>
<title><anchor id="gimp-file-entry-get-filename" role="function"/>gimp_file_entry_get_filename ()</title>
<indexterm><primary>gimp_file_entry_get_filename</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* gimp_file_entry_get_filename (<link linkend="GimpFileEntry">GimpFileEntry</link> *entry);</programlisting>
<para>
Note that you have to <link linkend="g-free"><function>g_free()</function></link> the returned string.</para>
@ -144,11 +147,11 @@ Note that you have to <link linkend="g-free"><function>g_free()</function></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-file-entry-set-filename"/>gimp_file_entry_set_filename ()</title>
<title><anchor id="gimp-file-entry-set-filename" role="function"/>gimp_file_entry_set_filename ()</title>
<indexterm><primary>gimp_file_entry_set_filename</primary></indexterm><programlisting><link linkend="void">void</link> gimp_file_entry_set_filename (<link linkend="GimpFileEntry">GimpFileEntry</link> *entry,
const <link linkend="gchar">gchar</link> *filename);</programlisting>
<para>
If you specified <parameter>check_valid</parameter> as <literal>TRUE</literal> in <link linkend="gimp-file-entry-new"><function>gimp_file_entry_new()</function></link>
If you specified <parameter>check_valid</parameter> as <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> in <link linkend="gimp-file-entry-new"><function>gimp_file_entry_new()</function></link>
the <link linkend="GimpFileEntry"><type>GimpFileEntry</type></link> will immediately check the validity of the file
name.</para>
<para>
@ -164,11 +167,11 @@ name.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpFileEntry-filename-changed"/>The &quot;filename-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpFileEntry">GimpFileEntry</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpFileEntry::filename-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpFileEntry">GimpFileEntry</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
This signal is emitted whenever the user changes the filename.</para>
<para>

View File

@ -4,16 +4,19 @@
<refentry id="GimpFrame">
<refmeta>
<refentrytitle>GimpFrame</refentrytitle>
<refentrytitle id="top_of_page">GimpFrame</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpFrame</refname><refpurpose>A widget providing a HIG-compliant subclass of <link linkend="GtkFrame"><type>GtkFrame</type></link>.</refpurpose>
<refname>GimpFrame</refname>
<refpurpose>A widget providing a HIG-compliant subclass of <link linkend="GtkFrame"><type>GtkFrame</type></link>.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -25,8 +28,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -43,8 +46,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpFrame implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -52,8 +55,8 @@ GimpFrame implements
</refsect1>
<refsect1>
<title>Style Properties</title>
<refsect1 id="style_properties">
<title id="style_properties.title">Style Properties</title>
<synopsis>
&quot;<link linkend="GimpFrame--label-bold">label-bold</link>&quot; <link linkend="gboolean">gboolean</link> : Read
@ -63,23 +66,23 @@ GimpFrame implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
A widget providing a HIG-compliant subclass of <link linkend="GtkFrame"><type>GtkFrame</type></link>.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpFrame-struct"/>GimpFrame</title>
<title><anchor id="GimpFrame-struct" role="struct"/>GimpFrame</title>
<indexterm><primary>GimpFrame</primary></indexterm><programlisting>typedef struct _GimpFrame GimpFrame;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-frame-new"/>gimp_frame_new ()</title>
<title><anchor id="gimp-frame-new" role="function" condition="since:GIMP 2.2"/>gimp_frame_new ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_frame_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_frame_new (const <link linkend="gchar">gchar</link> *label);</programlisting>
<para>
Creates a <link linkend="GimpFrame"><type>GimpFrame</type></link> widget. A <link linkend="GimpFrame"><type>GimpFrame</type></link> is a HIG-compliant
@ -91,7 +94,7 @@ the GNOME HIG (see http://developer.gnome.org/projects/gup/hig/).</para>
</para><variablelist role="params">
<varlistentry><term><parameter>label</parameter>&nbsp;:</term>
<listitem><simpara> text to set as the frame's title label (or <literal>NULL</literal> for no title)
<listitem><simpara> text to set as the frame's title label (or <link linkend="NULL:CAPS"><literal>NULL</literal></link> for no title)
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="GimpFrame"><type>GimpFrame</type></link> widget
@ -100,14 +103,14 @@ the GNOME HIG (see http://developer.gnome.org/projects/gup/hig/).</para>
</para></refsect2>
</refsect1>
<refsect1>
<title>Style Properties</title>
<refsect1 id="style_properties_details">
<title id="style_properties_details.title">Style Property Details</title>
<refsect2><title><anchor id="GimpFrame--label-bold"/>The &quot;<literal>label-bold</literal>&quot; style property</title>
<programlisting> &quot;label-bold&quot; <link linkend="gboolean">gboolean</link> : Read</programlisting>
<indexterm><primary>GimpFrame:label-bold</primary></indexterm><programlisting> &quot;label-bold&quot; <link linkend="gboolean">gboolean</link> : Read</programlisting>
<para></para><para>Default value: TRUE</para>
</refsect2>
<refsect2><title><anchor id="GimpFrame--label-spacing"/>The &quot;<literal>label-spacing</literal>&quot; style property</title>
<programlisting> &quot;label-spacing&quot; <link linkend="gint">gint</link> : Read</programlisting>
<indexterm><primary>GimpFrame:label-spacing</primary></indexterm><programlisting> &quot;label-spacing&quot; <link linkend="gint">gint</link> : Read</programlisting>
<para></para><para>Allowed values: &gt;= 0</para>
<para>Default value: 6</para>
</refsect2>

View File

@ -4,17 +4,20 @@
<refentry id="libgimpwidgets-GimpHelpUI">
<refmeta>
<refentrytitle>GimpHelpUI</refentrytitle>
<refentrytitle id="top_of_page">GimpHelpUI</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpHelpUI</refname><refpurpose>Functions for setting <link linkend="GtkTooltips"><type>GtkTooltips</type></link> and help identifier used by GIMP help
<refname>GimpHelpUI</refname>
<refpurpose>Functions for setting <link linkend="GtkTooltips"><type>GtkTooltips</type></link> and help identifier used by GIMP help
system.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -47,17 +50,17 @@ system.</refpurpose>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpHelpFunc"/>GimpHelpFunc ()</title>
<title><anchor id="GimpHelpFunc" role="function"/>GimpHelpFunc ()</title>
<indexterm><primary>GimpHelpFunc</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpHelpFunc) (const <link linkend="gchar">gchar</link> *help_id,
<link linkend="gpointer">gpointer</link> help_data);</programlisting>
<para>
@ -92,14 +95,14 @@ the help.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-HELP-ID:CAPS"/>GIMP_HELP_ID</title>
<title><anchor id="GIMP-HELP-ID:CAPS" role="macro"/>GIMP_HELP_ID</title>
<indexterm><primary>GIMP_HELP_ID</primary></indexterm><programlisting>#define GIMP_HELP_ID (gimp_help_id_quark ())
</programlisting>
<para>
Since: GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-help-enable-tooltips"/>gimp_help_enable_tooltips ()</title>
<title><anchor id="gimp-help-enable-tooltips" role="function"/>gimp_help_enable_tooltips ()</title>
<indexterm><primary>gimp_help_enable_tooltips</primary></indexterm><programlisting><link linkend="void">void</link> gimp_help_enable_tooltips (void);</programlisting>
<para>
This function calls <link linkend="gtk-tooltips-enable"><function>gtk_tooltips_enable()</function></link>.</para>
@ -107,7 +110,7 @@ This function calls <link linkend="gtk-tooltips-enable"><function>gtk_tooltips_e
</para></refsect2>
<refsect2>
<title><anchor id="gimp-help-disable-tooltips"/>gimp_help_disable_tooltips ()</title>
<title><anchor id="gimp-help-disable-tooltips" role="function"/>gimp_help_disable_tooltips ()</title>
<indexterm><primary>gimp_help_disable_tooltips</primary></indexterm><programlisting><link linkend="void">void</link> gimp_help_disable_tooltips (void);</programlisting>
<para>
This function calls <link linkend="gtk-tooltips-disable"><function>gtk_tooltips_disable()</function></link>.</para>
@ -115,7 +118,7 @@ This function calls <link linkend="gtk-tooltips-disable"><function>gtk_tooltips_
</para></refsect2>
<refsect2>
<title><anchor id="gimp-standard-help-func"/>gimp_standard_help_func ()</title>
<title><anchor id="gimp-standard-help-func" role="function"/>gimp_standard_help_func ()</title>
<indexterm><primary>gimp_standard_help_func</primary></indexterm><programlisting><link linkend="void">void</link> gimp_standard_help_func (const <link linkend="gchar">gchar</link> *help_id,
<link linkend="gpointer">gpointer</link> help_data);</programlisting>
<para>
@ -132,7 +135,7 @@ This is the standard GIMP help function which does nothing but calling
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-help-connect"/>gimp_help_connect ()</title>
<title><anchor id="gimp-help-connect" role="function"/>gimp_help_connect ()</title>
<indexterm><primary>gimp_help_connect</primary></indexterm><programlisting><link linkend="void">void</link> gimp_help_connect (<link linkend="GtkWidget">GtkWidget</link> *widget,
<link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
const <link linkend="gchar">gchar</link> *help_id,
@ -159,7 +162,7 @@ constructors. You only have to call it for windows/dialogs you created
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-help-set-help-data"/>gimp_help_set_help_data ()</title>
<title><anchor id="gimp-help-set-help-data" role="function"/>gimp_help_set_help_data ()</title>
<indexterm><primary>gimp_help_set_help_data</primary></indexterm><programlisting><link linkend="void">void</link> gimp_help_set_help_data (<link linkend="GtkWidget">GtkWidget</link> *widget,
const <link linkend="gchar">gchar</link> *tooltip,
const <link linkend="gchar">gchar</link> *help_id);</programlisting>
@ -179,14 +182,14 @@ a visible tooltip.</para>
<listitem><simpara> The <link linkend="GtkWidget"><type>GtkWidget</type></link> you want to set a <parameter>tooltip</parameter> and/or <parameter>help_id</parameter> for.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>tooltip</parameter>&nbsp;:</term>
<listitem><simpara> The text for this widget's tooltip (or <literal>NULL</literal>).
<listitem><simpara> The text for this widget's tooltip (or <link linkend="NULL:CAPS"><literal>NULL</literal></link>).
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>help_id</parameter>&nbsp;:</term>
<listitem><simpara> The <parameter>help_id</parameter> for the <link linkend="GtkTipsQuery"><type>GtkTipsQuery</type></link> tooltips inspector.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-context-help"/>gimp_context_help ()</title>
<title><anchor id="gimp-context-help" role="function"/>gimp_context_help ()</title>
<indexterm><primary>gimp_context_help</primary></indexterm><programlisting><link linkend="void">void</link> gimp_context_help (<link linkend="GtkWidget">GtkWidget</link> *widget);</programlisting>
<para>
This function invokes the context help inspector.

View File

@ -4,16 +4,19 @@
<refentry id="GimpIntComboBox">
<refmeta>
<refentrytitle>GimpIntComboBox</refentrytitle>
<refentrytitle id="top_of_page">GimpIntComboBox</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpIntComboBox</refname><refpurpose>A widget providing a popup menu of integer values (e.g. enums).</refpurpose>
<refname>GimpIntComboBox</refname>
<refpurpose>A widget providing a popup menu of integer values (e.g. enums).</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -51,8 +54,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -70,8 +73,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpIntComboBox implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>, <link linkend="GtkCellEditable">GtkCellEditable</link> and <link linkend="GtkCellLayout">GtkCellLayout</link>.</para>
@ -79,8 +82,8 @@ GimpIntComboBox implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpIntComboBox--ellipsize">ellipsize</link>&quot; <link linkend="PangoEllipsizeMode">PangoEllipsizeMode</link> : Read / Write
@ -89,23 +92,23 @@ GimpIntComboBox implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
A widget providing a popup menu of integer values (e.g. enums).
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpIntComboBox-struct"/>GimpIntComboBox</title>
<title><anchor id="GimpIntComboBox-struct" role="struct"/>GimpIntComboBox</title>
<indexterm><primary>GimpIntComboBox</primary></indexterm><programlisting>typedef struct _GimpIntComboBox GimpIntComboBox;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GimpIntSensitivityFunc"/>GimpIntSensitivityFunc ()</title>
<title><anchor id="GimpIntSensitivityFunc" role="function"/>GimpIntSensitivityFunc ()</title>
<indexterm><primary>GimpIntSensitivityFunc</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> (*GimpIntSensitivityFunc) (<link linkend="gint">gint</link> value,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
@ -123,13 +126,13 @@ A widget providing a popup menu of integer values (e.g. enums).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-new"/>gimp_int_combo_box_new ()</title>
<title><anchor id="gimp-int-combo-box-new" role="function" condition="since:GIMP 2.2"/>gimp_int_combo_box_new ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_int_combo_box_new (const <link linkend="gchar">gchar</link> *first_label,
<link linkend="gint">gint</link> first_value,
...);</programlisting>
<para>
Creates a GtkComboBox that has integer values associated with each
item. The items to fill the combo box with are specified as a <literal>NULL</literal>
item. The items to fill the combo box with are specified as a <link linkend="NULL:CAPS"><literal>NULL</literal></link>
terminated list of label/value pairs.
</para>
<para>
@ -145,7 +148,7 @@ g_object_new (GIMP_TYPE_INT_COMBO_BOX, NULL).</para>
<listitem><simpara> the value of the first item
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> a <literal>NULL</literal> terminated list of more label, value pairs
<listitem><simpara> a <link linkend="NULL:CAPS"><literal>NULL</literal></link> terminated list of more label, value pairs
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> a new <link linkend="GimpIntComboBox"><type>GimpIntComboBox</type></link>.
@ -153,7 +156,7 @@ g_object_new (GIMP_TYPE_INT_COMBO_BOX, NULL).</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-new-valist"/>gimp_int_combo_box_new_valist ()</title>
<title><anchor id="gimp-int-combo-box-new-valist" role="function" condition="since:GIMP 2.2"/>gimp_int_combo_box_new_valist ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_combo_box_new_valist</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_int_combo_box_new_valist (const <link linkend="gchar">gchar</link> *first_label,
<link linkend="gint">gint</link> first_value,
<link linkend="va-list">va_list</link> values);</programlisting>
@ -178,7 +181,7 @@ label/value pairs. Probably only useful for language bindings.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-new-array"/>gimp_int_combo_box_new_array ()</title>
<title><anchor id="gimp-int-combo-box-new-array" role="function" condition="since:GIMP 2.2"/>gimp_int_combo_box_new_array ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_combo_box_new_array</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_int_combo_box_new_array (<link linkend="gint">gint</link> n_values,
const <link linkend="gchar">gchar</link> *labels[]);</programlisting>
<para>
@ -199,7 +202,7 @@ The array indices are used as values.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-prepend"/>gimp_int_combo_box_prepend ()</title>
<title><anchor id="gimp-int-combo-box-prepend" role="function" condition="since:GIMP 2.2"/>gimp_int_combo_box_prepend ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_combo_box_prepend</primary></indexterm><programlisting><link linkend="void">void</link> gimp_int_combo_box_prepend (<link linkend="GimpIntComboBox">GimpIntComboBox</link> *combo_box,
...);</programlisting>
<para>
@ -221,7 +224,7 @@ The column number must be taken from the enum <link linkend="GimpIntStoreColumns
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-append"/>gimp_int_combo_box_append ()</title>
<title><anchor id="gimp-int-combo-box-append" role="function" condition="since:GIMP 2.2"/>gimp_int_combo_box_append ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_combo_box_append</primary></indexterm><programlisting><link linkend="void">void</link> gimp_int_combo_box_append (<link linkend="GimpIntComboBox">GimpIntComboBox</link> *combo_box,
...);</programlisting>
<para>
@ -243,7 +246,7 @@ The column number must be taken from the enum <link linkend="GimpIntStoreColumns
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-set-active"/>gimp_int_combo_box_set_active ()</title>
<title><anchor id="gimp-int-combo-box-set-active" role="function" condition="since:GIMP 2.2"/>gimp_int_combo_box_set_active ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_combo_box_set_active</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_int_combo_box_set_active (<link linkend="GimpIntComboBox">GimpIntComboBox</link> *combo_box,
<link linkend="gint">gint</link> value);</programlisting>
<para>
@ -258,14 +261,14 @@ selected item in the <parameter>combo_box</parameter>.</para>
<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
<listitem><simpara> an integer value
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> on success or <literal>FALSE</literal> if there was no item for
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> on success or <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> if there was no item for
this value.
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-get-active"/>gimp_int_combo_box_get_active ()</title>
<title><anchor id="gimp-int-combo-box-get-active" role="function" condition="since:GIMP 2.2"/>gimp_int_combo_box_get_active ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_combo_box_get_active</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_int_combo_box_get_active (<link linkend="GimpIntComboBox">GimpIntComboBox</link> *combo_box,
<link linkend="gint">gint</link> *value);</programlisting>
<para>
@ -279,14 +282,14 @@ Retrieves the value of the selected (active) item in the <parameter>combo_box</p
<varlistentry><term><parameter>value</parameter>&nbsp;:</term>
<listitem><simpara> return location for the integer value
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if <parameter>value</parameter> has been set or <literal>FALSE</literal> if no item was
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>value</parameter> has been set or <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> if no item was
active.
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-connect"/>gimp_int_combo_box_connect ()</title>
<title><anchor id="gimp-int-combo-box-connect" role="function" condition="since:GIMP 2.2"/>gimp_int_combo_box_connect ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_combo_box_connect</primary></indexterm><programlisting><link linkend="gulong">gulong</link> gimp_int_combo_box_connect (<link linkend="GimpIntComboBox">GimpIntComboBox</link> *combo_box,
<link linkend="gint">gint</link> value,
<link linkend="GCallback">GCallback</link> callback,
@ -323,7 +326,7 @@ boxes that select a default active item, like for example
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-combo-box-set-sensitivity"/>gimp_int_combo_box_set_sensitivity ()</title>
<title><anchor id="gimp-int-combo-box-set-sensitivity" role="function" condition="since:GIMP 2.4"/>gimp_int_combo_box_set_sensitivity ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_int_combo_box_set_sensitivity</primary></indexterm><programlisting><link linkend="void">void</link> gimp_int_combo_box_set_sensitivity
(<link linkend="GimpIntComboBox">GimpIntComboBox</link> *combo_box,
<link linkend="GimpIntSensitivityFunc">GimpIntSensitivityFunc</link> func,
@ -344,7 +347,7 @@ sensitivity to be updated.</para>
<listitem><simpara> a <link linkend="GimpIntComboBox"><type>GimpIntComboBox</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>func</parameter>&nbsp;:</term>
<listitem><simpara> a function that returns a boolean value, or <literal>NULL</literal> to unset
<listitem><simpara> a function that returns a boolean value, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> to unset
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data</parameter>&nbsp;:</term>
<listitem><simpara> data to pass to <parameter>func</parameter>
@ -356,10 +359,10 @@ sensitivity to be updated.</para>
</para></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpIntComboBox--ellipsize"/>The &quot;<literal>ellipsize</literal>&quot; property</title>
<programlisting> &quot;ellipsize&quot; <link linkend="PangoEllipsizeMode">PangoEllipsizeMode</link> : Read / Write</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpIntComboBox:ellipsize</primary></indexterm><programlisting> &quot;ellipsize&quot; <link linkend="PangoEllipsizeMode">PangoEllipsizeMode</link> : Read / Write</programlisting>
<para>
Specifies the preferred place to ellipsize text in the combo-box,
if the cell renderer does not have enough room to display the

View File

@ -4,16 +4,19 @@
<refentry id="GimpIntStore">
<refmeta>
<refentrytitle>GimpIntStore</refentrytitle>
<refentrytitle id="top_of_page">GimpIntStore</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpIntStore</refname><refpurpose>A model for integer based name-value pairs (e.g. enums)</refpurpose>
<refname>GimpIntStore</refname>
<refpurpose>A model for integer based name-value pairs (e.g. enums)</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -29,8 +32,8 @@ enum <link linkend="GimpIntStoreColumns">GimpIntStoreColumns</link>;
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -43,8 +46,8 @@ enum <link linkend="GimpIntStoreColumns">GimpIntStoreColumns</link>;
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpIntStore implements
<link linkend="GtkTreeModel">GtkTreeModel</link>, <link linkend="GtkTreeDragSource">GtkTreeDragSource</link>, <link linkend="GtkTreeDragDest">GtkTreeDragDest</link> and <link linkend="GtkTreeSortable">GtkTreeSortable</link>.</para>
@ -55,23 +58,23 @@ GimpIntStore implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
A model for integer based name-value pairs (e.g. enums)
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpIntStore-struct"/>GimpIntStore</title>
<title><anchor id="GimpIntStore-struct" role="struct"/>GimpIntStore</title>
<indexterm><primary>GimpIntStore</primary></indexterm><programlisting>typedef struct _GimpIntStore GimpIntStore;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GimpIntStoreColumns"/>enum GimpIntStoreColumns</title>
<title><anchor id="GimpIntStoreColumns" role="enum"/>enum GimpIntStoreColumns</title>
<indexterm><primary>GimpIntStoreColumns</primary></indexterm><programlisting>typedef enum
{
GIMP_INT_STORE_VALUE,
@ -86,7 +89,7 @@ A model for integer based name-value pairs (e.g. enums)
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-store-new"/>gimp_int_store_new ()</title>
<title><anchor id="gimp-int-store-new" role="function" condition="since:GIMP 2.2"/>gimp_int_store_new ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_store_new</primary></indexterm><programlisting><link linkend="GtkListStore">GtkListStore</link>* gimp_int_store_new (void);</programlisting>
<para>
Creates a <link linkend="GtkListStore"><type>GtkListStore</type></link> with a number of useful columns.
@ -101,7 +104,7 @@ are identified using an integer value.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-int-store-lookup-by-value"/>gimp_int_store_lookup_by_value ()</title>
<title><anchor id="gimp-int-store-lookup-by-value" role="function" condition="since:GIMP 2.2"/>gimp_int_store_lookup_by_value ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_int_store_lookup_by_value</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_int_store_lookup_by_value (<link linkend="GtkTreeModel">GtkTreeModel</link> *model,
<link linkend="gint">gint</link> value,
<link linkend="GtkTreeIter">GtkTreeIter</link> *iter);</programlisting>
@ -119,8 +122,8 @@ Iterate over the <parameter>model</parameter> looking for <parameter>value</para
<varlistentry><term><parameter>iter</parameter>&nbsp;:</term>
<listitem><simpara> return location for the iter of the given <parameter>value</parameter>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the value has been located and <parameter>iter</parameter> is
valid, <literal>FALSE</literal> otherwise.
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the value has been located and <parameter>iter</parameter> is
valid, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise.
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2

View File

@ -4,16 +4,19 @@
<refentry id="GimpMemsizeEntry">
<refmeta>
<refentrytitle>GimpMemsizeEntry</refentrytitle>
<refentrytitle id="top_of_page">GimpMemsizeEntry</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpMemsizeEntry</refname><refpurpose>A composite widget that allows to enter a memory size.</refpurpose>
<refname>GimpMemsizeEntry</refname>
<refpurpose>A composite widget that allows to enter a memory size.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -30,8 +33,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -48,8 +51,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpMemsizeEntry implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -58,19 +61,19 @@ GimpMemsizeEntry implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpMemsizeEntry-value-changed">value-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpMemsizeEntry">GimpMemsizeEntry</link> *gimpmemsizeentry,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
Similar to a <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link> but instead of lengths, this widget is used to let
the user enter memory sizes. An option menu allows to switch between
@ -78,16 +81,16 @@ Kilobytes, Megabytes and Gigabytes. Used in the GIMP preferences dialog.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpMemsizeEntry-struct"/>GimpMemsizeEntry</title>
<title><anchor id="GimpMemsizeEntry-struct" role="struct"/>GimpMemsizeEntry</title>
<indexterm><primary>GimpMemsizeEntry</primary></indexterm><programlisting>typedef struct _GimpMemsizeEntry GimpMemsizeEntry;</programlisting>
<para>
The <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link> struct is considered private.
</para></refsect2>
<refsect2>
<title><anchor id="gimp-memsize-entry-new"/>gimp_memsize_entry_new ()</title>
<title><anchor id="gimp-memsize-entry-new" role="function"/>gimp_memsize_entry_new ()</title>
<indexterm><primary>gimp_memsize_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_memsize_entry_new (<link linkend="guint64">guint64</link> value,
<link linkend="guint64">guint64</link> lower,
<link linkend="guint64">guint64</link> upper);</programlisting>
@ -110,7 +113,7 @@ and a <link linkend="GtkOptionMenu"><type>GtkOptionMenu</type></link> all setup
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-memsize-entry-set-value"/>gimp_memsize_entry_set_value ()</title>
<title><anchor id="gimp-memsize-entry-set-value" role="function"/>gimp_memsize_entry_set_value ()</title>
<indexterm><primary>gimp_memsize_entry_set_value</primary></indexterm><programlisting><link linkend="void">void</link> gimp_memsize_entry_set_value (<link linkend="GimpMemsizeEntry">GimpMemsizeEntry</link> *entry,
<link linkend="guint64">guint64</link> value);</programlisting>
<para>
@ -127,7 +130,7 @@ the value to full Kilobytes.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-memsize-entry-get-value"/>gimp_memsize_entry_get_value ()</title>
<title><anchor id="gimp-memsize-entry-get-value" role="function"/>gimp_memsize_entry_get_value ()</title>
<indexterm><primary>gimp_memsize_entry_get_value</primary></indexterm><programlisting><link linkend="guint64">guint64</link> gimp_memsize_entry_get_value (<link linkend="GimpMemsizeEntry">GimpMemsizeEntry</link> *entry);</programlisting>
<para>
Retrieves the current value from a <link linkend="GimpMemsizeEntry"><type>GimpMemsizeEntry</type></link>.</para>
@ -143,11 +146,11 @@ Retrieves the current value from a <link linkend="GimpMemsizeEntry"><type>GimpMe
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpMemsizeEntry-value-changed"/>The &quot;value-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpMemsizeEntry">GimpMemsizeEntry</link> *gimpmemsizeentry,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpMemsizeEntry::value-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpMemsizeEntry">GimpMemsizeEntry</link> *gimpmemsizeentry,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpOffsetArea">
<refmeta>
<refentrytitle>GimpOffsetArea</refentrytitle>
<refentrytitle id="top_of_page">GimpOffsetArea</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpOffsetArea</refname><refpurpose>Widget to control image offsets.</refpurpose>
<refname>GimpOffsetArea</refname>
<refpurpose>Widget to control image offsets.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -34,8 +37,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -50,8 +53,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpOffsetArea implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -60,36 +63,36 @@ GimpOffsetArea implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpOffsetArea-offsets-changed">offsets-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpOffsetArea">GimpOffsetArea</link> *gimpoffsetarea,
<link linkend="gint">gint</link> arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gint">gint</link> arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpOffsetArea-struct"/>GimpOffsetArea</title>
<title><anchor id="GimpOffsetArea-struct" role="struct"/>GimpOffsetArea</title>
<indexterm><primary>GimpOffsetArea</primary></indexterm><programlisting>typedef struct _GimpOffsetArea GimpOffsetArea;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-offset-area-new"/>gimp_offset_area_new ()</title>
<title><anchor id="gimp-offset-area-new" role="function"/>gimp_offset_area_new ()</title>
<indexterm><primary>gimp_offset_area_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_offset_area_new (<link linkend="gint">gint</link> orig_width,
<link linkend="gint">gint</link> orig_height);</programlisting>
<para>
@ -109,7 +112,7 @@ specify the new offsets.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-offset-area-set-size"/>gimp_offset_area_set_size ()</title>
<title><anchor id="gimp-offset-area-set-size" role="function"/>gimp_offset_area_set_size ()</title>
<indexterm><primary>gimp_offset_area_set_size</primary></indexterm><programlisting><link linkend="void">void</link> gimp_offset_area_set_size (<link linkend="GimpOffsetArea">GimpOffsetArea</link> *offset_area,
<link linkend="gint">gint</link> width,
<link linkend="gint">gint</link> height);</programlisting>
@ -131,7 +134,7 @@ signal is emitted.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-offset-area-set-offsets"/>gimp_offset_area_set_offsets ()</title>
<title><anchor id="gimp-offset-area-set-offsets" role="function"/>gimp_offset_area_set_offsets ()</title>
<indexterm><primary>gimp_offset_area_set_offsets</primary></indexterm><programlisting><link linkend="void">void</link> gimp_offset_area_set_offsets (<link linkend="GimpOffsetArea">GimpOffsetArea</link> *offset_area,
<link linkend="gint">gint</link> offset_x,
<link linkend="gint">gint</link> offset_y);</programlisting>
@ -152,7 +155,7 @@ It does not emit the "offsets-changed" signal.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-offset-area-set-pixbuf"/>gimp_offset_area_set_pixbuf ()</title>
<title><anchor id="gimp-offset-area-set-pixbuf" role="function" condition="since:GIMP 2.2"/>gimp_offset_area_set_pixbuf ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_offset_area_set_pixbuf</primary></indexterm><programlisting><link linkend="void">void</link> gimp_offset_area_set_pixbuf (<link linkend="GimpOffsetArea">GimpOffsetArea</link> *offset_area,
<link linkend="GdkPixbuf">GdkPixbuf</link> *pixbuf);</programlisting>
<para>
@ -172,13 +175,13 @@ is being offset.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpOffsetArea-offsets-changed"/>The &quot;offsets-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpOffsetArea">GimpOffsetArea</link> *gimpoffsetarea,
<link linkend="gint">gint</link> arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpOffsetArea::offsets-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpOffsetArea">GimpOffsetArea</link> *gimpoffsetarea,
<link linkend="gint">gint</link> arg1,
<link linkend="gint">gint</link> arg2,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="libgimpwidgets-gimpoldwidgets">
<refmeta>
<refentrytitle>gimpoldwidgets</refentrytitle>
<refentrytitle id="top_of_page">gimpoldwidgets</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>gimpoldwidgets</refname><refpurpose>Old API that is still available but declared as deprecated.</refpurpose>
<refname>gimpoldwidgets</refname>
<refpurpose>Old API that is still available but declared as deprecated.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -62,17 +65,17 @@
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
These functions are not defined if you <link linkend="define"><type>define</type></link> GIMP_DISABLE_DEPRECATED.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="gimp-int-option-menu-new"/>gimp_int_option_menu_new ()</title>
<title><anchor id="gimp-int-option-menu-new" role="function" condition="deprecated:"/>gimp_int_option_menu_new ()</title>
<indexterm role="deprecated"><primary>gimp_int_option_menu_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_int_option_menu_new (<link linkend="gboolean">gboolean</link> menu_only,
<link linkend="GCallback">GCallback</link> menu_item_callback,
<link linkend="gpointer">gpointer</link> menu_item_callback_data,
@ -89,7 +92,7 @@ enum to a menu).</para>
</para><variablelist role="params">
<varlistentry><term><parameter>menu_only</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the function should return a <link linkend="GtkMenu"><type>GtkMenu</type></link> only.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the function should return a <link linkend="GtkMenu"><type>GtkMenu</type></link> only.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>menu_item_callback</parameter>&nbsp;:</term>
<listitem><simpara> The callback each menu item's "activate" signal will
@ -103,13 +106,13 @@ enum to a menu).</para>
<listitem><simpara> The <parameter>item_data</parameter> of the initially selected menu item.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> A <literal>NULL</literal>-terminated <parameter>va_list</parameter> describing the menu items.
<listitem><simpara> A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated <parameter>va_list</parameter> describing the menu items.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GtkOptionMenu"><type>GtkOptionMenu</type></link> or a <link linkend="GtkMenu"><type>GtkMenu</type></link> (depending on <parameter>menu_only</parameter>).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-int-option-menu-set-history"/>gimp_int_option_menu_set_history ()</title>
<title><anchor id="gimp-int-option-menu-set-history" role="function" condition="deprecated:"/>gimp_int_option_menu_set_history ()</title>
<indexterm role="deprecated"><primary>gimp_int_option_menu_set_history</primary></indexterm><programlisting><link linkend="void">void</link> gimp_int_option_menu_set_history
(<link linkend="GtkOptionMenu">GtkOptionMenu</link> *option_menu,
<link linkend="gint">gint</link> item_data);</programlisting>
@ -131,7 +134,7 @@ same thing as <link linkend="gimp-option-menu-set-history"><function>gimp_option
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GimpIntOptionMenuSensitivityCallback"/>GimpIntOptionMenuSensitivityCallback ()</title>
<title><anchor id="GimpIntOptionMenuSensitivityCallback" role="function" condition="deprecated:"/>GimpIntOptionMenuSensitivityCallback ()</title>
<indexterm role="deprecated"><primary>GimpIntOptionMenuSensitivityCallback</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> (*GimpIntOptionMenuSensitivityCallback)
(<link linkend="gint">gint</link> item_data,
<link linkend="gpointer">gpointer</link> callback_data);</programlisting>
@ -151,7 +154,7 @@ same thing as <link linkend="gimp-option-menu-set-history"><function>gimp_option
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-int-option-menu-set-sensitive"/>gimp_int_option_menu_set_sensitive ()</title>
<title><anchor id="gimp-int-option-menu-set-sensitive" role="function" condition="deprecated:"/>gimp_int_option_menu_set_sensitive ()</title>
<indexterm role="deprecated"><primary>gimp_int_option_menu_set_sensitive</primary></indexterm><programlisting><link linkend="void">void</link> gimp_int_option_menu_set_sensitive
(<link linkend="GtkOptionMenu">GtkOptionMenu</link> *option_menu,
<link linkend="GimpIntOptionMenuSensitivityCallback">GimpIntOptionMenuSensitivityCallback</link> callback,
@ -179,7 +182,7 @@ same thing as <link linkend="gimp-option-menu-set-sensitive"><function>gimp_opti
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-option-menu-new"/>gimp_option_menu_new ()</title>
<title><anchor id="gimp-option-menu-new" role="function" condition="deprecated:"/>gimp_option_menu_new ()</title>
<indexterm role="deprecated"><primary>gimp_option_menu_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_option_menu_new (<link linkend="gboolean">gboolean</link> menu_only,
...);</programlisting>
<warning><para><literal>gimp_option_menu_new</literal> is deprecated and should not be used in newly-written code.</para></warning>
@ -189,16 +192,16 @@ Convenience function to create a <link linkend="GtkOptionMenu"><type>GtkOptionMe
</para><variablelist role="params">
<varlistentry><term><parameter>menu_only</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the function should return a <link linkend="GtkMenu"><type>GtkMenu</type></link> only.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the function should return a <link linkend="GtkMenu"><type>GtkMenu</type></link> only.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> A <literal>NULL</literal>-terminated <parameter>va_list</parameter> describing the menu items.
<listitem><simpara> A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated <parameter>va_list</parameter> describing the menu items.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GtkOptionMenu"><type>GtkOptionMenu</type></link> or a <link linkend="GtkMenu"><type>GtkMenu</type></link> (depending on <parameter>menu_only</parameter>).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-option-menu-new2"/>gimp_option_menu_new2 ()</title>
<title><anchor id="gimp-option-menu-new2" role="function" condition="deprecated:"/>gimp_option_menu_new2 ()</title>
<indexterm role="deprecated"><primary>gimp_option_menu_new2</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_option_menu_new2 (<link linkend="gboolean">gboolean</link> menu_only,
<link linkend="GCallback">GCallback</link> menu_item_callback,
<link linkend="gpointer">gpointer</link> menu_item_callback_data,
@ -211,7 +214,7 @@ Convenience function to create a <link linkend="GtkOptionMenu"><type>GtkOptionMe
</para><variablelist role="params">
<varlistentry><term><parameter>menu_only</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the function should return a <link linkend="GtkMenu"><type>GtkMenu</type></link> only.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the function should return a <link linkend="GtkMenu"><type>GtkMenu</type></link> only.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>menu_item_callback</parameter>&nbsp;:</term>
<listitem><simpara> The callback each menu item's "activate" signal will
@ -225,13 +228,13 @@ Convenience function to create a <link linkend="GtkOptionMenu"><type>GtkOptionMe
<listitem><simpara> The <parameter>item_data</parameter> of the initially selected menu item.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> A <literal>NULL</literal>-terminated <parameter>va_list</parameter> describing the menu items.
<listitem><simpara> A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated <parameter>va_list</parameter> describing the menu items.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GtkOptionMenu"><type>GtkOptionMenu</type></link> or a <link linkend="GtkMenu"><type>GtkMenu</type></link> (depending on <parameter>menu_only</parameter>).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-option-menu-set-history"/>gimp_option_menu_set_history ()</title>
<title><anchor id="gimp-option-menu-set-history" role="function" condition="deprecated:"/>gimp_option_menu_set_history ()</title>
<indexterm role="deprecated"><primary>gimp_option_menu_set_history</primary></indexterm><programlisting><link linkend="void">void</link> gimp_option_menu_set_history (<link linkend="GtkOptionMenu">GtkOptionMenu</link> *option_menu,
<link linkend="gpointer">gpointer</link> item_data);</programlisting>
<warning><para><literal>gimp_option_menu_set_history</literal> is deprecated and should not be used in newly-written code.</para></warning>
@ -252,7 +255,7 @@ a <link linkend="GtkOptionMenu"><type>GtkOptionMenu</type></link> that was creat
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GimpOptionMenuSensitivityCallback"/>GimpOptionMenuSensitivityCallback ()</title>
<title><anchor id="GimpOptionMenuSensitivityCallback" role="function" condition="deprecated:"/>GimpOptionMenuSensitivityCallback ()</title>
<indexterm role="deprecated"><primary>GimpOptionMenuSensitivityCallback</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> (*GimpOptionMenuSensitivityCallback)
(<link linkend="gpointer">gpointer</link> item_data,
<link linkend="gpointer">gpointer</link> callback_data);</programlisting>
@ -272,7 +275,7 @@ a <link linkend="GtkOptionMenu"><type>GtkOptionMenu</type></link> that was creat
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-option-menu-set-sensitive"/>gimp_option_menu_set_sensitive ()</title>
<title><anchor id="gimp-option-menu-set-sensitive" role="function" condition="deprecated:"/>gimp_option_menu_set_sensitive ()</title>
<indexterm role="deprecated"><primary>gimp_option_menu_set_sensitive</primary></indexterm><programlisting><link linkend="void">void</link> gimp_option_menu_set_sensitive (<link linkend="GtkOptionMenu">GtkOptionMenu</link> *option_menu,
<link linkend="GimpOptionMenuSensitivityCallback">GimpOptionMenuSensitivityCallback</link> callback,
<link linkend="gpointer">gpointer</link> callback_data);</programlisting>
@ -297,7 +300,7 @@ according to the return value of this function.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-menu-item-update"/>gimp_menu_item_update ()</title>
<title><anchor id="gimp-menu-item-update" role="function" condition="deprecated:"/>gimp_menu_item_update ()</title>
<indexterm role="deprecated"><primary>gimp_menu_item_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_menu_item_update (<link linkend="GtkWidget">GtkWidget</link> *widget,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<warning><para><literal>gimp_menu_item_update</literal> is deprecated and should not be used in newly-written code.</para></warning>

View File

@ -4,16 +4,19 @@
<refentry id="GimpPageSelector">
<refmeta>
<refentrytitle>GimpPageSelector</refentrytitle>
<refentrytitle id="top_of_page">GimpPageSelector</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpPageSelector</refname><refpurpose></refpurpose>
<refname>GimpPageSelector</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -64,8 +67,8 @@ enum <link linkend="GimpPageSelectorTarget">GimpPageSelectorTarget</link>
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -82,8 +85,8 @@ enum <link linkend="GimpPageSelectorTarget">GimpPageSelectorTarget</link>
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpPageSelector implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -91,8 +94,8 @@ GimpPageSelector implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpPageSelector--n-pages">n-pages</link>&quot; <link linkend="gint">gint</link> : Read / Write
@ -100,36 +103,36 @@ GimpPageSelector implements
</synopsis>
</refsect1>
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpPageSelector-activate">activate</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpPageSelector">GimpPageSelector</link> *widget,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first / Action
&quot;<link linkend="GimpPageSelector-selection-changed">selection-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpPageSelector">GimpPageSelector</link> *widget,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpPageSelector-struct"/>GimpPageSelector</title>
<title><anchor id="GimpPageSelector-struct" role="struct"/>GimpPageSelector</title>
<indexterm><primary>GimpPageSelector</primary></indexterm><programlisting>typedef struct _GimpPageSelector GimpPageSelector;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GimpPageSelectorTarget"/>enum GimpPageSelectorTarget</title>
<title><anchor id="GimpPageSelectorTarget" role="enum"/>enum GimpPageSelectorTarget</title>
<indexterm><primary>GimpPageSelectorTarget</primary></indexterm><programlisting>typedef enum
{
GIMP_PAGE_SELECTOR_TARGET_LAYERS, /*&lt; desc="Layers" &gt;*/
@ -140,7 +143,7 @@ GimpPageSelector implements
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-new"/>gimp_page_selector_new ()</title>
<title><anchor id="gimp-page-selector-new" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_new ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_page_selector_new (void);</programlisting>
<para>
Creates a new <link linkend="GimpPageSelector"><type>GimpPageSelector</type></link> widget.</para>
@ -153,7 +156,7 @@ Creates a new <link linkend="GimpPageSelector"><type>GimpPageSelector</type></li
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-set-n-pages"/>gimp_page_selector_set_n_pages ()</title>
<title><anchor id="gimp-page-selector-set-n-pages" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_set_n_pages ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_set_n_pages</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_set_n_pages (<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> n_pages);</programlisting>
<para>
@ -170,7 +173,7 @@ Sets the number of pages in the document to open.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-get-n-pages"/>gimp_page_selector_get_n_pages ()</title>
<title><anchor id="gimp-page-selector-get-n-pages" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_get_n_pages ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_get_n_pages</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_page_selector_get_n_pages (<link linkend="GimpPageSelector">GimpPageSelector</link> *selector);</programlisting>
<para>
</para>
@ -186,7 +189,7 @@ Sets the number of pages in the document to open.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-set-target"/>gimp_page_selector_set_target ()</title>
<title><anchor id="gimp-page-selector-set-target" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_set_target ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_set_target</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_set_target (<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="GimpPageSelectorTarget">GimpPageSelectorTarget</link> target);</programlisting>
<para>
@ -203,7 +206,7 @@ Sets the number of pages in the document to open.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-get-target"/>gimp_page_selector_get_target ()</title>
<title><anchor id="gimp-page-selector-get-target" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_get_target ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_get_target</primary></indexterm><programlisting><link linkend="GimpPageSelectorTarget">GimpPageSelectorTarget</link> gimp_page_selector_get_target
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector);</programlisting>
<para>
@ -220,13 +223,13 @@ Sets the number of pages in the document to open.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-set-page-thumbnail"/>gimp_page_selector_set_page_thumbnail ()</title>
<title><anchor id="gimp-page-selector-set-page-thumbnail" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_set_page_thumbnail ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_set_page_thumbnail</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_set_page_thumbnail
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> page_no,
<link linkend="GdkPixbuf">GdkPixbuf</link> *thumbnail);</programlisting>
<para>
Sets the thumbnail for given <literal>page_no</literal>. A default "page" icon will
Sets the thumbnail for given <link linkend="page-no"><literal>page_no</literal></link>. A default "page" icon will
be used if no page thumbnail is set.</para>
<para>
@ -243,7 +246,7 @@ be used if no page thumbnail is set.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-get-page-thumbnail"/>gimp_page_selector_get_page_thumbnail ()</title>
<title><anchor id="gimp-page-selector-get-page-thumbnail" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_get_page_thumbnail ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_get_page_thumbnail</primary></indexterm><programlisting><link linkend="GdkPixbuf">GdkPixbuf</link>* gimp_page_selector_get_page_thumbnail
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> page_no);</programlisting>
@ -258,7 +261,7 @@ be used if no page thumbnail is set.</para>
<varlistentry><term><parameter>page_no</parameter>&nbsp;:</term>
<listitem><simpara> The number of the page to get the thumbnail for.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The page's thumbnail, or <literal>NULL</literal> if none is set. The returned
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The page's thumbnail, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if none is set. The returned
pixbuf is owned by <link linkend="GimpPageSelector"><type>GimpPageSelector</type></link> and must not be
unref'ed when no longer needed.
@ -266,7 +269,7 @@ be used if no page thumbnail is set.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-set-page-label"/>gimp_page_selector_set_page_label ()</title>
<title><anchor id="gimp-page-selector-set-page-label" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_set_page_label ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_set_page_label</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_set_page_label
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> page_no,
@ -288,7 +291,7 @@ be used if no page thumbnail is set.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-get-page-label"/>gimp_page_selector_get_page_label ()</title>
<title><anchor id="gimp-page-selector-get-page-label" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_get_page_label ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_get_page_label</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* gimp_page_selector_get_page_label
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> page_no);</programlisting>
@ -303,7 +306,7 @@ be used if no page thumbnail is set.</para>
<varlistentry><term><parameter>page_no</parameter>&nbsp;:</term>
<listitem><simpara> The number of the page to get the thumbnail for.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The page's label, or <literal>NULL</literal> if none is set. This is a newly
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The page's label, or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if none is set. This is a newly
allocated string that should be <link linkend="g-free"><function>g_free()</function></link>'d when no longer
needed.
@ -311,7 +314,7 @@ be used if no page thumbnail is set.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-select-all"/>gimp_page_selector_select_all ()</title>
<title><anchor id="gimp-page-selector-select-all" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_select_all ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_select_all</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_select_all (<link linkend="GimpPageSelector">GimpPageSelector</link> *selector);</programlisting>
<para>
Selects all pages.</para>
@ -324,7 +327,7 @@ Selects all pages.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-unselect-all"/>gimp_page_selector_unselect_all ()</title>
<title><anchor id="gimp-page-selector-unselect-all" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_unselect_all ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_unselect_all</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_unselect_all (<link linkend="GimpPageSelector">GimpPageSelector</link> *selector);</programlisting>
<para>
Unselects all pages.</para>
@ -337,7 +340,7 @@ Unselects all pages.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-select-page"/>gimp_page_selector_select_page ()</title>
<title><anchor id="gimp-page-selector-select-page" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_select_page ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_select_page</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_select_page (<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> page_no);</programlisting>
<para>
@ -354,7 +357,7 @@ Adds a page to the selection.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-unselect-page"/>gimp_page_selector_unselect_page ()</title>
<title><anchor id="gimp-page-selector-unselect-page" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_unselect_page ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_unselect_page</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_unselect_page
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> page_no);</programlisting>
@ -372,7 +375,7 @@ Removes a page from the selection.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-page-is-selected"/>gimp_page_selector_page_is_selected ()</title>
<title><anchor id="gimp-page-selector-page-is-selected" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_page_is_selected ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_page_is_selected</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_page_selector_page_is_selected
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> page_no);</programlisting>
@ -387,13 +390,13 @@ Removes a page from the selection.</para>
<varlistentry><term><parameter>page_no</parameter>&nbsp;:</term>
<listitem><simpara> The number of the page to check.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the page is selected, <literal>FALSE</literal> otherwise.
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the page is selected, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise.
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-get-selected-pages"/>gimp_page_selector_get_selected_pages ()</title>
<title><anchor id="gimp-page-selector-get-selected-pages" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_get_selected_pages ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_get_selected_pages</primary></indexterm><programlisting><link linkend="gint">gint</link>* gimp_page_selector_get_selected_pages
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
<link linkend="gint">gint</link> *n_selected_pages);</programlisting>
@ -415,11 +418,11 @@ Removes a page from the selection.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-select-range"/>gimp_page_selector_select_range ()</title>
<title><anchor id="gimp-page-selector-select-range" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_select_range ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_select_range</primary></indexterm><programlisting><link linkend="void">void</link> gimp_page_selector_select_range (<link linkend="GimpPageSelector">GimpPageSelector</link> *selector,
const <link linkend="gchar">gchar</link> *range);</programlisting>
<para>
Selectes the pages described by <literal>range</literal>. The range string is a
Selectes the pages described by <link linkend="range"><literal>range</literal></link>. The range string is a
user-editable list of pages and ranges, e.g. "1,3,5-7,9-12,14".
Note that the page numbering in the range string starts with 1,
not 0.
@ -439,7 +442,7 @@ overlapping pages and ranges will be merged.</para>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-page-selector-get-selected-range"/>gimp_page_selector_get_selected_range ()</title>
<title><anchor id="gimp-page-selector-get-selected-range" role="function" condition="since:GIMP 2.4"/>gimp_page_selector_get_selected_range ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_page_selector_get_selected_range</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* gimp_page_selector_get_selected_range
(<link linkend="GimpPageSelector">GimpPageSelector</link> *selector);</programlisting>
<para>
@ -459,10 +462,10 @@ overlapping pages and ranges will be merged.</para>
</para></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpPageSelector--n-pages"/>The &quot;<literal>n-pages</literal>&quot; property</title>
<programlisting> &quot;n-pages&quot; <link linkend="gint">gint</link> : Read / Write</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpPageSelector:n-pages</primary></indexterm><programlisting> &quot;n-pages&quot; <link linkend="gint">gint</link> : Read / Write</programlisting>
<para>
The number of pages of the document to open.</para>
<para>
@ -473,7 +476,7 @@ The number of pages of the document to open.</para>
</para>
</refsect2>
<refsect2><title><anchor id="GimpPageSelector--target"/>The &quot;<literal>target</literal>&quot; property</title>
<programlisting> &quot;target&quot; <link linkend="GimpPageSelectorTarget">GimpPageSelectorTarget</link> : Read / Write</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpPageSelector:target</primary></indexterm><programlisting> &quot;target&quot; <link linkend="GimpPageSelectorTarget">GimpPageSelectorTarget</link> : Read / Write</programlisting>
<para>
The target to open the document to.</para>
<para>
@ -485,11 +488,11 @@ The target to open the document to.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpPageSelector-activate"/>The &quot;activate&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPageSelector">GimpPageSelector</link> *widget,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpPageSelector::activate</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPageSelector">GimpPageSelector</link> *widget,
<link linkend="gpointer">gpointer</link> user_data) : Run first / Action</programlisting>
<para>
The "activate" signal on GimpPageSelector is an action signal. It
is emitted when a user double-clicks an item in the page selection.</para>
@ -503,8 +506,8 @@ is emitted when a user double-clicks an item in the page selection.</para>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.4
</para></refsect2><refsect2><title><anchor id="GimpPageSelector-selection-changed"/>The &quot;selection-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPageSelector">GimpPageSelector</link> *widget,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm role="GIMP 2.4"><primary>GimpPageSelector::selection-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPageSelector">GimpPageSelector</link> *widget,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
This signal is emitted whenever the set of selected pages changes.</para>
<para>

View File

@ -4,23 +4,26 @@
<refentry id="GimpPathEditor">
<refmeta>
<refentrytitle>GimpPathEditor</refentrytitle>
<refentrytitle id="top_of_page">GimpPathEditor</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpPathEditor</refname><refpurpose>Widget for editing a file search path.</refpurpose>
<refname>GimpPathEditor</refname>
<refpurpose>Widget for editing a file search path.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
<link linkend="GimpPathEditor-struct">GimpPathEditor</link>;
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="gimp-path-editor-new">gimp_path_editor_new</link> (const <link linkend="gchar">gchar</link> *filesel_title,
<link linkend="GtkWidget">GtkWidget</link>* <link linkend="gimp-path-editor-new">gimp_path_editor_new</link> (const <link linkend="gchar">gchar</link> *title,
const <link linkend="gchar">gchar</link> *path);
<link linkend="gchar">gchar</link>* <link linkend="gimp-path-editor-get-path">gimp_path_editor_get_path</link> (<link linkend="GimpPathEditor">GimpPathEditor</link> *editor);
<link linkend="void">void</link> <link linkend="gimp-path-editor-set-path">gimp_path_editor_set_path</link> (<link linkend="GimpPathEditor">GimpPathEditor</link> *editor,
@ -41,8 +44,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -59,8 +62,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpPathEditor implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -69,22 +72,22 @@ GimpPathEditor implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpPathEditor-path-changed">path-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpPathEditor">GimpPathEditor</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
&quot;<link linkend="GimpPathEditor-writable-changed">writable-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpPathEditor">GimpPathEditor</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
This widget is used to edit file search paths.
</para>
@ -103,17 +106,17 @@ the search path, the "path_changed" signal will be emitted.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpPathEditor-struct"/>GimpPathEditor</title>
<title><anchor id="GimpPathEditor-struct" role="struct"/>GimpPathEditor</title>
<indexterm><primary>GimpPathEditor</primary></indexterm><programlisting>typedef struct _GimpPathEditor GimpPathEditor;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-path-editor-new"/>gimp_path_editor_new ()</title>
<indexterm><primary>gimp_path_editor_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_path_editor_new (const <link linkend="gchar">gchar</link> *filesel_title,
<title><anchor id="gimp-path-editor-new" role="function"/>gimp_path_editor_new ()</title>
<indexterm><primary>gimp_path_editor_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_path_editor_new (const <link linkend="gchar">gchar</link> *title,
const <link linkend="gchar">gchar</link> *path);</programlisting>
<para>
Creates a new <link linkend="GimpPathEditor"><type>GimpPathEditor</type></link> widget.
@ -124,18 +127,17 @@ The elements of the initial search path must be separated with the
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>filesel_title</parameter>&nbsp;:</term>
<listitem><simpara> The title of the <link linkend="GtkFileSelection"><type>GtkFileSelection</type></link> dialog which can be
popped up by the attached <link linkend="GimpFileSelection"><type>GimpFileSelection</type></link>.
<varlistentry><term><parameter>title</parameter>&nbsp;:</term>
<listitem><simpara> The title of the <link linkend="GtkFileChooser"><type>GtkFileChooser</type></link> dialog which can be popped up.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>path</parameter>&nbsp;:</term>
<listitem><simpara> The initial search path.
<listitem><simpara> The initial search path.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A pointer to the new <link linkend="GimpPathEditor"><type>GimpPathEditor</type></link> widget.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-path-editor-get-path"/>gimp_path_editor_get_path ()</title>
<title><anchor id="gimp-path-editor-get-path" role="function"/>gimp_path_editor_get_path ()</title>
<indexterm><primary>gimp_path_editor_get_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* gimp_path_editor_get_path (<link linkend="GimpPathEditor">GimpPathEditor</link> *editor);</programlisting>
<para>
The elements of the returned search path string are separated with the
@ -153,7 +155,7 @@ Note that you have to <link linkend="g-free"><function>g_free()</function></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-path-editor-set-path"/>gimp_path_editor_set_path ()</title>
<title><anchor id="gimp-path-editor-set-path" role="function"/>gimp_path_editor_set_path ()</title>
<indexterm><primary>gimp_path_editor_set_path</primary></indexterm><programlisting><link linkend="void">void</link> gimp_path_editor_set_path (<link linkend="GimpPathEditor">GimpPathEditor</link> *editor,
const <link linkend="gchar">gchar</link> *path);</programlisting>
<para>
@ -170,7 +172,7 @@ The elements of the initial search path must be separated with the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-path-editor-get-writable-path"/>gimp_path_editor_get_writable_path ()</title>
<title><anchor id="gimp-path-editor-get-writable-path" role="function"/>gimp_path_editor_get_writable_path ()</title>
<indexterm><primary>gimp_path_editor_get_writable_path</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* gimp_path_editor_get_writable_path
(<link linkend="GimpPathEditor">GimpPathEditor</link> *editor);</programlisting>
<para>
@ -185,7 +187,7 @@ The elements of the initial search path must be separated with the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-path-editor-set-writable-path"/>gimp_path_editor_set_writable_path ()</title>
<title><anchor id="gimp-path-editor-set-writable-path" role="function"/>gimp_path_editor_set_writable_path ()</title>
<indexterm><primary>gimp_path_editor_set_writable_path</primary></indexterm><programlisting><link linkend="void">void</link> gimp_path_editor_set_writable_path
(<link linkend="GimpPathEditor">GimpPathEditor</link> *editor,
const <link linkend="gchar">gchar</link> *path);</programlisting>
@ -202,7 +204,7 @@ The elements of the initial search path must be separated with the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-path-editor-get-dir-writable"/>gimp_path_editor_get_dir_writable ()</title>
<title><anchor id="gimp-path-editor-get-dir-writable" role="function"/>gimp_path_editor_get_dir_writable ()</title>
<indexterm><primary>gimp_path_editor_get_dir_writable</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_editor_get_dir_writable
(<link linkend="GimpPathEditor">GimpPathEditor</link> *editor,
const <link linkend="gchar">gchar</link> *directory);</programlisting>
@ -221,7 +223,7 @@ The elements of the initial search path must be separated with the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-path-editor-set-dir-writable"/>gimp_path_editor_set_dir_writable ()</title>
<title><anchor id="gimp-path-editor-set-dir-writable" role="function"/>gimp_path_editor_set_dir_writable ()</title>
<indexterm><primary>gimp_path_editor_set_dir_writable</primary></indexterm><programlisting><link linkend="void">void</link> gimp_path_editor_set_dir_writable
(<link linkend="GimpPathEditor">GimpPathEditor</link> *editor,
const <link linkend="gchar">gchar</link> *directory,
@ -244,11 +246,11 @@ The elements of the initial search path must be separated with the
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpPathEditor-path-changed"/>The &quot;path-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPathEditor">GimpPathEditor</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpPathEditor::path-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPathEditor">GimpPathEditor</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
This signal is emitted whenever the user adds, deletes, modifies
or reorders an element of the search path.</para>
@ -258,8 +260,8 @@ or reorders an element of the search path.</para>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2><title><anchor id="GimpPathEditor-writable-changed"/>The &quot;writable-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPathEditor">GimpPathEditor</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpPathEditor::writable-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPathEditor">GimpPathEditor</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
This signal is emitted whenever the "writable" column of a directory
is changed, either by the user clicking on it or by calling

View File

@ -4,16 +4,19 @@
<refentry id="GimpPickButton">
<refmeta>
<refentrytitle>GimpPickButton</refentrytitle>
<refentrytitle id="top_of_page">GimpPickButton</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpPickButton</refname><refpurpose>Widget to pick a color from screen.</refpurpose>
<refname>GimpPickButton</refname>
<refpurpose>Widget to pick a color from screen.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -25,8 +28,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -43,8 +46,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpPickButton implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -53,20 +56,20 @@ GimpPickButton implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpPickButton-color-picked">color-picked</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpPickButton">GimpPickButton</link> *gimppickbutton,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
<link linkend="GimpPickButton"><type>GimpPickButton</type></link> is a specialized button. When clicked, it changes the
cursor to a color-picker pipette and allows the user to pick a color
@ -74,16 +77,16 @@ from any point on the screen.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpPickButton-struct"/>GimpPickButton</title>
<title><anchor id="GimpPickButton-struct" role="struct"/>GimpPickButton</title>
<indexterm><primary>GimpPickButton</primary></indexterm><programlisting>typedef struct _GimpPickButton GimpPickButton;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-pick-button-new"/>gimp_pick_button_new ()</title>
<title><anchor id="gimp-pick-button-new" role="function"/>gimp_pick_button_new ()</title>
<indexterm><primary>gimp_pick_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_pick_button_new (void);</programlisting>
<para>
Creates a new <link linkend="GimpPickButton"><type>GimpPickButton</type></link> widget.</para>
@ -96,12 +99,12 @@ Creates a new <link linkend="GimpPickButton"><type>GimpPickButton</type></link>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpPickButton-color-picked"/>The &quot;color-picked&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPickButton">GimpPickButton</link> *gimppickbutton,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpPickButton::color-picked</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPickButton">GimpPickButton</link> *gimppickbutton,
<link linkend="gpointer">gpointer</link> arg1,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpPixmap">
<refmeta>
<refentrytitle>GimpPixmap</refentrytitle>
<refentrytitle id="top_of_page">GimpPixmap</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpPixmap</refname><refpurpose>Widget which creates a <link linkend="GtkPixmap"><type>GtkPixmap</type></link> from XPM data.</refpurpose>
<refname>GimpPixmap</refname>
<refpurpose>Widget which creates a <link linkend="GtkPixmap"><type>GtkPixmap</type></link> from XPM data.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -27,8 +30,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -44,8 +47,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpPixmap implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -56,8 +59,8 @@ GimpPixmap implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
Widget which creates a <link linkend="GtkPixmap"><type>GtkPixmap</type></link> from XPM data.
</para>
@ -72,17 +75,17 @@ and cannot be cached in memory without doing bad hacks.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpPixmap-struct"/>GimpPixmap</title>
<title><anchor id="GimpPixmap-struct" role="struct"/>GimpPixmap</title>
<indexterm role="deprecated"><primary>GimpPixmap</primary></indexterm><programlisting>typedef struct _GimpPixmap GimpPixmap;</programlisting>
<warning><para><literal>GimpPixmap</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-pixmap-new"/>gimp_pixmap_new ()</title>
<title><anchor id="gimp-pixmap-new" role="function" condition="deprecated:"/>gimp_pixmap_new ()</title>
<indexterm role="deprecated"><primary>gimp_pixmap_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_pixmap_new (<link linkend="gchar">gchar</link> **xpm_data);</programlisting>
<warning><para><literal>gimp_pixmap_new</literal> is deprecated and should not be used in newly-written code.</para></warning>
<para>
@ -97,7 +100,7 @@ Creates a new <link linkend="GimpPixmap"><type>GimpPixmap</type></link> widget.<
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-pixmap-set"/>gimp_pixmap_set ()</title>
<title><anchor id="gimp-pixmap-set" role="function" condition="deprecated:"/>gimp_pixmap_set ()</title>
<indexterm role="deprecated"><primary>gimp_pixmap_set</primary></indexterm><programlisting><link linkend="void">void</link> gimp_pixmap_set (<link linkend="GimpPixmap">GimpPixmap</link> *pixmap,
<link linkend="gchar">gchar</link> **xpm_data);</programlisting>
<warning><para><literal>gimp_pixmap_set</literal> is deprecated and should not be used in newly-written code.</para></warning>

View File

@ -4,16 +4,19 @@
<refentry id="GimpPreview">
<refmeta>
<refentrytitle>GimpPreview</refentrytitle>
<refentrytitle id="top_of_page">GimpPreview</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpPreview</refname><refpurpose>A widget providing a <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type></link> plus framework to update the preview.</refpurpose>
<refname>GimpPreview</refname>
<refpurpose>A widget providing a <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type></link> plus framework to update the preview.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -47,8 +50,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -66,8 +69,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpPreview implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -75,49 +78,49 @@ GimpPreview implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpPreview--update">update</link>&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct
</synopsis>
</refsect1>
<refsect1>
<title>Style Properties</title>
<refsect1 id="style_properties">
<title id="style_properties.title">Style Properties</title>
<synopsis>
&quot;<link linkend="GimpPreview--size">size</link>&quot; <link linkend="gint">gint</link> : Read
</synopsis>
</refsect1>
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpPreview-invalidated">invalidated</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpPreview">GimpPreview</link> *gimppreview,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
A widget providing a <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type></link> plus framework to update the preview.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpPreview-struct"/>GimpPreview</title>
<title><anchor id="GimpPreview-struct" role="struct"/>GimpPreview</title>
<indexterm><primary>GimpPreview</primary></indexterm><programlisting>typedef struct _GimpPreview GimpPreview;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-get-update"/>gimp_preview_get_update ()</title>
<title><anchor id="gimp-preview-get-update" role="function" condition="since:GIMP 2.2"/>gimp_preview_get_update ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_get_update</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_preview_get_update (<link linkend="GimpPreview">GimpPreview</link> *preview);</programlisting>
<para>
</para>
@ -133,7 +136,7 @@ A widget providing a <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-set-update"/>gimp_preview_set_update ()</title>
<title><anchor id="gimp-preview-set-update" role="function" condition="since:GIMP 2.2"/>gimp_preview_set_update ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_set_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_set_update (<link linkend="GimpPreview">GimpPreview</link> *preview,
<link linkend="gboolean">gboolean</link> update);</programlisting>
<para>
@ -145,13 +148,13 @@ Sets the state of the "Preview" check button.</para>
<listitem><simpara> a <link linkend="GimpPreview"><type>GimpPreview</type></link> widget
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>update</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the preview should invalidate itself when being
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the preview should invalidate itself when being
scrolled or when <link linkend="gimp-preview-invalidate"><function>gimp_preview_invalidate()</function></link> is being called
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-set-bounds"/>gimp_preview_set_bounds ()</title>
<title><anchor id="gimp-preview-set-bounds" role="function" condition="since:GIMP 2.2"/>gimp_preview_set_bounds ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_set_bounds</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_set_bounds (<link linkend="GimpPreview">GimpPreview</link> *preview,
<link linkend="gint">gint</link> xmin,
<link linkend="gint">gint</link> ymin,
@ -182,7 +185,7 @@ maximum size of the <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-get-size"/>gimp_preview_get_size ()</title>
<title><anchor id="gimp-preview-get-size" role="function" condition="since:GIMP 2.2"/>gimp_preview_get_size ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_get_size</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_get_size (<link linkend="GimpPreview">GimpPreview</link> *preview,
<link linkend="gint">gint</link> *width,
<link linkend="gint">gint</link> *height);</programlisting>
@ -203,7 +206,7 @@ maximum size of the <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-get-position"/>gimp_preview_get_position ()</title>
<title><anchor id="gimp-preview-get-position" role="function" condition="since:GIMP 2.2"/>gimp_preview_get_position ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_get_position</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_get_position (<link linkend="GimpPreview">GimpPreview</link> *preview,
<link linkend="gint">gint</link> *x,
<link linkend="gint">gint</link> *y);</programlisting>
@ -224,7 +227,7 @@ maximum size of the <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-get-area"/>gimp_preview_get_area ()</title>
<title><anchor id="gimp-preview-get-area" role="function" condition="since:GIMP 2.4"/>gimp_preview_get_area ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_preview_get_area</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_preview_get_area (<link linkend="GimpPreview">GimpPreview</link> *preview);</programlisting>
<para>
In most cases, you shouldn't need to access the <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type></link>
@ -243,7 +246,7 @@ such cases, use <link linkend="gimp-preview-get-area"><function>gimp_preview_get
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-draw"/>gimp_preview_draw ()</title>
<title><anchor id="gimp-preview-draw" role="function" condition="since:GIMP 2.2"/>gimp_preview_draw ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_draw</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_draw (<link linkend="GimpPreview">GimpPreview</link> *preview);</programlisting>
<para>
Calls the GimpPreview::draw method. GimpPreview itself doesn't
@ -262,7 +265,7 @@ original, unmodified drawable to the <parameter>preview</parameter>.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-draw-buffer"/>gimp_preview_draw_buffer ()</title>
<title><anchor id="gimp-preview-draw-buffer" role="function" condition="since:GIMP 2.2"/>gimp_preview_draw_buffer ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_draw_buffer</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_draw_buffer (<link linkend="GimpPreview">GimpPreview</link> *preview,
const <link linkend="guchar">guchar</link> *buffer,
<link linkend="gint">gint</link> rowstride);</programlisting>
@ -285,7 +288,7 @@ derived class implementing this method.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-invalidate"/>gimp_preview_invalidate ()</title>
<title><anchor id="gimp-preview-invalidate" role="function" condition="since:GIMP 2.2"/>gimp_preview_invalidate ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_invalidate</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_invalidate (<link linkend="GimpPreview">GimpPreview</link> *preview);</programlisting>
<para>
This function starts or renews a short low-priority timeout. When
@ -308,13 +311,13 @@ itself.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-set-default-cursor"/>gimp_preview_set_default_cursor ()</title>
<title><anchor id="gimp-preview-set-default-cursor" role="function" condition="since:GIMP 2.2"/>gimp_preview_set_default_cursor ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_set_default_cursor</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_set_default_cursor (<link linkend="GimpPreview">GimpPreview</link> *preview,
<link linkend="GdkCursor">GdkCursor</link> *cursor);</programlisting>
<para>
Sets the default mouse cursor for the preview. Note that this will
be overriden by a <literal>GDK_FLEUR</literal> if the preview has scrollbars, or by a
<literal>GDK_WATCH</literal> when the preview is invalidated.</para>
be overriden by a <link linkend="GDK-FLEUR:CAPS"><literal>GDK_FLEUR</literal></link> if the preview has scrollbars, or by a
<link linkend="GDK-WATCH:CAPS"><literal>GDK_WATCH</literal></link> when the preview is invalidated.</para>
<para>
</para><variablelist role="params">
@ -322,12 +325,12 @@ be overriden by a <literal>GDK_FLEUR</literal> if the preview has scrollbars, or
<listitem><simpara> a <link linkend="GimpPreview"><type>GimpPreview</type></link> widget
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>cursor</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GdkCursor"><type>GdkCursor</type></link> or <literal>NULL</literal>
<listitem><simpara> a <link linkend="GdkCursor"><type>GdkCursor</type></link> or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-get-controls"/>gimp_preview_get_controls ()</title>
<title><anchor id="gimp-preview-get-controls" role="function" condition="since:GIMP 2.4"/>gimp_preview_get_controls ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_preview_get_controls</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_preview_get_controls (<link linkend="GimpPreview">GimpPreview</link> *preview);</programlisting>
<para>
Gives access to the <link linkend="GtkHBox"><type>GtkHBox</type></link> at the bottom of the preview that
@ -346,29 +349,29 @@ if they need to add controls to this area.</para>
</para></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpPreview--update"/>The &quot;<literal>update</literal>&quot; property</title>
<programlisting> &quot;update&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
<indexterm><primary>GimpPreview:update</primary></indexterm><programlisting> &quot;update&quot; <link linkend="gboolean">gboolean</link> : Read / Write / Construct</programlisting>
<para></para><para>Default value: TRUE</para>
</refsect2>
</refsect1>
<refsect1>
<title>Style Properties</title>
<refsect1 id="style_properties_details">
<title id="style_properties_details.title">Style Property Details</title>
<refsect2><title><anchor id="GimpPreview--size"/>The &quot;<literal>size</literal>&quot; style property</title>
<programlisting> &quot;size&quot; <link linkend="gint">gint</link> : Read</programlisting>
<indexterm><primary>GimpPreview:size</primary></indexterm><programlisting> &quot;size&quot; <link linkend="gint">gint</link> : Read</programlisting>
<para></para><para>Allowed values: [1,1024]</para>
<para>Default value: 200</para>
</refsect2>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpPreview-invalidated"/>The &quot;invalidated&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPreview">GimpPreview</link> *gimppreview,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpPreview::invalidated</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpPreview">GimpPreview</link> *gimppreview,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

View File

@ -4,16 +4,19 @@
<refentry id="GimpPreviewArea">
<refmeta>
<refentrytitle>GimpPreviewArea</refentrytitle>
<refentrytitle id="top_of_page">GimpPreviewArea</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpPreviewArea</refname><refpurpose>A general purpose preview widget which caches its pixel data.</refpurpose>
<refname>GimpPreviewArea</refname>
<refpurpose>A general purpose preview widget which caches its pixel data.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -75,8 +78,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -91,8 +94,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpPreviewArea implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -100,8 +103,8 @@ GimpPreviewArea implements
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpPreviewArea--check-size">check-size</link>&quot; <link linkend="GimpCheckSize">GimpCheckSize</link> : Read / Write
@ -111,23 +114,23 @@ GimpPreviewArea implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
A general purpose preview widget which caches its pixel data.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpPreviewArea-struct"/>GimpPreviewArea</title>
<title><anchor id="GimpPreviewArea-struct" role="struct"/>GimpPreviewArea</title>
<indexterm><primary>GimpPreviewArea</primary></indexterm><programlisting>typedef struct _GimpPreviewArea GimpPreviewArea;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-new"/>gimp_preview_area_new ()</title>
<title><anchor id="gimp-preview-area-new" role="function"/>gimp_preview_area_new ()</title>
<indexterm><primary>gimp_preview_area_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_preview_area_new (void);</programlisting>
<para>
Creates a new <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type></link> widget.</para>
@ -140,7 +143,7 @@ Since GIMP 2.2
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-draw"/>gimp_preview_area_draw ()</title>
<title><anchor id="gimp-preview-area-draw" role="function"/>gimp_preview_area_draw ()</title>
<indexterm><primary>gimp_preview_area_draw</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_area_draw (<link linkend="GimpPreviewArea">GimpPreviewArea</link> *area,
<link linkend="gint">gint</link> x,
<link linkend="gint">gint</link> y,
@ -183,7 +186,7 @@ Since GIMP 2.2</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-fill"/>gimp_preview_area_fill ()</title>
<title><anchor id="gimp-preview-area-fill" role="function"/>gimp_preview_area_fill ()</title>
<indexterm><primary>gimp_preview_area_fill</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_area_fill (<link linkend="GimpPreviewArea">GimpPreviewArea</link> *area,
<link linkend="gint">gint</link> x,
<link linkend="gint">gint</link> y,
@ -227,7 +230,7 @@ Since GIMP 2.2</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-blend"/>gimp_preview_area_blend ()</title>
<title><anchor id="gimp-preview-area-blend" role="function"/>gimp_preview_area_blend ()</title>
<indexterm><primary>gimp_preview_area_blend</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_area_blend (<link linkend="GimpPreviewArea">GimpPreviewArea</link> *area,
<link linkend="gint">gint</link> x,
<link linkend="gint">gint</link> y,
@ -285,7 +288,7 @@ Since GIMP 2.2</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-mask"/>gimp_preview_area_mask ()</title>
<title><anchor id="gimp-preview-area-mask" role="function"/>gimp_preview_area_mask ()</title>
<indexterm><primary>gimp_preview_area_mask</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_area_mask (<link linkend="GimpPreviewArea">GimpPreviewArea</link> *area,
<link linkend="gint">gint</link> x,
<link linkend="gint">gint</link> y,
@ -348,7 +351,7 @@ Since GIMP 2.2</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-set-offsets"/>gimp_preview_area_set_offsets ()</title>
<title><anchor id="gimp-preview-area-set-offsets" role="function" condition="since:GIMP 2.2"/>gimp_preview_area_set_offsets ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_area_set_offsets</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_area_set_offsets (<link linkend="GimpPreviewArea">GimpPreviewArea</link> *area,
<link linkend="gint">gint</link> x,
<link linkend="gint">gint</link> y);</programlisting>
@ -370,14 +373,14 @@ when drawing the checkerboard and to determine the dither offsets.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-set-colormap"/>gimp_preview_area_set_colormap ()</title>
<title><anchor id="gimp-preview-area-set-colormap" role="function"/>gimp_preview_area_set_colormap ()</title>
<indexterm><primary>gimp_preview_area_set_colormap</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_area_set_colormap (<link linkend="GimpPreviewArea">GimpPreviewArea</link> *area,
const <link linkend="guchar">guchar</link> *colormap,
<link linkend="gint">gint</link> num_colors);</programlisting>
<para>
Sets the colormap for the <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type></link> widget. You need to
call this function before you use <link linkend="gimp-preview-area-draw"><function>gimp_preview_area_draw()</function></link> with
an image type of <literal>GIMP_INDEXED_IMAGE</literal> or <literal>GIMP_INDEXEDA_IMAGE</literal>.
an image type of <link linkend="GIMP-INDEXED-IMAGE:CAPS"><literal>GIMP_INDEXED_IMAGE</literal></link> or <link linkend="GIMP-INDEXEDA-IMAGE:CAPS"><literal>GIMP_INDEXEDA_IMAGE</literal></link>.
</para>
<para>
Since GIMP 2.2</para>
@ -395,7 +398,7 @@ Since GIMP 2.2</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-set-max-size"/>gimp_preview_area_set_max_size ()</title>
<title><anchor id="gimp-preview-area-set-max-size" role="function" condition="since:GIMP 2.2"/>gimp_preview_area_set_max_size ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_area_set_max_size</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_area_set_max_size (<link linkend="GimpPreviewArea">GimpPreviewArea</link> *area,
<link linkend="gint">gint</link> width,
<link linkend="gint">gint</link> height);</programlisting>
@ -419,7 +422,7 @@ preview will draw itself centered into the allocated area.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-preview-area-menu-popup"/>gimp_preview_area_menu_popup ()</title>
<title><anchor id="gimp-preview-area-menu-popup" role="function" condition="since:GIMP 2.2"/>gimp_preview_area_menu_popup ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_preview_area_menu_popup</primary></indexterm><programlisting><link linkend="void">void</link> gimp_preview_area_menu_popup (<link linkend="GimpPreviewArea">GimpPreviewArea</link> *area,
<link linkend="GdkEventButton">GdkEventButton</link> *event);</programlisting>
<para>
@ -432,20 +435,20 @@ the checkerboard pattern that the <parameter>area</parameter> uses to visualize
<listitem><simpara> a <link linkend="GimpPreviewArea"><type>GimpPreviewArea</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>event</parameter>&nbsp;:</term>
<listitem><simpara> the button event that causes the menu to popup or <literal>NULL</literal>
<listitem><simpara> the button event that causes the menu to popup or <link linkend="NULL:CAPS"><literal>NULL</literal></link>
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpPreviewArea--check-size"/>The &quot;<literal>check-size</literal>&quot; property</title>
<programlisting> &quot;check-size&quot; <link linkend="GimpCheckSize">GimpCheckSize</link> : Read / Write</programlisting>
<indexterm><primary>GimpPreviewArea:check-size</primary></indexterm><programlisting> &quot;check-size&quot; <link linkend="GimpCheckSize">GimpCheckSize</link> : Read / Write</programlisting>
<para></para><para>Default value: GIMP_CHECK_SIZE_MEDIUM_CHECKS</para>
</refsect2>
<refsect2><title><anchor id="GimpPreviewArea--check-type"/>The &quot;<literal>check-type</literal>&quot; property</title>
<programlisting> &quot;check-type&quot; <link linkend="GimpCheckType">GimpCheckType</link> : Read / Write</programlisting>
<indexterm><primary>GimpPreviewArea:check-type</primary></indexterm><programlisting> &quot;check-type&quot; <link linkend="GimpCheckType">GimpCheckType</link> : Read / Write</programlisting>
<para></para><para>Default value: GIMP_CHECK_TYPE_GRAY_CHECKS</para>
</refsect2>

View File

@ -4,16 +4,19 @@
<refentry id="libgimpwidgets-GimpPropWidgets">
<refmeta>
<refentrytitle>GimpPropWidgets</refentrytitle>
<refentrytitle id="top_of_page">GimpPropWidgets</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpPropWidgets</refname><refpurpose></refpurpose>
<refname>GimpPropWidgets</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -82,9 +85,9 @@
<link linkend="gdouble">gdouble</link> step_increment,
<link linkend="gdouble">gdouble</link> page_increment,
<link linkend="gint">gint</link> digits,
<link linkend="gboolean">gboolean</link> restrict _scale,
<link linkend="gdouble">gdouble</link> restrict ed_lower,
<link linkend="gdouble">gdouble</link> restrict ed_upper);
<link linkend="gboolean">gboolean</link> limit_scale,
<link linkend="gdouble">gdouble</link> lower_limit,
<link linkend="gdouble">gdouble</link> upper_limit);
<link linkend="GtkObject">GtkObject</link>* <link linkend="gimp-prop-opacity-entry-new">gimp_prop_opacity_entry_new</link> (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="GtkTable">GtkTable</link> *table,
@ -160,17 +163,17 @@
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="gimp-prop-check-button-new"/>gimp_prop_check_button_new ()</title>
<title><anchor id="gimp-prop-check-button-new" role="function"/>gimp_prop_check_button_new ()</title>
<indexterm><primary>gimp_prop_check_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_check_button_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *label);</programlisting>
@ -195,7 +198,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-boolean-combo-box-new"/>gimp_prop_boolean_combo_box_new ()</title>
<title><anchor id="gimp-prop-boolean-combo-box-new" role="function"/>gimp_prop_boolean_combo_box_new ()</title>
<indexterm><primary>gimp_prop_boolean_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_boolean_combo_box_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *true_text,
@ -215,10 +218,10 @@ displaying the <parameter>true_text</parameter> label, the other displaying the
<listitem><simpara> Name of boolean property controlled by combo box.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>true_text</parameter>&nbsp;:</term>
<listitem><simpara> Label used for entry corresponding to <literal>TRUE</literal> value.
<listitem><simpara> Label used for entry corresponding to <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> value.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>false_text</parameter>&nbsp;:</term>
<listitem><simpara> Label used for entry corresponding to <literal>FALSE</literal> value.
<listitem><simpara> Label used for entry corresponding to <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> value.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The newly created <link linkend="GtkComboBox"><type>GtkComboBox</type></link> widget, optionally
wrapped into a <link linkend="GtkEventBox"><type>GtkEventBox</type></link>..
@ -227,7 +230,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-boolean-radio-frame-new"/>gimp_prop_boolean_radio_frame_new ()</title>
<title><anchor id="gimp-prop-boolean-radio-frame-new" role="function"/>gimp_prop_boolean_radio_frame_new ()</title>
<indexterm><primary>gimp_prop_boolean_radio_frame_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_boolean_radio_frame_new
(<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
@ -250,10 +253,10 @@ the specified boolean property.</para>
<listitem><simpara> Label for the frame.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>true_text</parameter>&nbsp;:</term>
<listitem><simpara> Label for the button corresponding to <literal>TRUE</literal>.
<listitem><simpara> Label for the button corresponding to <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>false_text</parameter>&nbsp;:</term>
<listitem><simpara> Label for the button corresponding to <literal>FALSE</literal>.
<listitem><simpara> Label for the button corresponding to <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GimpFrame"><type>GimpFrame</type></link> containing the radio buttons.
@ -261,13 +264,13 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-expander-new"/>gimp_prop_expander_new ()</title>
<title><anchor id="gimp-prop-expander-new" role="function"/>gimp_prop_expander_new ()</title>
<indexterm><primary>gimp_prop_expander_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_expander_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *label);</programlisting>
<para>
Creates a <link linkend="GtkExpander"><type>GtkExpander</type></link> controlled by the specified boolean property.
A value of <literal>TRUE</literal> for the property corresponds to the expanded state
A value of <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> for the property corresponds to the expanded state
for the widget.</para>
<para>
@ -287,7 +290,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-hscale-new"/>gimp_prop_hscale_new ()</title>
<title><anchor id="gimp-prop-hscale-new" role="function"/>gimp_prop_hscale_new ()</title>
<indexterm><primary>gimp_prop_hscale_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_hscale_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="gdouble">gdouble</link> step_increment,
@ -320,7 +323,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-int-combo-box-new"/>gimp_prop_int_combo_box_new ()</title>
<title><anchor id="gimp-prop-int-combo-box-new" role="function"/>gimp_prop_int_combo_box_new ()</title>
<indexterm><primary>gimp_prop_int_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_int_combo_box_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="GimpIntStore">GimpIntStore</link> *store);</programlisting>
@ -347,7 +350,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-enum-combo-box-new"/>gimp_prop_enum_combo_box_new ()</title>
<title><anchor id="gimp-prop-enum-combo-box-new" role="function"/>gimp_prop_enum_combo_box_new ()</title>
<indexterm><primary>gimp_prop_enum_combo_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_enum_combo_box_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="gint">gint</link> minimum,
@ -380,7 +383,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-enum-check-button-new"/>gimp_prop_enum_check_button_new ()</title>
<title><anchor id="gimp-prop-enum-check-button-new" role="function"/>gimp_prop_enum_check_button_new ()</title>
<indexterm><primary>gimp_prop_enum_check_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_enum_check_button_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *label,
@ -415,7 +418,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-enum-label-new"/>gimp_prop_enum_label_new ()</title>
<title><anchor id="gimp-prop-enum-label-new" role="function"/>gimp_prop_enum_label_new ()</title>
<indexterm><primary>gimp_prop_enum_label_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_enum_label_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name);</programlisting>
<para>
@ -435,7 +438,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-enum-radio-frame-new"/>gimp_prop_enum_radio_frame_new ()</title>
<title><anchor id="gimp-prop-enum-radio-frame-new" role="function"/>gimp_prop_enum_radio_frame_new ()</title>
<indexterm><primary>gimp_prop_enum_radio_frame_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_enum_radio_frame_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *title,
@ -470,7 +473,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-enum-radio-box-new"/>gimp_prop_enum_radio_box_new ()</title>
<title><anchor id="gimp-prop-enum-radio-box-new" role="function"/>gimp_prop_enum_radio_box_new ()</title>
<indexterm><primary>gimp_prop_enum_radio_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_enum_radio_box_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="gint">gint</link> minimum,
@ -503,7 +506,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-enum-stock-box-new"/>gimp_prop_enum_stock_box_new ()</title>
<title><anchor id="gimp-prop-enum-stock-box-new" role="function"/>gimp_prop_enum_stock_box_new ()</title>
<indexterm><primary>gimp_prop_enum_stock_box_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_enum_stock_box_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *stock_prefix,
@ -539,7 +542,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-spin-button-new"/>gimp_prop_spin_button_new ()</title>
<title><anchor id="gimp-prop-spin-button-new" role="function"/>gimp_prop_spin_button_new ()</title>
<indexterm><primary>gimp_prop_spin_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_spin_button_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="gdouble">gdouble</link> step_increment,
@ -572,7 +575,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-scale-entry-new"/>gimp_prop_scale_entry_new ()</title>
<title><anchor id="gimp-prop-scale-entry-new" role="function"/>gimp_prop_scale_entry_new ()</title>
<indexterm><primary>gimp_prop_scale_entry_new</primary></indexterm><programlisting><link linkend="GtkObject">GtkObject</link>* gimp_prop_scale_entry_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="GtkTable">GtkTable</link> *table,
@ -582,9 +585,9 @@ Since GIMP 2.4
<link linkend="gdouble">gdouble</link> step_increment,
<link linkend="gdouble">gdouble</link> page_increment,
<link linkend="gint">gint</link> digits,
<link linkend="gboolean">gboolean</link> restrict _scale,
<link linkend="gdouble">gdouble</link> restrict ed_lower,
<link linkend="gdouble">gdouble</link> restrict ed_upper);</programlisting>
<link linkend="gboolean">gboolean</link> limit_scale,
<link linkend="gdouble">gdouble</link> lower_limit,
<link linkend="gdouble">gdouble</link> upper_limit);</programlisting>
<para>
Creates a <link linkend="GimpScaleEntry"><type>GimpScaleEntry</type></link> (slider and spin button) to set and
display the value of the specified double property. See
@ -593,41 +596,42 @@ display the value of the specified double property. See
</para><variablelist role="params">
<varlistentry><term><parameter>config</parameter>&nbsp;:</term>
<listitem><simpara> Object to which property is attached.
<listitem><simpara> Object to which property is attached.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>property_name</parameter>&nbsp;:</term>
<listitem><simpara> Name of double property controlled by the spin button.
<listitem><simpara> Name of double property controlled by the spin button.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table</parameter>&nbsp;:</term>
<listitem><simpara> The <link linkend="GtkTable"><type>GtkTable</type></link> the widgets will be attached to.
<listitem><simpara> The <link linkend="GtkTable"><type>GtkTable</type></link> the widgets will be attached to.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>column</parameter>&nbsp;:</term>
<listitem><simpara> The column to start with.
<listitem><simpara> The column to start with.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>row</parameter>&nbsp;:</term>
<listitem><simpara> The row to attach the widgets.
<listitem><simpara> The row to attach the widgets.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>label</parameter>&nbsp;:</term>
<listitem><simpara> The text for the <link linkend="GtkLabel"><type>GtkLabel</type></link> which will appear left of
the <link linkend="GtkHScale"><type>GtkHScale</type></link>.
<listitem><simpara> The text for the <link linkend="GtkLabel"><type>GtkLabel</type></link> which will appear left of
the <link linkend="GtkHScale"><type>GtkHScale</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>step_increment</parameter>&nbsp;:</term>
<listitem><simpara> Step size.
<listitem><simpara> Step size.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>page_increment</parameter>&nbsp;:</term>
<listitem><simpara> Page size.
<listitem><simpara> Page size.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>digits</parameter>&nbsp;:</term>
<listitem><simpara> Number of digits after decimal point to display.
<listitem><simpara> Number of digits after decimal point to display.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>_scale</parameter>&nbsp;:</term>
<listitem><simpara>
<varlistentry><term><parameter>limit_scale</parameter>&nbsp;:</term>
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the range of possible values of the
GtkSpinButton should be the same as of the GtkHScale.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ed_lower</parameter>&nbsp;:</term>
<listitem><simpara>
<varlistentry><term><parameter>lower_limit</parameter>&nbsp;:</term>
<listitem><simpara> The spinbutton's lower boundary if <parameter>limit_scale</parameter> is <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ed_upper</parameter>&nbsp;:</term>
<listitem><simpara>
<varlistentry><term><parameter>upper_limit</parameter>&nbsp;:</term>
<listitem><simpara> The spinbutton's upper boundary if <parameter>limit_scale</parameter> is <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The <link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>'s <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link>.
@ -635,7 +639,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-opacity-entry-new"/>gimp_prop_opacity_entry_new ()</title>
<title><anchor id="gimp-prop-opacity-entry-new" role="function"/>gimp_prop_opacity_entry_new ()</title>
<indexterm><primary>gimp_prop_opacity_entry_new</primary></indexterm><programlisting><link linkend="GtkObject">GtkObject</link>* gimp_prop_opacity_entry_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="GtkTable">GtkTable</link> *table,
@ -675,7 +679,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-memsize-entry-new"/>gimp_prop_memsize_entry_new ()</title>
<title><anchor id="gimp-prop-memsize-entry-new" role="function"/>gimp_prop_memsize_entry_new ()</title>
<indexterm><primary>gimp_prop_memsize_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_memsize_entry_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name);</programlisting>
<para>
@ -697,7 +701,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-label-new"/>gimp_prop_label_new ()</title>
<title><anchor id="gimp-prop-label-new" role="function"/>gimp_prop_label_new ()</title>
<indexterm><primary>gimp_prop_label_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_label_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name);</programlisting>
<para>
@ -719,7 +723,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-entry-new"/>gimp_prop_entry_new ()</title>
<title><anchor id="gimp-prop-entry-new" role="function"/>gimp_prop_entry_new ()</title>
<indexterm><primary>gimp_prop_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_entry_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="gint">gint</link> max_len);</programlisting>
@ -744,7 +748,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-text-buffer-new"/>gimp_prop_text_buffer_new ()</title>
<title><anchor id="gimp-prop-text-buffer-new" role="function"/>gimp_prop_text_buffer_new ()</title>
<indexterm><primary>gimp_prop_text_buffer_new</primary></indexterm><programlisting><link linkend="GtkTextBuffer">GtkTextBuffer</link>* gimp_prop_text_buffer_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="gint">gint</link> max_len);</programlisting>
@ -776,7 +780,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-file-chooser-button-new"/>gimp_prop_file_chooser_button_new ()</title>
<title><anchor id="gimp-prop-file-chooser-button-new" role="function"/>gimp_prop_file_chooser_button_new ()</title>
<indexterm><primary>gimp_prop_file_chooser_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_file_chooser_button_new
(<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
@ -809,7 +813,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-file-entry-new"/>gimp_prop_file_entry_new ()</title>
<title><anchor id="gimp-prop-file-entry-new" role="function"/>gimp_prop_file_entry_new ()</title>
<indexterm><primary>gimp_prop_file_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_file_entry_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *filesel_title,
@ -830,10 +834,10 @@ Creates a <link linkend="GimpFileEntry"><type>GimpFileEntry</type></link> to set
<listitem><simpara> Label for the file selector.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dir_only</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the file entry should accept directories only.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the file entry should accept directories only.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>check_valid</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the widget should check if the entered file
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the widget should check if the entered file
really exists.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A new <link linkend="GimpFileEntry"><type>GimpFileEntry</type></link> widget.
@ -842,7 +846,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-path-editor-new"/>gimp_prop_path_editor_new ()</title>
<title><anchor id="gimp-prop-path-editor-new" role="function"/>gimp_prop_path_editor_new ()</title>
<indexterm><primary>gimp_prop_path_editor_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_path_editor_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *path_property_name,
const <link linkend="gchar">gchar</link> *writable_property_name,
@ -868,7 +872,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-size-entry-new"/>gimp_prop_size_entry_new ()</title>
<title><anchor id="gimp-prop-size-entry-new" role="function"/>gimp_prop_size_entry_new ()</title>
<indexterm><primary>gimp_prop_size_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_size_entry_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *unit_property_name,
@ -910,7 +914,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-coordinates-new"/>gimp_prop_coordinates_new ()</title>
<title><anchor id="gimp-prop-coordinates-new" role="function"/>gimp_prop_coordinates_new ()</title>
<indexterm><primary>gimp_prop_coordinates_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_coordinates_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *x_property_name,
const <link linkend="gchar">gchar</link> *y_property_name,
@ -962,7 +966,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-coordinates-connect"/>gimp_prop_coordinates_connect ()</title>
<title><anchor id="gimp-prop-coordinates-connect" role="function"/>gimp_prop_coordinates_connect ()</title>
<indexterm><primary>gimp_prop_coordinates_connect</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_prop_coordinates_connect (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *x_property_name,
const <link linkend="gchar">gchar</link> *y_property_name,
@ -1004,7 +1008,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-color-area-new"/>gimp_prop_color_area_new ()</title>
<title><anchor id="gimp-prop-color-area-new" role="function"/>gimp_prop_color_area_new ()</title>
<indexterm><primary>gimp_prop_color_area_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_color_area_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="gint">gint</link> width,
@ -1037,7 +1041,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-unit-menu-new"/>gimp_prop_unit_menu_new ()</title>
<title><anchor id="gimp-prop-unit-menu-new" role="function"/>gimp_prop_unit_menu_new ()</title>
<indexterm><primary>gimp_prop_unit_menu_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_unit_menu_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
const <link linkend="gchar">gchar</link> *unit_format);</programlisting>
@ -1063,7 +1067,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-prop-stock-image-new"/>gimp_prop_stock_image_new ()</title>
<title><anchor id="gimp-prop-stock-image-new" role="function"/>gimp_prop_stock_image_new ()</title>
<indexterm><primary>gimp_prop_stock_image_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_prop_stock_image_new (<link linkend="GObject">GObject</link> *config,
const <link linkend="gchar">gchar</link> *property_name,
<link linkend="GtkIconSize">GtkIconSize</link> icon_size);</programlisting>

View File

@ -4,16 +4,19 @@
<refentry id="libgimpwidgets-GimpQueryBox">
<refmeta>
<refentrytitle>GimpQueryBox</refentrytitle>
<refentrytitle id="top_of_page">GimpQueryBox</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpQueryBox</refname><refpurpose>Some simple dialogs to enter a single int, double, string or boolean value.</refpurpose>
<refname>GimpQueryBox</refname>
<refpurpose>Some simple dialogs to enter a single int, double, string or boolean value.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -110,8 +113,8 @@
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
These functions provide simple dialogs for entering a single string,
integer, double, boolean or pixel size value.
@ -128,10 +131,10 @@ callback function is called and returns the entered value.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpQueryStringCallback"/>GimpQueryStringCallback ()</title>
<title><anchor id="GimpQueryStringCallback" role="function"/>GimpQueryStringCallback ()</title>
<indexterm><primary>GimpQueryStringCallback</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpQueryStringCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
const <link linkend="gchar">gchar</link> *string,
<link linkend="gpointer">gpointer</link> data);</programlisting>
@ -151,7 +154,7 @@ Note that you have to <link linkend="g-free"><function>g_free()</function></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GimpQueryIntCallback"/>GimpQueryIntCallback ()</title>
<title><anchor id="GimpQueryIntCallback" role="function"/>GimpQueryIntCallback ()</title>
<indexterm><primary>GimpQueryIntCallback</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpQueryIntCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
<link linkend="gint">gint</link> value,
<link linkend="gpointer">gpointer</link> data);</programlisting>
@ -171,7 +174,7 @@ Note that you have to <link linkend="g-free"><function>g_free()</function></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GimpQueryDoubleCallback"/>GimpQueryDoubleCallback ()</title>
<title><anchor id="GimpQueryDoubleCallback" role="function"/>GimpQueryDoubleCallback ()</title>
<indexterm><primary>GimpQueryDoubleCallback</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpQueryDoubleCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
<link linkend="gdouble">gdouble</link> value,
<link linkend="gpointer">gpointer</link> data);</programlisting>
@ -191,7 +194,7 @@ Note that you have to <link linkend="g-free"><function>g_free()</function></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GimpQuerySizeCallback"/>GimpQuerySizeCallback ()</title>
<title><anchor id="GimpQuerySizeCallback" role="function"/>GimpQuerySizeCallback ()</title>
<indexterm><primary>GimpQuerySizeCallback</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpQuerySizeCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
<link linkend="gdouble">gdouble</link> size,
<link linkend="GimpUnit">GimpUnit</link> unit,
@ -215,7 +218,7 @@ Note that you have to <link linkend="g-free"><function>g_free()</function></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GimpQueryBooleanCallback"/>GimpQueryBooleanCallback ()</title>
<title><anchor id="GimpQueryBooleanCallback" role="function"/>GimpQueryBooleanCallback ()</title>
<indexterm><primary>GimpQueryBooleanCallback</primary></indexterm><programlisting><link linkend="void">void</link> (*GimpQueryBooleanCallback) (<link linkend="GtkWidget">GtkWidget</link> *query_box,
<link linkend="gboolean">gboolean</link> value,
<link linkend="gpointer">gpointer</link> data);</programlisting>
@ -235,7 +238,7 @@ Note that you have to <link linkend="g-free"><function>g_free()</function></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-query-string-box"/>gimp_query_string_box ()</title>
<title><anchor id="gimp-query-string-box" role="function"/>gimp_query_string_box ()</title>
<indexterm><primary>gimp_query_string_box</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_string_box (const <link linkend="gchar">gchar</link> *title,
<link linkend="GtkWidget">GtkWidget</link> *parent,
<link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
@ -285,7 +288,7 @@ Creates a new <link linkend="GtkDialog"><type>GtkDialog</type></link> that queri
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-query-int-box"/>gimp_query_int_box ()</title>
<title><anchor id="gimp-query-int-box" role="function"/>gimp_query_int_box ()</title>
<indexterm><primary>gimp_query_int_box</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_int_box (const <link linkend="gchar">gchar</link> *title,
<link linkend="GtkWidget">GtkWidget</link> *parent,
<link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
@ -343,7 +346,7 @@ Creates a new <link linkend="GtkDialog"><type>GtkDialog</type></link> that queri
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-query-double-box"/>gimp_query_double_box ()</title>
<title><anchor id="gimp-query-double-box" role="function"/>gimp_query_double_box ()</title>
<indexterm><primary>gimp_query_double_box</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_double_box (const <link linkend="gchar">gchar</link> *title,
<link linkend="GtkWidget">GtkWidget</link> *parent,
<link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
@ -405,7 +408,7 @@ Creates a new <link linkend="GtkDialog"><type>GtkDialog</type></link> that queri
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-query-size-box"/>gimp_query_size_box ()</title>
<title><anchor id="gimp-query-size-box" role="function"/>gimp_query_size_box ()</title>
<indexterm><primary>gimp_query_size_box</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_size_box (const <link linkend="gchar">gchar</link> *title,
<link linkend="GtkWidget">GtkWidget</link> *parent,
<link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
@ -464,7 +467,7 @@ Creates a new <link linkend="GtkDialog"><type>GtkDialog</type></link> that queri
calculations.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>dot_for_dot</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link>'s initial unit should be "pixels".
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link>'s initial unit should be "pixels".
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>object</parameter>&nbsp;:</term>
<listitem><simpara> The object this query box is associated with.
@ -483,7 +486,7 @@ Creates a new <link linkend="GtkDialog"><type>GtkDialog</type></link> that queri
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-query-boolean-box"/>gimp_query_boolean_box ()</title>
<title><anchor id="gimp-query-boolean-box" role="function"/>gimp_query_boolean_box ()</title>
<indexterm><primary>gimp_query_boolean_box</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_query_boolean_box (const <link linkend="gchar">gchar</link> *title,
<link linkend="GtkWidget">GtkWidget</link> *parent,
<link linkend="GimpHelpFunc">GimpHelpFunc</link> help_func,
@ -544,7 +547,7 @@ Creates a new <link linkend="GtkDialog"><type>GtkDialog</type></link> that asks
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-QUERY-BOX-VBOX:CAPS"/>GIMP_QUERY_BOX_VBOX()</title>
<title><anchor id="GIMP-QUERY-BOX-VBOX:CAPS" role="macro"/>GIMP_QUERY_BOX_VBOX()</title>
<indexterm><primary>GIMP_QUERY_BOX_VBOX</primary></indexterm><programlisting>#define GIMP_QUERY_BOX_VBOX(qbox)</programlisting>
<para>
A macro to access the <link linkend="GtkVBox"><type>GtkVBox</type></link> in a <link linkend="GimpQueryBox"><type>GimpQueryBox</type></link>. Useful if you want to add

View File

@ -4,16 +4,19 @@
<refentry id="GimpScrolledPreview">
<refmeta>
<refentrytitle>GimpScrolledPreview</refentrytitle>
<refentrytitle id="top_of_page">GimpScrolledPreview</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpScrolledPreview</refname><refpurpose>A widget providing a <link linkend="GimpPreview"><type>GimpPreview</type></link> enhanced by scrolling capabilities.</refpurpose>
<refname>GimpScrolledPreview</refname>
<refpurpose>A widget providing a <link linkend="GimpPreview"><type>GimpPreview</type></link> enhanced by scrolling capabilities.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -34,8 +37,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -53,8 +56,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpScrolledPreview implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -65,23 +68,23 @@ GimpScrolledPreview implements
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
A widget providing a <link linkend="GimpPreview"><type>GimpPreview</type></link> enhanced by scrolling capabilities.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpScrolledPreview-struct"/>GimpScrolledPreview</title>
<title><anchor id="GimpScrolledPreview-struct" role="struct"/>GimpScrolledPreview</title>
<indexterm><primary>GimpScrolledPreview</primary></indexterm><programlisting>typedef struct _GimpScrolledPreview GimpScrolledPreview;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-scrolled-preview-set-position"/>gimp_scrolled_preview_set_position ()</title>
<title><anchor id="gimp-scrolled-preview-set-position" role="function" condition="since:GIMP 2.4"/>gimp_scrolled_preview_set_position ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_scrolled_preview_set_position</primary></indexterm><programlisting><link linkend="void">void</link> gimp_scrolled_preview_set_position
(<link linkend="GimpScrolledPreview">GimpScrolledPreview</link> *preview,
<link linkend="gint">gint</link> x,
@ -103,7 +106,7 @@ A widget providing a <link linkend="GimpPreview"><type>GimpPreview</type></link>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-scrolled-preview-set-policy"/>gimp_scrolled_preview_set_policy ()</title>
<title><anchor id="gimp-scrolled-preview-set-policy" role="function" condition="since:GIMP 2.4"/>gimp_scrolled_preview_set_policy ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_scrolled_preview_set_policy</primary></indexterm><programlisting><link linkend="void">void</link> gimp_scrolled_preview_set_policy
(<link linkend="GimpScrolledPreview">GimpScrolledPreview</link> *preview,
<link linkend="GtkPolicyType">GtkPolicyType</link> hscrollbar_policy,
@ -125,7 +128,7 @@ A widget providing a <link linkend="GimpPreview"><type>GimpPreview</type></link>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-scrolled-preview-freeze"/>gimp_scrolled_preview_freeze ()</title>
<title><anchor id="gimp-scrolled-preview-freeze" role="function" condition="since:GIMP 2.4"/>gimp_scrolled_preview_freeze ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_scrolled_preview_freeze</primary></indexterm><programlisting><link linkend="void">void</link> gimp_scrolled_preview_freeze (<link linkend="GimpScrolledPreview">GimpScrolledPreview</link> *preview);</programlisting>
<para>
While the <parameter>preview</parameter> is frozen, it is not going to redraw itself in
@ -143,7 +146,7 @@ This function should only be used to implement widgets derived from
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-scrolled-preview-thaw"/>gimp_scrolled_preview_thaw ()</title>
<title><anchor id="gimp-scrolled-preview-thaw" role="function" condition="since:GIMP 2.4"/>gimp_scrolled_preview_thaw ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_scrolled_preview_thaw</primary></indexterm><programlisting><link linkend="void">void</link> gimp_scrolled_preview_thaw (<link linkend="GimpScrolledPreview">GimpScrolledPreview</link> *preview);</programlisting>
<para>
While the <parameter>preview</parameter> is frozen, it is not going to redraw itself in

View File

@ -4,16 +4,19 @@
<refentry id="GimpSizeEntry">
<refmeta>
<refentrytitle>GimpSizeEntry</refentrytitle>
<refentrytitle id="top_of_page">GimpSizeEntry</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpSizeEntry</refname><refpurpose>Widget for entering pixel values and resolutions.</refpurpose>
<refname>GimpSizeEntry</refname>
<refpurpose>Widget for entering pixel values and resolutions.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -88,8 +91,8 @@ enum <link linkend="GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy<
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -105,8 +108,8 @@ enum <link linkend="GimpSizeEntryUpdatePolicy">GimpSizeEntryUpdatePolicy<
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpSizeEntry implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -115,25 +118,25 @@ GimpSizeEntry implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpSizeEntry-refval-changed">refval-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
&quot;<link linkend="GimpSizeEntry-unit-changed">unit-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
&quot;<link linkend="GimpSizeEntry-value-changed">value-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
This widget is used to enter pixel distances/sizes and resolutions.
</para>
@ -161,22 +164,22 @@ real-world-unit.
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpSizeEntry-struct"/>GimpSizeEntry</title>
<title><anchor id="GimpSizeEntry-struct" role="struct"/>GimpSizeEntry</title>
<indexterm><primary>GimpSizeEntry</primary></indexterm><programlisting>typedef struct _GimpSizeEntry GimpSizeEntry;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GimpSizeEntryField"/>GimpSizeEntryField</title>
<title><anchor id="GimpSizeEntryField" role="struct"/>GimpSizeEntryField</title>
<indexterm><primary>GimpSizeEntryField</primary></indexterm><programlisting>typedef struct _GimpSizeEntryField GimpSizeEntryField;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GimpSizeEntryUpdatePolicy"/>enum GimpSizeEntryUpdatePolicy</title>
<title><anchor id="GimpSizeEntryUpdatePolicy" role="enum"/>enum GimpSizeEntryUpdatePolicy</title>
<indexterm><primary>GimpSizeEntryUpdatePolicy</primary></indexterm><programlisting>typedef enum
{
GIMP_SIZE_ENTRY_UPDATE_NONE = 0,
@ -188,7 +191,7 @@ real-world-unit.
</para></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-new"/>gimp_size_entry_new ()</title>
<title><anchor id="gimp-size-entry-new" role="function"/>gimp_size_entry_new ()</title>
<indexterm><primary>gimp_size_entry_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_size_entry_new (<link linkend="gint">gint</link> number_of_fields,
<link linkend="GimpUnit">GimpUnit</link> unit,
const <link linkend="gchar">gchar</link> *unit_format,
@ -248,16 +251,16 @@ of the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> to allow th
<link linkend="gimp-unit-menu-new"><function>gimp_unit_menu_new()</function></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>menu_show_pixels</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the unit menu shold contain an item for
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the unit menu shold contain an item for
GIMP_UNIT_PIXEL (ignored if the <parameter>update_policy</parameter> is not
GIMP_SIZE_ENTRY_UPDATE_NONE).
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>menu_show_percent</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the unit menu shold contain an item for
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the unit menu shold contain an item for
GIMP_UNIT_PERCENT.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>show_refval</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if you want an extra "reference value"
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if you want an extra "reference value"
spinbutton per input field.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>spinbutton_width</parameter>&nbsp;:</term>
@ -271,7 +274,7 @@ of the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> to allow th
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-add-field"/>gimp_size_entry_add_field ()</title>
<title><anchor id="gimp-size-entry-add-field" role="function"/>gimp_size_entry_add_field ()</title>
<indexterm><primary>gimp_size_entry_add_field</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_add_field (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="GtkSpinButton">GtkSpinButton</link> *value_spinbutton,
<link linkend="GtkSpinButton">GtkSpinButton</link> *refval_spinbutton);</programlisting>
@ -280,8 +283,8 @@ Adds an input field to the <link linkend="GimpSizeEntry"><type>GimpSizeEntry</ty
</para>
<para>
The new input field will have the index 0. If you specified <parameter>show_refval</parameter>
as <literal>TRUE</literal> in <link linkend="gimp-size-entry-new"><function>gimp_size_entry_new()</function></link> you have to pass an additional
<link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> to hold the reference value. If <parameter>show_refval</parameter> was <literal>FALSE</literal>,
as <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> in <link linkend="gimp-size-entry-new"><function>gimp_size_entry_new()</function></link> you have to pass an additional
<link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> to hold the reference value. If <parameter>show_refval</parameter> was <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>,
<parameter>refval_spinbutton</parameter> will be ignored.</para>
<para>
@ -297,7 +300,7 @@ as <literal>TRUE</literal> in <link linkend="gimp-size-entry-new"><function>gimp
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-attach-label"/>gimp_size_entry_attach_label ()</title>
<title><anchor id="gimp-size-entry-attach-label" role="function"/>gimp_size_entry_attach_label ()</title>
<indexterm><primary>gimp_size_entry_attach_label</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_size_entry_attach_label (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
const <link linkend="gchar">gchar</link> *text,
<link linkend="gint">gint</link> row,
@ -327,7 +330,7 @@ Attaches a <link linkend="GtkLabel"><type>GtkLabel</type></link> to the <link li
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-resolution"/>gimp_size_entry_set_resolution ()</title>
<title><anchor id="gimp-size-entry-set-resolution" role="function"/>gimp_size_entry_set_resolution ()</title>
<indexterm><primary>gimp_size_entry_set_resolution</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_resolution (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field,
<link linkend="gdouble">gdouble</link> resolution,
@ -355,12 +358,12 @@ This function does nothing if the <link linkend="GimpSizeEntryUpdatePolicy"><typ
<listitem><simpara> The new resolution (in dpi) for the chosen <parameter>field</parameter>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>keep_size</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the <parameter>field</parameter>'s size in pixels should stay the same.
<literal>FALSE</literal> if the <parameter>field</parameter>'s size in units should stay the same.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <parameter>field</parameter>'s size in pixels should stay the same.
<link linkend="FALSE:CAPS"><literal>FALSE</literal></link> if the <parameter>field</parameter>'s size in units should stay the same.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-size"/>gimp_size_entry_set_size ()</title>
<title><anchor id="gimp-size-entry-set-size" role="function"/>gimp_size_entry_set_size ()</title>
<indexterm><primary>gimp_size_entry_set_size</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_size (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field,
<link linkend="gdouble">gdouble</link> lower,
@ -370,7 +373,7 @@ Sets the pixel values for field # <parameter>field</parameter> of the <link link
which will be treated as 0% and 100%.
</para>
<para>
These values will be used if you specified <parameter>menu_show_percent</parameter> as <literal>TRUE</literal>
These values will be used if you specified <parameter>menu_show_percent</parameter> as <link linkend="TRUE:CAPS"><literal>TRUE</literal></link>
in <link linkend="gimp-size-entry-new"><function>gimp_size_entry_new()</function></link> and the user has selected GIMP_UNIT_PERCENT in
the <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link>'s <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link>.
</para>
@ -394,7 +397,7 @@ This function does nothing if the <link linkend="GimpSizeEntryUpdatePolicy"><typ
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-value-boundaries"/>gimp_size_entry_set_value_boundaries ()</title>
<title><anchor id="gimp-size-entry-set-value-boundaries" role="function"/>gimp_size_entry_set_value_boundaries ()</title>
<indexterm><primary>gimp_size_entry_set_value_boundaries</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_value_boundaries
(<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field,
@ -431,7 +434,7 @@ NOTE: In most cases you won't be interested in these values because the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-get-value"/>gimp_size_entry_get_value ()</title>
<title><anchor id="gimp-size-entry-get-value" role="function"/>gimp_size_entry_get_value ()</title>
<indexterm><primary>gimp_size_entry_get_value</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_size_entry_get_value (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field);</programlisting>
<para>
@ -459,7 +462,7 @@ NOTE: In most cases you won't be interested in this value because the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-value"/>gimp_size_entry_set_value ()</title>
<title><anchor id="gimp-size-entry-set-value" role="function"/>gimp_size_entry_set_value ()</title>
<indexterm><primary>gimp_size_entry_set_value</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_value (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field,
<link linkend="gdouble">gdouble</link> value);</programlisting>
@ -489,7 +492,7 @@ NOTE: In most cases you won't be interested in this value because the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-refval-boundaries"/>gimp_size_entry_set_refval_boundaries ()</title>
<title><anchor id="gimp-size-entry-set-refval-boundaries" role="function"/>gimp_size_entry_set_refval_boundaries ()</title>
<indexterm><primary>gimp_size_entry_set_refval_boundaries</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_refval_boundaries
(<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field,
@ -520,7 +523,7 @@ The current reference value of the <parameter>field</parameter> will be clamped
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-refval-digits"/>gimp_size_entry_set_refval_digits ()</title>
<title><anchor id="gimp-size-entry-set-refval-digits" role="function"/>gimp_size_entry_set_refval_digits ()</title>
<indexterm><primary>gimp_size_entry_set_refval_digits</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_refval_digits
(<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field,
@ -548,7 +551,7 @@ of digits will equal to 0 for <link linkend="GIMP-SIZE-ENTRY-UPDATE-SIZE:CAPS"><
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-get-refval"/>gimp_size_entry_get_refval ()</title>
<title><anchor id="gimp-size-entry-get-refval" role="function"/>gimp_size_entry_get_refval ()</title>
<indexterm><primary>gimp_size_entry_get_refval</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_size_entry_get_refval (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field);</programlisting>
<para>
@ -571,7 +574,7 @@ in dpi, depending on which <link linkend="GimpSizeEntryUpdatePolicy"><type>GimpS
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-refval"/>gimp_size_entry_set_refval ()</title>
<title><anchor id="gimp-size-entry-set-refval" role="function"/>gimp_size_entry_set_refval ()</title>
<indexterm><primary>gimp_size_entry_set_refval</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_refval (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field,
<link linkend="gdouble">gdouble</link> refval);</programlisting>
@ -596,7 +599,7 @@ depending on which <link linkend="GimpSizeEntryUpdatePolicy"><type>GimpSizeEntry
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-get-unit"/>gimp_size_entry_get_unit ()</title>
<title><anchor id="gimp-size-entry-get-unit" role="function"/>gimp_size_entry_get_unit ()</title>
<indexterm><primary>gimp_size_entry_get_unit</primary></indexterm><programlisting><link linkend="GimpUnit">GimpUnit</link> gimp_size_entry_get_unit (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse);</programlisting>
<para>
Returns the <link linkend="GimpUnit"><type>GimpUnit</type></link> the user has selected in the <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link>'s
@ -611,7 +614,7 @@ Returns the <link linkend="GimpUnit"><type>GimpUnit</type></link> the user has s
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-unit"/>gimp_size_entry_set_unit ()</title>
<title><anchor id="gimp-size-entry-set-unit" role="function"/>gimp_size_entry_set_unit ()</title>
<indexterm><primary>gimp_size_entry_set_unit</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_unit (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="GimpUnit">GimpUnit</link> unit);</programlisting>
<para>
@ -630,7 +633,7 @@ according to which <link linkend="GimpSizeEntryUpdatePolicy"><type>GimpSizeEntry
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-pixel-digits"/>gimp_size_entry_set_pixel_digits ()</title>
<title><anchor id="gimp-size-entry-set-pixel-digits" role="function"/>gimp_size_entry_set_pixel_digits ()</title>
<indexterm><primary>gimp_size_entry_set_pixel_digits</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_pixel_digits
(<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> digits);</programlisting>
@ -648,7 +651,7 @@ you set up a <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link> so
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-show-unit-menu"/>gimp_size_entry_show_unit_menu ()</title>
<title><anchor id="gimp-size-entry-show-unit-menu" role="function" condition="since:GIMP 2.4"/>gimp_size_entry_show_unit_menu ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_size_entry_show_unit_menu</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_show_unit_menu (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gboolean">gboolean</link> show);</programlisting>
<para>
@ -666,7 +669,7 @@ Controls whether a unit menu is shown in the size entry. If
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-grab-focus"/>gimp_size_entry_grab_focus ()</title>
<title><anchor id="gimp-size-entry-grab-focus" role="function"/>gimp_size_entry_grab_focus ()</title>
<indexterm><primary>gimp_size_entry_grab_focus</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_grab_focus (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse);</programlisting>
<para>
This function is rather ugly and just a workaround for the fact that
@ -679,7 +682,7 @@ it's impossible to implement <link linkend="gtk-widget-grab-focus"><function>gtk
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-set-activates-default"/>gimp_size_entry_set_activates_default ()</title>
<title><anchor id="gimp-size-entry-set-activates-default" role="function" condition="since:GIMP 2.4"/>gimp_size_entry_set_activates_default ()</title>
<indexterm role="GIMP 2.4"><primary>gimp_size_entry_set_activates_default</primary></indexterm><programlisting><link linkend="void">void</link> gimp_size_entry_set_activates_default
(<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gboolean">gboolean</link> setting);</programlisting>
@ -693,12 +696,12 @@ Iterates over all entries in the <link linkend="GimpSizeEntry"><type>GimpSizeEnt
<listitem><simpara> A <link linkend="GimpSizeEntr"><type>GimpSizeEntr</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>setting</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> to activate window's default widget on Enter keypress
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> to activate window's default widget on Enter keypress
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.4
</para></refsect2>
<refsect2>
<title><anchor id="gimp-size-entry-get-help-widget"/>gimp_size_entry_get_help_widget ()</title>
<title><anchor id="gimp-size-entry-get-help-widget" role="function"/>gimp_size_entry_get_help_widget ()</title>
<indexterm><primary>gimp_size_entry_get_help_widget</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_size_entry_get_help_widget (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gse,
<link linkend="gint">gint</link> field);</programlisting>
<para>
@ -720,11 +723,11 @@ can use this function to get a pointer to the spinbuttons.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpSizeEntry-refval-changed"/>The &quot;refval-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpSizeEntry::refval-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">
@ -735,8 +738,8 @@ can use this function to get a pointer to the spinbuttons.</para>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2><title><anchor id="GimpSizeEntry-unit-changed"/>The &quot;unit-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpSizeEntry::unit-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">
@ -747,8 +750,8 @@ can use this function to get a pointer to the spinbuttons.</para>
<varlistentry><term><parameter>user_data</parameter>&nbsp;:</term>
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
</variablelist></refsect2><refsect2><title><anchor id="GimpSizeEntry-value-changed"/>The &quot;value-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpSizeEntry::value-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpSizeEntry">GimpSizeEntry</link> *gimpsizeentry,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
</para><variablelist role="params">

File diff suppressed because it is too large Load Diff

View File

@ -4,16 +4,19 @@
<refentry id="GimpUnitMenu">
<refmeta>
<refentrytitle>GimpUnitMenu</refentrytitle>
<refentrytitle id="top_of_page">GimpUnitMenu</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpUnitMenu</refname><refpurpose>Widget for selecting a <link linkend="GimpUnit"><type>GimpUnit</type></link>.</refpurpose>
<refname>GimpUnitMenu</refname>
<refpurpose>Widget for selecting a <link linkend="GimpUnit"><type>GimpUnit</type></link>.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -35,8 +38,8 @@
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -54,8 +57,8 @@
<refsect1>
<title>Implemented Interfaces</title>
<refsect1 id="impl_interfaces">
<title id="impl_interfaces.title">Implemented Interfaces</title>
<para>
GimpUnitMenu implements
<link linkend="AtkImplementorIface">AtkImplementorIface</link>.</para>
@ -64,19 +67,19 @@ GimpUnitMenu implements
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpUnitMenu-unit-changed">unit-changed</link>&quot;
<link linkend="void">void</link> user_function (<link linkend="GimpUnitMenu">GimpUnitMenu</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gpointer">gpointer</link> user_data) : Run first
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
This widget provides a <link linkend="GtkOptionMenu"><type>GtkOptionMenu</type></link> which contains a list of <link linkend="GimpUnit"><type>GimpUnit</type></link>'s.
</para>
@ -95,16 +98,16 @@ Whenever the user selects a unit from the menu or the dialog, the
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpUnitMenu-struct"/>GimpUnitMenu</title>
<title><anchor id="GimpUnitMenu-struct" role="struct"/>GimpUnitMenu</title>
<indexterm><primary>GimpUnitMenu</primary></indexterm><programlisting>typedef struct _GimpUnitMenu GimpUnitMenu;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="gimp-unit-menu-new"/>gimp_unit_menu_new ()</title>
<title><anchor id="gimp-unit-menu-new" role="function"/>gimp_unit_menu_new ()</title>
<indexterm><primary>gimp_unit_menu_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_unit_menu_new (const <link linkend="gchar">gchar</link> *format,
<link linkend="GimpUnit">GimpUnit</link> unit,
<link linkend="gboolean">gboolean</link> show_pixels,
@ -158,22 +161,22 @@ The <parameter>format</parameter> string supports the following percent expansio
<listitem><simpara> The initially selected unit.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>show_pixels</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the unit menu should contain an item for
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the unit menu should contain an item for
GIMP_UNIT_PIXEL.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>show_percent</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> in the unit menu should contain an item for
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> in the unit menu should contain an item for
GIMP_UNIT_PERCENT.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>show_custom</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the unit menu should contain a "More..." item for
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the unit menu should contain a "More..." item for
opening the user-defined-unit selection dialog.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A pointer to the new <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> widget.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-unit-menu-set-unit"/>gimp_unit_menu_set_unit ()</title>
<title><anchor id="gimp-unit-menu-set-unit" role="function"/>gimp_unit_menu_set_unit ()</title>
<indexterm><primary>gimp_unit_menu_set_unit</primary></indexterm><programlisting><link linkend="void">void</link> gimp_unit_menu_set_unit (<link linkend="GimpUnitMenu">GimpUnitMenu</link> *menu,
<link linkend="GimpUnit">GimpUnit</link> unit);</programlisting>
<para>
@ -189,7 +192,7 @@ Sets a new <link linkend="GimpUnit"><type>GimpUnit</type></link> for the specifi
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-unit-menu-get-unit"/>gimp_unit_menu_get_unit ()</title>
<title><anchor id="gimp-unit-menu-get-unit" role="function"/>gimp_unit_menu_get_unit ()</title>
<indexterm><primary>gimp_unit_menu_get_unit</primary></indexterm><programlisting><link linkend="GimpUnit">GimpUnit</link> gimp_unit_menu_get_unit (<link linkend="GimpUnitMenu">GimpUnitMenu</link> *menu);</programlisting>
<para>
Returns the <link linkend="GimpUnit"><type>GimpUnit</type></link> the user has selected from the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link>.</para>
@ -203,7 +206,7 @@ Returns the <link linkend="GimpUnit"><type>GimpUnit</type></link> the user has s
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-unit-menu-get-pixel-digits"/>gimp_unit_menu_get_pixel_digits ()</title>
<title><anchor id="gimp-unit-menu-get-pixel-digits" role="function"/>gimp_unit_menu_get_pixel_digits ()</title>
<indexterm><primary>gimp_unit_menu_get_pixel_digits</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_unit_menu_get_pixel_digits (<link linkend="GimpUnitMenu">GimpUnitMenu</link> *menu);</programlisting>
<para>
Retrieve the number of digits for a pixel size as set by
@ -218,7 +221,7 @@ Retrieve the number of digits for a pixel size as set by
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-unit-menu-set-pixel-digits"/>gimp_unit_menu_set_pixel_digits ()</title>
<title><anchor id="gimp-unit-menu-set-pixel-digits" role="function"/>gimp_unit_menu_set_pixel_digits ()</title>
<indexterm><primary>gimp_unit_menu_set_pixel_digits</primary></indexterm><programlisting><link linkend="void">void</link> gimp_unit_menu_set_pixel_digits (<link linkend="GimpUnitMenu">GimpUnitMenu</link> *menu,
<link linkend="gint">gint</link> digits);</programlisting>
<para>
@ -245,11 +248,11 @@ here. You should do this after attaching your spinbuttons.</para>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpUnitMenu-unit-changed"/>The &quot;unit-changed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpUnitMenu">GimpUnitMenu</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpUnitMenu::unit-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpUnitMenu">GimpUnitMenu</link> *arg0,
<link linkend="gpointer">gpointer</link> user_data) : Run first</programlisting>
<para>
This signal is emitted whenever the user selects a <link linkend="GimpUnit"><type>GimpUnit</type></link> from
the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link>.</para>

View File

@ -4,17 +4,20 @@
<refentry id="libgimpwidgets-GimpWidgets">
<refmeta>
<refentrytitle>GimpWidgets</refentrytitle>
<refentrytitle id="top_of_page">GimpWidgets</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpWidgets</refname><refpurpose>A collection of convenient widget constructors, standard callbacks and
<refname>GimpWidgets</refname>
<refpurpose>A collection of convenient widget constructors, standard callbacks and
helper functions.</refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -159,17 +162,17 @@ helper functions.</refpurpose>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="gimp-radio-group-new"/>gimp_radio_group_new ()</title>
<title><anchor id="gimp-radio-group-new" role="function"/>gimp_radio_group_new ()</title>
<indexterm><primary>gimp_radio_group_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_radio_group_new (<link linkend="gboolean">gboolean</link> in_frame,
const <link linkend="gchar">gchar</link> *frame_title,
...);</programlisting>
@ -180,19 +183,19 @@ a <link linkend="GtkFrame"><type>GtkFrame</type></link> or <link linkend="GtkVbo
</para><variablelist role="params">
<varlistentry><term><parameter>in_frame</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if you want a <link linkend="GtkFrame"><type>GtkFrame</type></link> around the radio button group.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if you want a <link linkend="GtkFrame"><type>GtkFrame</type></link> around the radio button group.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>frame_title</parameter>&nbsp;:</term>
<listitem><simpara> The title of the Frame or <literal>NULL</literal> if you don't want a title.
<listitem><simpara> The title of the Frame or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if you don't want a title.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> A <literal>NULL</literal>-terminated <parameter>va_list</parameter> describing the radio buttons.
<listitem><simpara> A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated <parameter>va_list</parameter> describing the radio buttons.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GtkFrame"><type>GtkFrame</type></link> or <link linkend="GtkVbox"><type>GtkVbox</type></link> (depending on <parameter>in_frame</parameter>).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-radio-group-new2"/>gimp_radio_group_new2 ()</title>
<title><anchor id="gimp-radio-group-new2" role="function"/>gimp_radio_group_new2 ()</title>
<indexterm><primary>gimp_radio_group_new2</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_radio_group_new2 (<link linkend="gboolean">gboolean</link> in_frame,
const <link linkend="gchar">gchar</link> *frame_title,
<link linkend="GCallback">GCallback</link> radio_button_callback,
@ -206,11 +209,11 @@ a <link linkend="GtkFrame"><type>GtkFrame</type></link> or <link linkend="GtkVbo
</para><variablelist role="params">
<varlistentry><term><parameter>in_frame</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if you want a <link linkend="GtkFrame"><type>GtkFrame</type></link> around the
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if you want a <link linkend="GtkFrame"><type>GtkFrame</type></link> around the
radio button group.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>frame_title</parameter>&nbsp;:</term>
<listitem><simpara> The title of the Frame or <literal>NULL</literal> if you don't want
<listitem><simpara> The title of the Frame or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if you don't want
a title.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>radio_button_callback</parameter>&nbsp;:</term>
@ -225,14 +228,14 @@ a <link linkend="GtkFrame"><type>GtkFrame</type></link> or <link linkend="GtkVbo
<listitem><simpara> The <parameter>item_data</parameter> of the initially pressed radio button.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> A <literal>NULL</literal>-terminated <parameter>va_list</parameter> describing
<listitem><simpara> A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated <parameter>va_list</parameter> describing
the radio buttons.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GtkFrame"><type>GtkFrame</type></link> or <link linkend="GtkVbox"><type>GtkVbox</type></link> (depending on <parameter>in_frame</parameter>).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-radio-group-set-active"/>gimp_radio_group_set_active ()</title>
<title><anchor id="gimp-radio-group-set-active" role="function"/>gimp_radio_group_set_active ()</title>
<indexterm><primary>gimp_radio_group_set_active</primary></indexterm><programlisting><link linkend="void">void</link> gimp_radio_group_set_active (<link linkend="GtkRadioButton">GtkRadioButton</link> *radio_button,
<link linkend="gpointer">gpointer</link> item_data);</programlisting>
<para>
@ -249,7 +252,7 @@ created with a matching <parameter>item_data</parameter>.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-int-radio-group-new"/>gimp_int_radio_group_new ()</title>
<title><anchor id="gimp-int-radio-group-new" role="function"/>gimp_int_radio_group_new ()</title>
<indexterm><primary>gimp_int_radio_group_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_int_radio_group_new (<link linkend="gboolean">gboolean</link> in_frame,
const <link linkend="gchar">gchar</link> *frame_title,
<link linkend="GCallback">GCallback</link> radio_button_callback,
@ -266,11 +269,11 @@ group).</para>
</para><variablelist role="params">
<varlistentry><term><parameter>in_frame</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if you want a <link linkend="GtkFrame"><type>GtkFrame</type></link> around the
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if you want a <link linkend="GtkFrame"><type>GtkFrame</type></link> around the
radio button group.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>frame_title</parameter>&nbsp;:</term>
<listitem><simpara> The title of the Frame or <literal>NULL</literal> if you don't want
<listitem><simpara> The title of the Frame or <link linkend="NULL:CAPS"><literal>NULL</literal></link> if you don't want
a title.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>radio_button_callback</parameter>&nbsp;:</term>
@ -285,14 +288,14 @@ group).</para>
<listitem><simpara> The <parameter>item_data</parameter> of the initially pressed radio button.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&nbsp;:</term>
<listitem><simpara> A <literal>NULL</literal>-terminated <parameter>va_list</parameter> describing
<listitem><simpara> A <link linkend="NULL:CAPS"><literal>NULL</literal></link>-terminated <parameter>va_list</parameter> describing
the radio buttons.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> A <link linkend="GtkFrame"><type>GtkFrame</type></link> or <link linkend="GtkVbox"><type>GtkVbox</type></link> (depending on <parameter>in_frame</parameter>).
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-int-radio-group-set-active"/>gimp_int_radio_group_set_active ()</title>
<title><anchor id="gimp-int-radio-group-set-active" role="function"/>gimp_int_radio_group_set_active ()</title>
<indexterm><primary>gimp_int_radio_group_set_active</primary></indexterm><programlisting><link linkend="void">void</link> gimp_int_radio_group_set_active (<link linkend="GtkRadioButton">GtkRadioButton</link> *radio_button,
<link linkend="gint">gint</link> item_data);</programlisting>
<para>
@ -311,7 +314,7 @@ of pointers.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-spin-button-new"/>gimp_spin_button_new ()</title>
<title><anchor id="gimp-spin-button-new" role="function"/>gimp_spin_button_new ()</title>
<indexterm><primary>gimp_spin_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_spin_button_new (<link linkend="GtkObject">GtkObject</link> **adjustment,
<link linkend="gdouble">gdouble</link> value,
<link linkend="gdouble">gdouble</link> lower,
@ -360,7 +363,7 @@ entered.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-SCALE-ENTRY-LABEL:CAPS"/>GIMP_SCALE_ENTRY_LABEL()</title>
<title><anchor id="GIMP-SCALE-ENTRY-LABEL:CAPS" role="macro"/>GIMP_SCALE_ENTRY_LABEL()</title>
<indexterm><primary>GIMP_SCALE_ENTRY_LABEL</primary></indexterm><programlisting>#define GIMP_SCALE_ENTRY_LABEL(adj)</programlisting>
<para>
Returns the scale_entry's <link linkend="GtkLabel"><type>GtkLabel</type></link>.
@ -372,7 +375,7 @@ Returns the scale_entry's <link linkend="GtkLabel"><type>GtkLabel</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-SCALE-ENTRY-SCALE:CAPS"/>GIMP_SCALE_ENTRY_SCALE()</title>
<title><anchor id="GIMP-SCALE-ENTRY-SCALE:CAPS" role="macro"/>GIMP_SCALE_ENTRY_SCALE()</title>
<indexterm><primary>GIMP_SCALE_ENTRY_SCALE</primary></indexterm><programlisting>#define GIMP_SCALE_ENTRY_SCALE(adj)</programlisting>
<para>
Returns the scale_entry's <link linkend="GtkHScale"><type>GtkHScale</type></link>.
@ -384,7 +387,7 @@ Returns the scale_entry's <link linkend="GtkHScale"><type>GtkHScale</type></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-SCALE-ENTRY-SCALE-ADJ:CAPS"/>GIMP_SCALE_ENTRY_SCALE_ADJ()</title>
<title><anchor id="GIMP-SCALE-ENTRY-SCALE-ADJ:CAPS" role="macro"/>GIMP_SCALE_ENTRY_SCALE_ADJ()</title>
<indexterm><primary>GIMP_SCALE_ENTRY_SCALE_ADJ</primary></indexterm><programlisting>#define GIMP_SCALE_ENTRY_SCALE_ADJ(adj)</programlisting>
<para>
Returns the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> of the scale_entry's <link linkend="GtkHScale"><type>GtkHScale</type></link>.
@ -396,7 +399,7 @@ Returns the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> of t
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-SCALE-ENTRY-SPINBUTTON:CAPS"/>GIMP_SCALE_ENTRY_SPINBUTTON()</title>
<title><anchor id="GIMP-SCALE-ENTRY-SPINBUTTON:CAPS" role="macro"/>GIMP_SCALE_ENTRY_SPINBUTTON()</title>
<indexterm><primary>GIMP_SCALE_ENTRY_SPINBUTTON</primary></indexterm><programlisting>#define GIMP_SCALE_ENTRY_SPINBUTTON(adj)</programlisting>
<para>
Returns the scale_entry's <link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>.
@ -408,7 +411,7 @@ Returns the scale_entry's <link linkend="GtkSpinButton"><type>GtkSpinButton</typ
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-SCALE-ENTRY-SPINBUTTON-ADJ:CAPS"/>GIMP_SCALE_ENTRY_SPINBUTTON_ADJ()</title>
<title><anchor id="GIMP-SCALE-ENTRY-SPINBUTTON-ADJ:CAPS" role="macro"/>GIMP_SCALE_ENTRY_SPINBUTTON_ADJ()</title>
<indexterm><primary>GIMP_SCALE_ENTRY_SPINBUTTON_ADJ</primary></indexterm><programlisting>#define GIMP_SCALE_ENTRY_SPINBUTTON_ADJ(adj)</programlisting>
<para>
Returns the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> of the scale_entry's <link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>.
@ -420,7 +423,7 @@ Returns the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> of t
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-scale-entry-new"/>gimp_scale_entry_new ()</title>
<title><anchor id="gimp-scale-entry-new" role="function"/>gimp_scale_entry_new ()</title>
<indexterm><primary>gimp_scale_entry_new</primary></indexterm><programlisting><link linkend="GtkObject">GtkObject</link>* gimp_scale_entry_new (<link linkend="GtkTable">GtkTable</link> *table,
<link linkend="gint">gint</link> column,
<link linkend="gint">gint</link> row,
@ -482,16 +485,16 @@ attaches them to a 3-column <link linkend="GtkTable"><type>GtkTable</type></link
<listitem><simpara> The number of decimal digits.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>constrain</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the range of possible values of the
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the range of possible values of the
<link linkend="GtkSpinButton"><type>GtkSpinButton</type></link> should be the same as of the <link linkend="GtkHScale"><type>GtkHScale</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unconstrained_lower</parameter>&nbsp;:</term>
<listitem><simpara> The spinbutton's lower boundary
if <parameter>constrain</parameter> == <literal>FALSE</literal>.
if <parameter>constrain</parameter> == <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>unconstrained_upper</parameter>&nbsp;:</term>
<listitem><simpara> The spinbutton's upper boundary
if <parameter>constrain</parameter> == <literal>FALSE</literal>.
if <parameter>constrain</parameter> == <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>tooltip</parameter>&nbsp;:</term>
<listitem><simpara> A tooltip message for the scale and the spinbutton.
@ -503,7 +506,7 @@ attaches them to a 3-column <link linkend="GtkTable"><type>GtkTable</type></link
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-scale-entry-set-sensitive"/>gimp_scale_entry_set_sensitive ()</title>
<title><anchor id="gimp-scale-entry-set-sensitive" role="function"/>gimp_scale_entry_set_sensitive ()</title>
<indexterm><primary>gimp_scale_entry_set_sensitive</primary></indexterm><programlisting><link linkend="void">void</link> gimp_scale_entry_set_sensitive (<link linkend="GtkObject">GtkObject</link> *adjustment,
<link linkend="gboolean">gboolean</link> sensitive);</programlisting>
<para>
@ -521,7 +524,7 @@ Sets the sensitivity of the scale_entry's <link linkend="GtkLabel"><type>GtkLabe
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-scale-entry-set-logarithmic"/>gimp_scale_entry_set_logarithmic ()</title>
<title><anchor id="gimp-scale-entry-set-logarithmic" role="function" condition="since:GIMP 2.2"/>gimp_scale_entry_set_logarithmic ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_scale_entry_set_logarithmic</primary></indexterm><programlisting><link linkend="void">void</link> gimp_scale_entry_set_logarithmic
(<link linkend="GtkObject">GtkObject</link> *adjustment,
<link linkend="gboolean">gboolean</link> logarithmic);</programlisting>
@ -543,7 +546,7 @@ adjustment.</para>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-scale-entry-get-logarithmic"/>gimp_scale_entry_get_logarithmic ()</title>
<title><anchor id="gimp-scale-entry-get-logarithmic" role="function" condition="since:GIMP 2.2"/>gimp_scale_entry_get_logarithmic ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_scale_entry_get_logarithmic</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_scale_entry_get_logarithmic
(<link linkend="GtkObject">GtkObject</link> *adjustment);</programlisting>
<para>
@ -554,14 +557,14 @@ adjustment.</para>
<varlistentry><term><parameter>adjustment</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> as returned by <link linkend="gimp-scale-entry-new"><function>gimp_scale_entry_new()</function></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <literal>TRUE</literal> if the the entry's scale widget will behave in
logharithmic fashion, <literal>FALSE</literal> for linear behaviour.
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the the entry's scale widget will behave in
logharithmic fashion, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> for linear behaviour.
</simpara></listitem></varlistentry>
</variablelist><para>Since GIMP 2.2
</para></refsect2>
<refsect2>
<title><anchor id="gimp-color-scale-entry-new"/>gimp_color_scale_entry_new ()</title>
<title><anchor id="gimp-color-scale-entry-new" role="function"/>gimp_color_scale_entry_new ()</title>
<indexterm><primary>gimp_color_scale_entry_new</primary></indexterm><programlisting><link linkend="GtkObject">GtkObject</link>* gimp_color_scale_entry_new (<link linkend="GtkTable">GtkTable</link> *table,
<link linkend="gint">gint</link> column,
<link linkend="gint">gint</link> row,
@ -629,7 +632,7 @@ This function creates a <link linkend="GtkLabel"><type>GtkLabel</type></link>, a
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-RANDOM-SEED-SPINBUTTON:CAPS"/>GIMP_RANDOM_SEED_SPINBUTTON()</title>
<title><anchor id="GIMP-RANDOM-SEED-SPINBUTTON:CAPS" role="macro"/>GIMP_RANDOM_SEED_SPINBUTTON()</title>
<indexterm><primary>GIMP_RANDOM_SEED_SPINBUTTON</primary></indexterm><programlisting>#define GIMP_RANDOM_SEED_SPINBUTTON(hbox)</programlisting>
<para>
Returns the random_seed's <link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>.
@ -641,7 +644,7 @@ Returns the random_seed's <link linkend="GtkSpinButton"><type>GtkSpinButton</typ
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-RANDOM-SEED-SPINBUTTON-ADJ:CAPS"/>GIMP_RANDOM_SEED_SPINBUTTON_ADJ()</title>
<title><anchor id="GIMP-RANDOM-SEED-SPINBUTTON-ADJ:CAPS" role="macro"/>GIMP_RANDOM_SEED_SPINBUTTON_ADJ()</title>
<indexterm><primary>GIMP_RANDOM_SEED_SPINBUTTON_ADJ</primary></indexterm><programlisting>#define GIMP_RANDOM_SEED_SPINBUTTON_ADJ(hbox)</programlisting>
<para>
Returns the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> of the random_seed's <link linkend="GtkSpinButton"><type>GtkSpinButton</type></link>.
@ -653,7 +656,7 @@ Returns the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> of t
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-RANDOM-SEED-TOGGLE:CAPS"/>GIMP_RANDOM_SEED_TOGGLE()</title>
<title><anchor id="GIMP-RANDOM-SEED-TOGGLE:CAPS" role="macro"/>GIMP_RANDOM_SEED_TOGGLE()</title>
<indexterm><primary>GIMP_RANDOM_SEED_TOGGLE</primary></indexterm><programlisting>#define GIMP_RANDOM_SEED_TOGGLE(hbox)</programlisting>
<para>
@ -665,7 +668,7 @@ Returns the <link linkend="GtkAdjustment"><type>GtkAdjustment</type></link> of t
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-random-seed-new"/>gimp_random_seed_new ()</title>
<title><anchor id="gimp-random-seed-new" role="function"/>gimp_random_seed_new ()</title>
<indexterm><primary>gimp_random_seed_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_random_seed_new (<link linkend="guint32">guint32</link> *seed,
<link linkend="gboolean">gboolean</link> *random_seed);</programlisting>
<para>
@ -686,7 +689,7 @@ generator is initialized.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="GIMP-COORDINATES-CHAINBUTTON:CAPS"/>GIMP_COORDINATES_CHAINBUTTON()</title>
<title><anchor id="GIMP-COORDINATES-CHAINBUTTON:CAPS" role="macro"/>GIMP_COORDINATES_CHAINBUTTON()</title>
<indexterm><primary>GIMP_COORDINATES_CHAINBUTTON</primary></indexterm><programlisting>#define GIMP_COORDINATES_CHAINBUTTON(sizeentry)</programlisting>
<para>
Returns the <link linkend="GimpChainButton"><type>GimpChainButton</type></link> which is attached to the <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link>.
@ -698,7 +701,7 @@ Returns the <link linkend="GimpChainButton"><type>GimpChainButton</type></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-coordinates-new"/>gimp_coordinates_new ()</title>
<title><anchor id="gimp-coordinates-new" role="function"/>gimp_coordinates_new ()</title>
<indexterm><primary>gimp_coordinates_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_coordinates_new (<link linkend="GimpUnit">GimpUnit</link> unit,
const <link linkend="gchar">gchar</link> *unit_format,
<link linkend="gboolean">gboolean</link> menu_show_pixels,
@ -736,11 +739,11 @@ two fields' values or the ratio between them.</para>
<link linkend="gimp-unit-menu-new"><function>gimp_unit_menu_new()</function></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>menu_show_pixels</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> should contain an item
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> should contain an item
for GIMP_UNIT_PIXEL.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>menu_show_percent</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> should contain an item
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the <link linkend="GimpUnitMenu"><type>GimpUnitMenu</type></link> should contain an item
for GIMP_UNIT_PERCENT.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>spinbutton_width</parameter>&nbsp;:</term>
@ -751,12 +754,12 @@ two fields' values or the ratio between them.</para>
<listitem><simpara> The update policy for the <link linkend="GimpSizeEntry"><type>GimpSizeEntry</type></link>.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>chainbutton_active</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the attached <link linkend="GimpChainButton"><type>GimpChainButton</type></link> should be
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the attached <link linkend="GimpChainButton"><type>GimpChainButton</type></link> should be
active.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>chain_constrains_ratio</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the chainbutton should constrain the
fields' aspect ratio. If <literal>FALSE</literal>, the values will
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the chainbutton should constrain the
fields' aspect ratio. If <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>, the values will
be constrained.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>xlabel</parameter>&nbsp;:</term>
@ -805,7 +808,7 @@ two fields' values or the ratio between them.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-pixmap-button-new"/>gimp_pixmap_button_new ()</title>
<title><anchor id="gimp-pixmap-button-new" role="function" condition="deprecated:"/>gimp_pixmap_button_new ()</title>
<indexterm role="deprecated"><primary>gimp_pixmap_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_pixmap_button_new (<link linkend="gchar">gchar</link> **xpm_data,
const <link linkend="gchar">gchar</link> *text);</programlisting>
<warning><para><literal>gimp_pixmap_button_new</literal> is deprecated and should not be used in newly-written code.</para></warning>
@ -825,7 +828,7 @@ and an optional <link linkend="GtkLabel"><type>GtkLabel</type></link>.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-toggle-button-sensitive-update"/>gimp_toggle_button_sensitive_update ()</title>
<title><anchor id="gimp-toggle-button-sensitive-update" role="function"/>gimp_toggle_button_sensitive_update ()</title>
<indexterm><primary>gimp_toggle_button_sensitive_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_toggle_button_sensitive_update
(<link linkend="GtkToggleButton">GtkToggleButton</link> *toggle_button);</programlisting>
<para>
@ -851,7 +854,7 @@ button's inverse "active" state by attaching widgets with the
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-toggle-button-update"/>gimp_toggle_button_update ()</title>
<title><anchor id="gimp-toggle-button-update" role="function"/>gimp_toggle_button_update ()</title>
<indexterm><primary>gimp_toggle_button_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_toggle_button_update (<link linkend="GtkWidget">GtkWidget</link> *widget,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
@ -868,7 +871,7 @@ Note that this function calls <link linkend="gimp-toggle-button-sensitive-update
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-radio-button-update"/>gimp_radio_button_update ()</title>
<title><anchor id="gimp-radio-button-update" role="function"/>gimp_radio_button_update ()</title>
<indexterm><primary>gimp_radio_button_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_radio_button_update (<link linkend="GtkWidget">GtkWidget</link> *widget,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
@ -885,7 +888,7 @@ Note that this function calls <link linkend="gimp-toggle-button-sensitive-update
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-int-adjustment-update"/>gimp_int_adjustment_update ()</title>
<title><anchor id="gimp-int-adjustment-update" role="function"/>gimp_int_adjustment_update ()</title>
<indexterm><primary>gimp_int_adjustment_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_int_adjustment_update (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
@ -903,7 +906,7 @@ rounded with <link linkend="RINT:CAPS"><function>RINT()</function></link>.</para
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-uint-adjustment-update"/>gimp_uint_adjustment_update ()</title>
<title><anchor id="gimp-uint-adjustment-update" role="function"/>gimp_uint_adjustment_update ()</title>
<indexterm><primary>gimp_uint_adjustment_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_uint_adjustment_update (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
@ -921,7 +924,7 @@ with (<link linkend="guint"><type>guint</type></link>) (value + 0.5).</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-float-adjustment-update"/>gimp_float_adjustment_update ()</title>
<title><anchor id="gimp-float-adjustment-update" role="function"/>gimp_float_adjustment_update ()</title>
<indexterm><primary>gimp_float_adjustment_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_float_adjustment_update (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
@ -938,7 +941,7 @@ with (<link linkend="guint"><type>guint</type></link>) (value + 0.5).</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-double-adjustment-update"/>gimp_double_adjustment_update ()</title>
<title><anchor id="gimp-double-adjustment-update" role="function"/>gimp_double_adjustment_update ()</title>
<indexterm><primary>gimp_double_adjustment_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_double_adjustment_update (<link linkend="GtkAdjustment">GtkAdjustment</link> *adjustment,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
@ -955,7 +958,7 @@ with (<link linkend="guint"><type>guint</type></link>) (value + 0.5).</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-unit-menu-update"/>gimp_unit_menu_update ()</title>
<title><anchor id="gimp-unit-menu-update" role="function"/>gimp_unit_menu_update ()</title>
<indexterm><primary>gimp_unit_menu_update</primary></indexterm><programlisting><link linkend="void">void</link> gimp_unit_menu_update (<link linkend="GtkWidget">GtkWidget</link> *widget,
<link linkend="gpointer">gpointer</link> data);</programlisting>
<para>
@ -979,7 +982,7 @@ to set up the list.</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-table-attach-aligned"/>gimp_table_attach_aligned ()</title>
<title><anchor id="gimp-table-attach-aligned" role="function"/>gimp_table_attach_aligned ()</title>
<indexterm><primary>gimp_table_attach_aligned</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_table_attach_aligned (<link linkend="GtkTable">GtkTable</link> *table,
<link linkend="gint">gint</link> column,
<link linkend="gint">gint</link> row,
@ -990,7 +993,7 @@ to set up the list.</para>
<link linkend="gint">gint</link> colspan,
<link linkend="gboolean">gboolean</link> left_align);</programlisting>
<para>
Note that the <parameter>label_text</parameter> can be <literal>NULL</literal> and that the widget will be
Note that the <parameter>label_text</parameter> can be <link linkend="NULL:CAPS"><literal>NULL</literal></link> and that the widget will be
attached starting at (<parameter>column</parameter> + 1) in this case, too.</para>
<para>
@ -1021,13 +1024,13 @@ attached starting at (<parameter>column</parameter> + 1) in this case, too.</par
<listitem><simpara> The number of columns the widget will use.
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>left_align</parameter>&nbsp;:</term>
<listitem><simpara> <literal>TRUE</literal> if the widget should be left-aligned.
<listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the widget should be left-aligned.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> The created <link linkend="GtkLabel"><type>GtkLabel</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-label-set-attributes"/>gimp_label_set_attributes ()</title>
<title><anchor id="gimp-label-set-attributes" role="function" condition="since:GIMP 2.2"/>gimp_label_set_attributes ()</title>
<indexterm role="GIMP 2.2"><primary>gimp_label_set_attributes</primary></indexterm><programlisting><link linkend="void">void</link> gimp_label_set_attributes (<link linkend="GtkLabel">GtkLabel</link> *label,
...);</programlisting>
<para>

View File

@ -4,16 +4,19 @@
<refentry id="GimpZoomModel">
<refmeta>
<refentrytitle>GimpZoomModel</refentrytitle>
<refentrytitle id="top_of_page">GimpZoomModel</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPWIDGETS Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpZoomModel</refname><refpurpose></refpurpose>
<refname>GimpZoomModel</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>
<refsynopsisdiv><title>Synopsis</title>
<refsynopsisdiv id="synopsis">
<title id="synopsis.title">Synopsis</title>
<synopsis>
@ -41,8 +44,8 @@ enum <link linkend="GimpZoomType">GimpZoomType</link>;
</synopsis>
</refsynopsisdiv>
<refsect1>
<title>Object Hierarchy</title>
<refsect1 id="object_hierarchy">
<title id="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
@ -55,8 +58,8 @@ enum <link linkend="GimpZoomType">GimpZoomType</link>;
<refsect1>
<title>Properties</title>
<refsect1 id="properties">
<title id="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpZoomModel--fraction">fraction</link>&quot; <link linkend="gchararray">gchararray</link> : Read
@ -67,35 +70,35 @@ enum <link linkend="GimpZoomType">GimpZoomType</link>;
</synopsis>
</refsect1>
<refsect1>
<title>Signal Prototypes</title>
<refsect1 id="signal_proto">
<title id="signal_proto.title">Signals</title>
<synopsis>
&quot;<link linkend="GimpZoomModel-zoomed">zoomed</link>&quot; <link linkend="void">void</link> user_function (<link linkend="GimpZoomModel">GimpZoomModel</link> *model,
<link linkend="gdouble">gdouble</link> old_factor,
<link linkend="gdouble">gdouble</link> new_factor,
<link linkend="gpointer">gpointer</link> user_data);
<link linkend="gdouble">gdouble</link> old_factor,
<link linkend="gdouble">gdouble</link> new_factor,
<link linkend="gpointer">gpointer</link> user_data) : Run last
</synopsis>
</refsect1>
<refsect1>
<title>Description</title>
<refsect1 id="desc">
<title id="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1>
<title>Details</title>
<refsect1 id="details">
<title id="details.title">Details</title>
<refsect2>
<title><anchor id="GimpZoomModel-struct"/>GimpZoomModel</title>
<title><anchor id="GimpZoomModel-struct" role="struct"/>GimpZoomModel</title>
<indexterm><primary>GimpZoomModel</primary></indexterm><programlisting>typedef struct _GimpZoomModel GimpZoomModel;</programlisting>
<para>
</para></refsect2>
<refsect2>
<title><anchor id="GimpZoomType"/>enum GimpZoomType</title>
<title><anchor id="GimpZoomType" role="enum"/>enum GimpZoomType</title>
<indexterm><primary>GimpZoomType</primary></indexterm><programlisting>typedef enum
{
GIMP_ZOOM_IN, /*&lt; desc="Zoom in" &gt;*/
@ -111,7 +114,7 @@ enum <link linkend="GimpZoomType">GimpZoomType</link>;
</para></refsect2>
<refsect2>
<title><anchor id="gimp-zoom-model-new"/>gimp_zoom_model_new ()</title>
<title><anchor id="gimp-zoom-model-new" role="function"/>gimp_zoom_model_new ()</title>
<indexterm><primary>gimp_zoom_model_new</primary></indexterm><programlisting><link linkend="GimpZoomModel">GimpZoomModel</link>* gimp_zoom_model_new (void);</programlisting>
<para>
Creates a new <link linkend="GimpZoomModel"><type>GimpZoomModel</type></link>.</para>
@ -124,7 +127,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-zoom-model-set-range"/>gimp_zoom_model_set_range ()</title>
<title><anchor id="gimp-zoom-model-set-range" role="function"/>gimp_zoom_model_set_range ()</title>
<indexterm><primary>gimp_zoom_model_set_range</primary></indexterm><programlisting><link linkend="void">void</link> gimp_zoom_model_set_range (<link linkend="GimpZoomModel">GimpZoomModel</link> *model,
<link linkend="gdouble">gdouble</link> min,
<link linkend="gdouble">gdouble</link> max);</programlisting>
@ -147,7 +150,7 @@ Since GIMP 2.4</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-zoom-model-zoom"/>gimp_zoom_model_zoom ()</title>
<title><anchor id="gimp-zoom-model-zoom" role="function"/>gimp_zoom_model_zoom ()</title>
<indexterm><primary>gimp_zoom_model_zoom</primary></indexterm><programlisting><link linkend="void">void</link> gimp_zoom_model_zoom (<link linkend="GimpZoomModel">GimpZoomModel</link> *model,
<link linkend="GimpZoomType">GimpZoomType</link> zoom_type,
<link linkend="gdouble">gdouble</link> scale);</programlisting>
@ -163,11 +166,11 @@ Since GIMP 2.4</para>
<listitem><simpara> the <link linkend="GimpZoomType"><type>GimpZoomType</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>scale</parameter>&nbsp;:</term>
<listitem><simpara> ignored unless <parameter>zoom_type</parameter> == <literal>GIMP_ZOOM_TO</literal>
<listitem><simpara> ignored unless <parameter>zoom_type</parameter> == <link linkend="GIMP-ZOOM-TO:CAPS"><literal>GIMP_ZOOM_TO</literal></link>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-zoom-model-get-factor"/>gimp_zoom_model_get_factor ()</title>
<title><anchor id="gimp-zoom-model-get-factor" role="function"/>gimp_zoom_model_get_factor ()</title>
<indexterm><primary>gimp_zoom_model_get_factor</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_zoom_model_get_factor (<link linkend="GimpZoomModel">GimpZoomModel</link> *model);</programlisting>
<para>
Retrieves the current zoom factor of <parameter>model</parameter>.</para>
@ -183,7 +186,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-zoom-model-get-fraction"/>gimp_zoom_model_get_fraction ()</title>
<title><anchor id="gimp-zoom-model-get-fraction" role="function"/>gimp_zoom_model_get_fraction ()</title>
<indexterm><primary>gimp_zoom_model_get_fraction</primary></indexterm><programlisting><link linkend="void">void</link> gimp_zoom_model_get_fraction (<link linkend="GimpZoomModel">GimpZoomModel</link> *model,
<link linkend="gint">gint</link> *numerator,
<link linkend="gint">gint</link> *denominator);</programlisting>
@ -206,7 +209,7 @@ Since GIMP 2.4</para>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-zoom-button-new"/>gimp_zoom_button_new ()</title>
<title><anchor id="gimp-zoom-button-new" role="function"/>gimp_zoom_button_new ()</title>
<indexterm><primary>gimp_zoom_button_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>* gimp_zoom_button_new (<link linkend="GimpZoomModel">GimpZoomModel</link> *model,
<link linkend="GimpZoomType">GimpZoomType</link> zoom_type,
<link linkend="GtkIconSize">GtkIconSize</link> icon_size);</programlisting>
@ -230,7 +233,7 @@ Since GIMP 2.4
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gimp-zoom-model-zoom-step"/>gimp_zoom_model_zoom_step ()</title>
<title><anchor id="gimp-zoom-model-zoom-step" role="function"/>gimp_zoom_model_zoom_step ()</title>
<indexterm><primary>gimp_zoom_model_zoom_step</primary></indexterm><programlisting><link linkend="gdouble">gdouble</link> gimp_zoom_model_zoom_step (<link linkend="GimpZoomType">GimpZoomType</link> zoom_type,
<link linkend="gdouble">gdouble</link> scale);</programlisting>
<para>
@ -242,7 +245,7 @@ Utility function to calculate a new scale factor.</para>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>scale</parameter>&nbsp;:</term>
<listitem><simpara> ignored unless <parameter>zoom_type</parameter> == <literal>GIMP_ZOOM_TO</literal>
<listitem><simpara> ignored unless <parameter>zoom_type</parameter> == <link linkend="GIMP-ZOOM-TO:CAPS"><literal>GIMP_ZOOM_TO</literal></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the new scale factor
@ -251,43 +254,43 @@ Since GIMP 2.4
</variablelist></refsect2>
</refsect1>
<refsect1>
<title>Properties</title>
<refsect1 id="property_details">
<title id="property_details.title">Property Details</title>
<refsect2><title><anchor id="GimpZoomModel--fraction"/>The &quot;<literal>fraction</literal>&quot; property</title>
<programlisting> &quot;fraction&quot; <link linkend="gchararray">gchararray</link> : Read</programlisting>
<indexterm><primary>GimpZoomModel:fraction</primary></indexterm><programlisting> &quot;fraction&quot; <link linkend="gchararray">gchararray</link> : Read</programlisting>
<para></para><para>Default value: "1:1"</para>
</refsect2>
<refsect2><title><anchor id="GimpZoomModel--maximum"/>The &quot;<literal>maximum</literal>&quot; property</title>
<programlisting> &quot;maximum&quot; <link linkend="gdouble">gdouble</link> : Read / Write</programlisting>
<indexterm><primary>GimpZoomModel:maximum</primary></indexterm><programlisting> &quot;maximum&quot; <link linkend="gdouble">gdouble</link> : Read / Write</programlisting>
<para></para><para>Allowed values: [0.00390625,256]</para>
<para>Default value: 256</para>
</refsect2>
<refsect2><title><anchor id="GimpZoomModel--minimum"/>The &quot;<literal>minimum</literal>&quot; property</title>
<programlisting> &quot;minimum&quot; <link linkend="gdouble">gdouble</link> : Read / Write</programlisting>
<indexterm><primary>GimpZoomModel:minimum</primary></indexterm><programlisting> &quot;minimum&quot; <link linkend="gdouble">gdouble</link> : Read / Write</programlisting>
<para></para><para>Allowed values: [0.00390625,256]</para>
<para>Default value: 0.00390625</para>
</refsect2>
<refsect2><title><anchor id="GimpZoomModel--percentage"/>The &quot;<literal>percentage</literal>&quot; property</title>
<programlisting> &quot;percentage&quot; <link linkend="gchararray">gchararray</link> : Read</programlisting>
<indexterm><primary>GimpZoomModel:percentage</primary></indexterm><programlisting> &quot;percentage&quot; <link linkend="gchararray">gchararray</link> : Read</programlisting>
<para></para><para>Default value: "100%"</para>
</refsect2>
<refsect2><title><anchor id="GimpZoomModel--value"/>The &quot;<literal>value</literal>&quot; property</title>
<programlisting> &quot;value&quot; <link linkend="gdouble">gdouble</link> : Read / Write</programlisting>
<indexterm><primary>GimpZoomModel:value</primary></indexterm><programlisting> &quot;value&quot; <link linkend="gdouble">gdouble</link> : Read / Write</programlisting>
<para></para><para>Allowed values: [0.00390625,256]</para>
<para>Default value: 1</para>
</refsect2>
</refsect1>
<refsect1>
<title>Signals</title>
<refsect1 id="signals">
<title id="signals.title">Signal Details</title>
<refsect2><title><anchor id="GimpZoomModel-zoomed"/>The &quot;zoomed&quot; signal</title>
<programlisting><link linkend="void">void</link> user_function (<link linkend="GimpZoomModel">GimpZoomModel</link> *model,
<link linkend="gdouble">gdouble</link> old_factor,
<link linkend="gdouble">gdouble</link> new_factor,
<link linkend="gpointer">gpointer</link> user_data);</programlisting>
<indexterm><primary>GimpZoomModel::zoomed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="GimpZoomModel">GimpZoomModel</link> *model,
<link linkend="gdouble">gdouble</link> old_factor,
<link linkend="gdouble">gdouble</link> new_factor,
<link linkend="gpointer">gpointer</link> user_data) : Run last</programlisting>
<para>
Emitted the zoom factor of the zoom model changes.</para>
Emitted when the zoom factor of the zoom model changes.</para>
<para>
</para><variablelist role="params">