Imported Upstream version 2.4.0~rc2
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>GimpEnumWidgets</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
|
||||
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
|
||||
<link rel="up" href="libgimpwidgets-utils.html" title="Part V. GIMP Widgets Utilities">
|
||||
<link rel="prev" href="libgimpwidgets-GimpStock.html" title="GimpStock">
|
||||
@ -33,16 +33,16 @@
|
||||
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
|
||||
<td><a accesskey="n" href="libgimpwidgets-GimpPropWidgets.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
||||
</tr>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2590664" class="shortcut">Top</a>
|
||||
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2594467" class="shortcut">Top</a>
|
||||
 | 
|
||||
<a href="#id2664967" class="shortcut">Description</a></nobr></td></tr>
|
||||
<a href="#id2671981" class="shortcut">Description</a></nobr></td></tr>
|
||||
</table>
|
||||
<div class="refentry" lang="en">
|
||||
<a name="libgimpwidgets-GimpEnumWidgets"></a><div class="titlepage"></div>
|
||||
<div class="refnamediv"><table width="100%"><tr>
|
||||
<td valign="top">
|
||||
<h2>
|
||||
<a name="id2590664"></a><span class="refentrytitle">GimpEnumWidgets</span>
|
||||
<a name="id2594467"></a><span class="refentrytitle">GimpEnumWidgets</span>
|
||||
</h2>
|
||||
<p>GimpEnumWidgets</p>
|
||||
</td>
|
||||
@ -54,169 +54,69 @@
|
||||
|
||||
|
||||
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new">gimp_enum_radio_box_new</a> (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range">gimp_enum_radio_box_new_with_range</a> (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> minimum,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> maximum,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new">gimp_enum_radio_frame_new</a> (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *label_widget,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new-with-range">gimp_enum_radio_frame_new_with_range</a>
|
||||
(<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> minimum,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> maximum,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *label_widget,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new">gimp_enum_stock_box_new</a> (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *stock_prefix,
|
||||
<a
|
||||
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
|
||||
>GtkIconSize</a> icon_size,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new-with-range">gimp_enum_stock_box_new_with_range</a> (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> minimum,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> maximum,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *stock_prefix,
|
||||
<a
|
||||
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
|
||||
>GtkIconSize</a> icon_size,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);
|
||||
void <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-set-child-padding">gimp_enum_stock_box_set_child_padding</a>
|
||||
(<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *stock_box,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> xpad,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> ypad);
|
||||
GtkWidget* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new">gimp_enum_radio_box_new</a> (GType enum_type,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);
|
||||
GtkWidget* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range">gimp_enum_radio_box_new_with_range</a> (GType enum_type,
|
||||
gint minimum,
|
||||
gint maximum,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);
|
||||
GtkWidget* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new">gimp_enum_radio_frame_new</a> (GType enum_type,
|
||||
GtkWidget *label_widget,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);
|
||||
GtkWidget* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-frame-new-with-range">gimp_enum_radio_frame_new_with_range</a>
|
||||
(GType enum_type,
|
||||
gint minimum,
|
||||
gint maximum,
|
||||
GtkWidget *label_widget,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);
|
||||
GtkWidget* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new">gimp_enum_stock_box_new</a> (GType enum_type,
|
||||
const gchar *stock_prefix,
|
||||
GtkIconSize icon_size,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);
|
||||
GtkWidget* <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new-with-range">gimp_enum_stock_box_new_with_range</a> (GType enum_type,
|
||||
gint minimum,
|
||||
gint maximum,
|
||||
const gchar *stock_prefix,
|
||||
GtkIconSize icon_size,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);
|
||||
void <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-set-child-padding">gimp_enum_stock_box_set_child_padding</a>
|
||||
(GtkWidget *stock_box,
|
||||
gint xpad,
|
||||
gint ypad);
|
||||
</pre>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2664967"></a><h2>Description</h2>
|
||||
<a name="id2671981"></a><h2>Description</h2>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
<div class="refsect1" lang="en">
|
||||
<a name="id2664983"></a><h2>Details</h2>
|
||||
<a name="id2671996"></a><h2>Details</h2>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2664994"></a><h3>
|
||||
<a name="id2672007"></a><h3>
|
||||
<a name="gimp-enum-radio-box-new"></a>gimp_enum_radio_box_new ()</h3>
|
||||
<a class="indexterm" name="id2665007"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_enum_radio_box_new (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);</pre>
|
||||
<a class="indexterm" name="id2672021"></a><pre class="programlisting">GtkWidget* gimp_enum_radio_box_new (GType enum_type,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);</pre>
|
||||
<p>
|
||||
Creates a new group of <span class="type">GtkRadioButtons</span> representing the enum
|
||||
values. A group of radiobuttons is a good way to represent enums
|
||||
with up to three or four values. Often it is better to use a
|
||||
<a href="GimpEnumComboBox.html" title="GimpEnumComboBox"><span class="type">GimpEnumComboBox</span></a> instead.</p>
|
||||
<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox"><span class="type">GimpEnumComboBox</span></a> instead.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -224,35 +124,29 @@ with up to three or four values. Often it is better to use a
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
><span class="type">GType</span></a> of an enum.
|
||||
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
|
||||
<td> the <span class="type">GType</span> of an enum.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
||||
<td> a callback to connect to the "toggled" signal of each
|
||||
<a
|
||||
href="../gtk/GtkRadioButton.html"
|
||||
><span class="type">GtkRadioButton</span></a> that is created.
|
||||
<span class="type">GtkRadioButton</span> that is created.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
|
||||
<td> data to pass to the <em class="parameter"><code>callback</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>first_button</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>first_button</code></em> :</span></p></td>
|
||||
<td> returns the first button in the created group.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a new <a
|
||||
href="../gtk/GtkVBox.html"
|
||||
><span class="type">GtkVBox</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> a new <span class="type">GtkVBox</span> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -263,30 +157,16 @@ href="../gtk/GtkVBox.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2652712"></a><h3>
|
||||
<a name="id2672205"></a><h3>
|
||||
<a name="gimp-enum-radio-box-new-with-range"></a>gimp_enum_radio_box_new_with_range ()</h3>
|
||||
<a class="indexterm" name="id2652726"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_enum_radio_box_new_with_range (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> minimum,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> maximum,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);</pre>
|
||||
<a class="indexterm" name="id2682292"></a><pre class="programlisting">GtkWidget* gimp_enum_radio_box_new_with_range (GType enum_type,
|
||||
gint minimum,
|
||||
gint maximum,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);</pre>
|
||||
<p>
|
||||
Just like <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><code class="function">gimp_enum_radio_box_new()</code></a>, this function creates a group
|
||||
Just like <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><code class="function">gimp_enum_radio_box_new()</code></a>, this function creates a group
|
||||
of radio buttons, but it allows to limit the range of available
|
||||
enum values.</p>
|
||||
<p>
|
||||
@ -296,45 +176,39 @@ enum values.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
><span class="type">GType</span></a> of an enum.
|
||||
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
|
||||
<td> the <span class="type">GType</span> of an enum.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
||||
<td> a callback to connect to the "toggled" signal of each
|
||||
<a
|
||||
href="../gtk/GtkRadioButton.html"
|
||||
><span class="type">GtkRadioButton</span></a> that is created.
|
||||
<span class="type">GtkRadioButton</span> that is created.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
|
||||
<td> data to pass to the <em class="parameter"><code>callback</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>first_button</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>first_button</code></em> :</span></p></td>
|
||||
<td> returns the first button in the created group.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a new <a
|
||||
href="../gtk/GtkVBox.html"
|
||||
><span class="type">GtkVBox</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> a new <span class="type">GtkVBox</span> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -345,30 +219,16 @@ href="../gtk/GtkVBox.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2652946"></a><h3>
|
||||
<a name="id2682513"></a><h3>
|
||||
<a name="gimp-enum-radio-frame-new"></a>gimp_enum_radio_frame_new ()</h3>
|
||||
<a class="indexterm" name="id2652960"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_enum_radio_frame_new (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *label_widget,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);</pre>
|
||||
<a class="indexterm" name="id2682527"></a><pre class="programlisting">GtkWidget* gimp_enum_radio_frame_new (GType enum_type,
|
||||
GtkWidget *label_widget,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);</pre>
|
||||
<p>
|
||||
Calls <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><code class="function">gimp_enum_radio_box_new()</code></a> and puts the resulting vbox into a
|
||||
<a
|
||||
href="../gtk/GtkFrame.html"
|
||||
><span class="type">GtkFrame</span></a>.</p>
|
||||
Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new"><code class="function">gimp_enum_radio_box_new()</code></a> and puts the resulting vbox into a
|
||||
<span class="type">GtkFrame</span>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -376,41 +236,35 @@ href="../gtk/GtkFrame.html"
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
><span class="type">GType</span></a> of an enum.
|
||||
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
|
||||
<td> the <span class="type">GType</span> of an enum.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>label_widget</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>label_widget</code></em> :</span></p></td>
|
||||
<td> a widget to use as label for the frame that will
|
||||
hold the radio box.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
||||
<td> a callback to connect to the "toggled" signal of each
|
||||
<a
|
||||
href="../gtk/GtkRadioButton.html"
|
||||
><span class="type">GtkRadioButton</span></a> that is created.
|
||||
<span class="type">GtkRadioButton</span> that is created.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
|
||||
<td> data to pass to the <em class="parameter"><code>callback</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>first_button</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>first_button</code></em> :</span></p></td>
|
||||
<td> returns the first button in the created group.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a new <a
|
||||
href="../gtk/GtkFrame.html"
|
||||
><span class="type">GtkFrame</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> a new <span class="type">GtkFrame</span> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -421,37 +275,19 @@ href="../gtk/GtkFrame.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2653968"></a><h3>
|
||||
<a name="id2670715"></a><h3>
|
||||
<a name="gimp-enum-radio-frame-new-with-range"></a>gimp_enum_radio_frame_new_with_range ()</h3>
|
||||
<a class="indexterm" name="id2653982"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_enum_radio_frame_new_with_range
|
||||
(<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> minimum,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> maximum,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *label_widget,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);</pre>
|
||||
<a class="indexterm" name="id2670730"></a><pre class="programlisting">GtkWidget* gimp_enum_radio_frame_new_with_range
|
||||
(GType enum_type,
|
||||
gint minimum,
|
||||
gint maximum,
|
||||
GtkWidget *label_widget,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);</pre>
|
||||
<p>
|
||||
Calls <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range"><code class="function">gimp_enum_radio_box_new_with_range()</code></a> and puts the resulting
|
||||
vbox into a <a
|
||||
href="../gtk/GtkFrame.html"
|
||||
><span class="type">GtkFrame</span></a>.</p>
|
||||
Calls <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-radio-box-new-with-range"><code class="function">gimp_enum_radio_box_new_with_range()</code></a> and puts the resulting
|
||||
vbox into a <span class="type">GtkFrame</span>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -459,50 +295,44 @@ href="../gtk/GtkFrame.html"
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
><span class="type">GType</span></a> of an enum.
|
||||
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
|
||||
<td> the <span class="type">GType</span> of an enum.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>label_widget</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>label_widget</code></em> :</span></p></td>
|
||||
<td> a widget to put into the frame that will hold the radio box.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
||||
<td> a callback to connect to the "toggled" signal of each
|
||||
<a
|
||||
href="../gtk/GtkRadioButton.html"
|
||||
><span class="type">GtkRadioButton</span></a> that is created.
|
||||
<span class="type">GtkRadioButton</span> that is created.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
|
||||
<td> data to pass to the <em class="parameter"><code>callback</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>first_button</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>first_button</code></em> :</span></p></td>
|
||||
<td> returns the first button in the created group.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td> a new <a
|
||||
href="../gtk/GtkFrame.html"
|
||||
><span class="type">GtkFrame</span></a> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> a new <span class="type">GtkFrame</span> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@ -513,28 +343,14 @@ href="../gtk/GtkFrame.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2654234"></a><h3>
|
||||
<a name="id2670982"></a><h3>
|
||||
<a name="gimp-enum-stock-box-new"></a>gimp_enum_stock_box_new ()</h3>
|
||||
<a class="indexterm" name="id2654247"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_enum_stock_box_new (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *stock_prefix,
|
||||
<a
|
||||
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
|
||||
>GtkIconSize</a> icon_size,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);</pre>
|
||||
<a class="indexterm" name="id2670995"></a><pre class="programlisting">GtkWidget* gimp_enum_stock_box_new (GType enum_type,
|
||||
const gchar *stock_prefix,
|
||||
GtkIconSize icon_size,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);</pre>
|
||||
<p>
|
||||
Creates a horizontal box of radio buttons with stock icons. The
|
||||
stock_id for each icon is created by appending the enum_value's
|
||||
@ -546,42 +362,38 @@ nick to the given <em class="parameter"><code>stock_prefix</code></em>.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
><span class="type">GType</span></a> of an enum.
|
||||
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
|
||||
<td> the <span class="type">GType</span> of an enum.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>stock_prefix</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>stock_prefix</code></em> :</span></p></td>
|
||||
<td> the prefix of the group of stock ids to use.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>icon_size</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>icon_size</code></em> :</span></p></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
||||
<td> a callback to connect to the "toggled" signal of each
|
||||
<a
|
||||
href="../gtk/GtkRadioButton.html"
|
||||
><span class="type">GtkRadioButton</span></a> that is created.
|
||||
<span class="type">GtkRadioButton</span> that is created.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
|
||||
<td> data to pass to the <em class="parameter"><code>callback</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>first_button</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>first_button</code></em> :</span></p></td>
|
||||
<td> returns the first button in the created group.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> a new <span class="type">GtkHbox</span> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
|
||||
</td>
|
||||
@ -593,36 +405,18 @@ href="../gtk/GtkRadioButton.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2654467"></a><h3>
|
||||
<a name="id2676174"></a><h3>
|
||||
<a name="gimp-enum-stock-box-new-with-range"></a>gimp_enum_stock_box_new_with_range ()</h3>
|
||||
<a class="indexterm" name="id2654481"></a><pre class="programlisting"><a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a>* gimp_enum_stock_box_new_with_range (<a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
>GType</a> enum_type,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> minimum,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> maximum,
|
||||
const <a
|
||||
href="../glib/glib-Basic-Types.html#gchar"
|
||||
>gchar</a> *stock_prefix,
|
||||
<a
|
||||
href="../gtk/gtk-Themeable-Stock-Images.html#GtkIconSize"
|
||||
>GtkIconSize</a> icon_size,
|
||||
<a
|
||||
href="../gobject/gobject-Closures.html#GCallback"
|
||||
>GCallback</a> callback,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gpointer"
|
||||
>gpointer</a> callback_data,
|
||||
<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> **first_button);</pre>
|
||||
<a class="indexterm" name="id2676188"></a><pre class="programlisting">GtkWidget* gimp_enum_stock_box_new_with_range (GType enum_type,
|
||||
gint minimum,
|
||||
gint maximum,
|
||||
const gchar *stock_prefix,
|
||||
GtkIconSize icon_size,
|
||||
GCallback callback,
|
||||
gpointer callback_data,
|
||||
GtkWidget **first_button);</pre>
|
||||
<p>
|
||||
Just like <a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new"><code class="function">gimp_enum_stock_box_new()</code></a>, this function creates a group
|
||||
Just like <a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new"><code class="function">gimp_enum_stock_box_new()</code></a>, this function creates a group
|
||||
of radio buttons, but it allows to limit the range of available
|
||||
enum values.</p>
|
||||
<p>
|
||||
@ -632,52 +426,48 @@ enum values.</p>
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></td>
|
||||
<td> the <a
|
||||
href="../gobject/gobject-Type-Information.html#GType"
|
||||
><span class="type">GType</span></a> of an enum.
|
||||
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
|
||||
<td> the <span class="type">GType</span> of an enum.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>minimum</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>minimum</code></em> :</span></p></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>maximum</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>maximum</code></em> :</span></p></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>stock_prefix</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>stock_prefix</code></em> :</span></p></td>
|
||||
<td> the prefix of the group of stock ids to use.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>icon_size</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>icon_size</code></em> :</span></p></td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
|
||||
<td> a callback to connect to the "toggled" signal of each
|
||||
<a
|
||||
href="../gtk/GtkRadioButton.html"
|
||||
><span class="type">GtkRadioButton</span></a> that is created.
|
||||
<span class="type">GtkRadioButton</span> that is created.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>callback_data</code></em> :</span></p></td>
|
||||
<td> data to pass to the <em class="parameter"><code>callback</code></em>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>first_button</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>first_button</code></em> :</span></p></td>
|
||||
<td> returns the first button in the created group.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
|
||||
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
||||
<td> a new <span class="type">GtkHbox</span> holding a group of <span class="type">GtkRadioButtons</span>.
|
||||
|
||||
</td>
|
||||
@ -689,21 +479,15 @@ href="../gtk/GtkRadioButton.html"
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2" lang="en">
|
||||
<a name="id2659078"></a><h3>
|
||||
<a name="id2676452"></a><h3>
|
||||
<a name="gimp-enum-stock-box-set-child-padding"></a>gimp_enum_stock_box_set_child_padding ()</h3>
|
||||
<a class="indexterm" name="id2659094"></a><pre class="programlisting">void gimp_enum_stock_box_set_child_padding
|
||||
(<a
|
||||
href="../gtk/GtkWidget.html"
|
||||
>GtkWidget</a> *stock_box,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> xpad,
|
||||
<a
|
||||
href="../glib/glib-Basic-Types.html#gint"
|
||||
>gint</a> ypad);</pre>
|
||||
<a class="indexterm" name="id2676468"></a><pre class="programlisting">void gimp_enum_stock_box_set_child_padding
|
||||
(GtkWidget *stock_box,
|
||||
gint xpad,
|
||||
gint ypad);</pre>
|
||||
<p>
|
||||
Sets the padding of all buttons in a box created by
|
||||
<a href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new"><code class="function">gimp_enum_stock_box_new()</code></a>.</p>
|
||||
<a class="link" href="libgimpwidgets-GimpEnumWidgets.html#gimp-enum-stock-box-new"><code class="function">gimp_enum_stock_box_new()</code></a>.</p>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
@ -711,17 +495,17 @@ Sets the padding of all buttons in a box created by
|
||||
<col align="left" valign="top">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>stock_box</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>stock_box</code></em> :</span></p></td>
|
||||
<td> a stock box widget
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>xpad</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>xpad</code></em> :</span></p></td>
|
||||
<td> horizontal padding
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><span class="term"><em class="parameter"><code>ypad</code></em> :</span></td>
|
||||
<td><p><span class="term"><em class="parameter"><code>ypad</code></em> :</span></p></td>
|
||||
<td> vertical padding
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user