~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to devel-docs/libgimpwidgets/html/GimpEnumComboBox.html

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
Import upstream version 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
<a name="GimpEnumComboBox.synopsis"></a><h2>Synopsis</h2>
57
57
<pre class="synopsis">
58
58
                    <a class="link" href="GimpEnumComboBox.html#GimpEnumComboBox-struct" title="GimpEnumComboBox">GimpEnumComboBox</a>;
59
 
<a
60
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
61
 
>GtkWidget</a>*          <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new" title="gimp_enum_combo_box_new ()">gimp_enum_combo_box_new</a>             (<a
62
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
63
 
>GType</a> enum_type);
64
 
<a
65
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
66
 
>GtkWidget</a>*          <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>  (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);
 
59
GtkWidget*          <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new" title="gimp_enum_combo_box_new ()">gimp_enum_combo_box_new</a>             (GType enum_type);
 
60
GtkWidget*          <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>  (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);
67
61
void                <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-set-stock-prefix" title="gimp_enum_combo_box_set_stock_prefix ()">gimp_enum_combo_box_set_stock_prefix</a>
68
62
                                                        (<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a> *combo_box,
69
 
                                                         const <a
70
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
71
 
>gchar</a> *stock_prefix);
 
63
                                                         const gchar *stock_prefix);
72
64
</pre>
73
65
</div>
74
66
<div class="refsect1" lang="en">
75
67
<a name="GimpEnumComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
76
68
<pre class="synopsis">
77
 
  <a
78
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
79
 
>GObject</a>
80
 
   +----<a
81
 
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
82
 
>GInitiallyUnowned</a>
83
 
         +----<a
84
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
85
 
>GtkObject</a>
86
 
               +----<a
87
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
88
 
>GtkWidget</a>
89
 
                     +----<a
90
 
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
91
 
>GtkContainer</a>
92
 
                           +----<a
93
 
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
94
 
>GtkBin</a>
95
 
                                 +----<a
96
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
97
 
>GtkComboBox</a>
 
69
  GObject
 
70
   +----GInitiallyUnowned
 
71
         +----GtkObject
 
72
               +----GtkWidget
 
73
                     +----GtkContainer
 
74
                           +----GtkBin
 
75
                                 +----GtkComboBox
98
76
                                       +----<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a>
99
77
                                             +----GimpEnumComboBox
100
78
</pre>
103
81
<a name="GimpEnumComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
104
82
<p>
105
83
GimpEnumComboBox implements
106
 
 AtkImplementorIface,  GtkBuildable,  <a
107
 
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
108
 
>GtkCellEditable</a> and  <a
109
 
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
110
 
>GtkCellLayout</a>.</p>
 
84
 AtkImplementorIface,  GtkBuildable,  GtkCellEditable and  GtkCellLayout.</p>
111
85
</div>
112
86
<div class="refsect1" lang="en">
113
87
<a name="GimpEnumComboBox.properties"></a><h2>Properties</h2>
133
107
<hr>
134
108
<div class="refsect2" lang="en">
135
109
<a name="gimp-enum-combo-box-new"></a><h3>gimp_enum_combo_box_new ()</h3>
136
 
<pre class="programlisting"><a
137
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
138
 
>GtkWidget</a>*          gimp_enum_combo_box_new             (<a
139
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
140
 
>GType</a> enum_type);</pre>
 
110
<pre class="programlisting">GtkWidget*          gimp_enum_combo_box_new             (GType enum_type);</pre>
141
111
<p>
142
 
Creates a <a
143
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
144
 
><span class="type">GtkComboBox</span></a> readily filled with all enum values from a
 
112
Creates a <span class="type">GtkComboBox</span> readily filled with all enum values from a
145
113
given <em class="parameter"><code>enum_type</code></em>. The enum needs to be registered to the type
146
114
system. It should also have <a
147
 
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbasetypes.html#GimpEnumDesc"
 
115
href="../libgimpbase/libgimpbase-gimpbasetypes.html#GimpEnumDesc"
148
116
><code class="literal">GimpEnumDesc</code></a> descriptions registered
149
117
that contain translatable value names. This is the case for the
150
118
enums used in the GIMP PDB functions.
161
129
<tbody>
162
130
<tr>
163
131
<td><p><span class="term"><em class="parameter"><code>enum_type</code></em> :</span></p></td>
164
 
<td> the <a
165
 
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#GType"
166
 
><span class="type">GType</span></a> of an enum.
 
132
<td> the <span class="type">GType</span> of an enum.
167
133
</td>
168
134
</tr>
169
135
<tr>
180
146
<hr>
181
147
<div class="refsect2" lang="en">
182
148
<a name="gimp-enum-combo-box-new-with-model"></a><h3>gimp_enum_combo_box_new_with_model ()</h3>
183
 
<pre class="programlisting"><a
184
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
185
 
>GtkWidget</a>*          gimp_enum_combo_box_new_with_model  (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);</pre>
 
149
<pre class="programlisting">GtkWidget*          gimp_enum_combo_box_new_with_model  (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);</pre>
186
150
<p>
187
 
Creates a <a
188
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
189
 
><span class="type">GtkComboBox</span></a> for the given <em class="parameter"><code>enum_store</code></em>.</p>
 
151
Creates a <span class="type">GtkComboBox</span> for the given <em class="parameter"><code>enum_store</code></em>.</p>
190
152
<p>
191
153
 
192
154
</p>
214
176
<a name="gimp-enum-combo-box-set-stock-prefix"></a><h3>gimp_enum_combo_box_set_stock_prefix ()</h3>
215
177
<pre class="programlisting">void                gimp_enum_combo_box_set_stock_prefix
216
178
                                                        (<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a> *combo_box,
217
 
                                                         const <a
218
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
219
 
>gchar</a> *stock_prefix);</pre>
 
179
                                                         const gchar *stock_prefix);</pre>
220
180
<p>
221
181
Attempts to create stock icons for all items in the <em class="parameter"><code>combo_box</code></em>. See
222
182
<code class="function">gimp_enum_store_set_icons()</code> to find out what to use as <em class="parameter"><code>stock_prefix</code></em>.</p>