Imported Upstream version 2.8.16
This commit is contained in:
@ -2,13 +2,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GIMP Widgets Library Reference Manual: GimpEnumComboBox</title>
|
||||
<title>GimpEnumComboBox: GIMP Widgets Library Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
||||
<link rel="home" href="index.html" title="GIMP Widgets Library Reference Manual">
|
||||
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
|
||||
<link rel="prev" href="GimpEnumStore.html" title="GimpEnumStore">
|
||||
<link rel="next" href="GimpEnumLabel.html" title="GimpEnumLabel">
|
||||
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -44,7 +44,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GtkWidget</span> *
|
||||
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new" title="gimp_enum_combo_box_new ()">gimp_enum_combo_box_new</a> <span class="c_punctuation">()</span>
|
||||
@ -52,7 +52,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GtkWidget</span> *
|
||||
<a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new-with-model" title="gimp_enum_combo_box_new_with_model ()">gimp_enum_combo_box_new_with_model</a> <span class="c_punctuation">()</span>
|
||||
@ -100,13 +100,13 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpEnumComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> GtkObject
|
||||
<span class="lineart">╰──</span> GtkWidget
|
||||
<span class="lineart">╰──</span> GtkContainer
|
||||
<span class="lineart">╰──</span> GtkBin
|
||||
<span class="lineart">╰──</span> GtkComboBox
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkObject.html">GtkObject</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkWidget.html">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkContainer.html">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkBin.html">GtkBin</a>
|
||||
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gtk3/GtkComboBox.html">GtkComboBox</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a>
|
||||
<span class="lineart">╰──</span> GimpEnumComboBox
|
||||
</pre>
|
||||
@ -115,22 +115,22 @@
|
||||
<a name="GimpEnumComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GimpEnumComboBox implements
|
||||
AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.</p>
|
||||
AtkImplementorIface, <a href="http://library.gnome.org/devel/gtk3/GtkBuildable.html">GtkBuildable</a>, <a href="http://library.gnome.org/devel/gtk3/GtkCellLayout.html">GtkCellLayout</a> and <a href="http://library.gnome.org/devel/gtk3/GtkCellEditable.html">GtkCellEditable</a>.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpEnumComboBox.description"></a><h2>Description</h2>
|
||||
<p>A <span class="type">GtkComboBox</span> subclass for selecting an enum value.</p>
|
||||
<p>A <a href="http://library.gnome.org/devel/gtk3/GtkComboBox.html"><span class="type">GtkComboBox</span></a> subclass for selecting an enum value.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GimpEnumComboBox.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-enum-combo-box-new"></a><h3>gimp_enum_combo_box_new ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *
|
||||
gimp_enum_combo_box_new (<em class="parameter"><code><span class="type">GType</span> enum_type</code></em>);</pre>
|
||||
<p>Creates a <span class="type">GtkComboBox</span> readily filled with all enum values from a
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gimp_enum_combo_box_new (<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> enum_type</code></em>);</pre>
|
||||
<p>Creates a <a href="http://library.gnome.org/devel/gtk3/GtkComboBox.html"><span class="type">GtkComboBox</span></a> readily filled with all enum values from a
|
||||
given <em class="parameter"><code>enum_type</code></em>
|
||||
. The enum needs to be registered to the type
|
||||
system. It should also have <a href="/local/head/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbasetypes.html#GimpEnumDesc"><code class="literal">GimpEnumDesc</code></a> descriptions registered
|
||||
system. It should also have <a href="../libgimpbase/libgimpbase-gimpbasetypes.html#GimpEnumDesc"><code class="literal">GimpEnumDesc</code></a> descriptions registered
|
||||
that contain translatable value names. This is the case for the
|
||||
enums used in the GIMP PDB functions.</p>
|
||||
<p>This is just a convenience function. If you need more control over
|
||||
@ -146,7 +146,7 @@ own <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class=
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>enum_type</p></td>
|
||||
<td class="parameter_description"><p>the <span class="type">GType</span> of an enum.</p></td>
|
||||
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of an enum.</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -154,16 +154,15 @@ own <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class=
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.16.9.2.7"></a><h4>Returns</h4>
|
||||
<p> a new <a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox"><span class="type">GimpEnumComboBox</span></a>.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.4</p>
|
||||
<p class="since">Since: GIMP 2.4</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-enum-combo-box-new-with-model"></a><h3>gimp_enum_combo_box_new_with_model ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *
|
||||
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gimp_enum_combo_box_new_with_model (<em class="parameter"><code><a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> *enum_store</code></em>);</pre>
|
||||
<p>Creates a <span class="type">GtkComboBox</span> for the given <em class="parameter"><code>enum_store</code></em>
|
||||
<p>Creates a <a href="http://library.gnome.org/devel/gtk3/GtkComboBox.html"><span class="type">GtkComboBox</span></a> for the given <em class="parameter"><code>enum_store</code></em>
|
||||
.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.16.9.3.5"></a><h4>Parameters</h4>
|
||||
@ -183,16 +182,15 @@ gimp_enum_combo_box_new_with_model (<em class="parameter"><code><a class="link"
|
||||
<div class="refsect3">
|
||||
<a name="id-1.2.16.9.3.6"></a><h4>Returns</h4>
|
||||
<p> a new <a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox"><span class="type">GimpEnumComboBox</span></a>.</p>
|
||||
<p></p>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.4</p>
|
||||
<p class="since">Since: GIMP 2.4</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gimp-enum-combo-box-set-stock-prefix"></a><h3>gimp_enum_combo_box_set_stock_prefix ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gimp_enum_combo_box_set_stock_prefix (<em class="parameter"><code><a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox"><span class="type">GimpEnumComboBox</span></a> *combo_box</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *stock_prefix</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_prefix</code></em>);</pre>
|
||||
<p>Attempts to create stock icons for all items in the <em class="parameter"><code>combo_box</code></em>
|
||||
. See
|
||||
<a class="link" href="GimpEnumStore.html#gimp-enum-store-set-stock-prefix" title="gimp_enum_store_set_stock_prefix ()"><code class="function">gimp_enum_store_set_stock_prefix()</code></a> to find out what to use as
|
||||
@ -220,7 +218,7 @@ gimp_enum_combo_box_set_stock_prefix (<em class="parameter"><code><a class="link
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since GIMP 2.4</p>
|
||||
<p class="since">Since: GIMP 2.4</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -228,8 +226,6 @@ gimp_enum_combo_box_set_stock_prefix (<em class="parameter"><code><a class="link
|
||||
<div class="refsect2">
|
||||
<a name="GimpEnumComboBox-struct"></a><h3>GimpEnumComboBox</h3>
|
||||
<pre class="programlisting">typedef struct _GimpEnumComboBox GimpEnumComboBox;</pre>
|
||||
<p>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
@ -237,13 +233,11 @@ gimp_enum_combo_box_set_stock_prefix (<em class="parameter"><code><a class="link
|
||||
<div class="refsect2">
|
||||
<a name="GimpEnumComboBox--model"></a><h3>The <code class="literal">“model”</code> property</h3>
|
||||
<pre class="programlisting"> “model” <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> *</pre>
|
||||
<p></p>
|
||||
<p>Flags: Read / Write</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>
|
||||
Generated by GTK-Doc V1.21</div>
|
||||
<hr>Generated by GTK-Doc V1.24</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user