~ubuntu-branches/ubuntu/trusty/gimp/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2009-08-14 09:57:17 UTC
  • mto: (1.1.21 upstream) (0.1.5 squeeze)
  • mto: This revision was merged to the branch mainline in revision 48.
  • Revision ID: james.westby@ubuntu.com-20090814095717-37dh2xqy5t0rurpk
Import upstream version 2.6.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GimpEnumComboBox</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GIMP Widgets Library Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
7
<link rel="home" href="index.html" title="GIMP Widgets Library Reference Manual">
8
8
<link rel="up" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
9
9
<link rel="prev" href="GimpEnumStore.html" title="GimpEnumStore">
10
10
<link rel="next" href="GimpEnumLabel.html" title="GimpEnumLabel">
11
 
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="part" href="libgimpwidgets-widgets.html" title="Part I. GIMP Widgets">
14
14
<link rel="chapter" href="libgimpwidgets-hierarchy.html" title="Object Hierarchy">
34
34
<th width="100%" align="center">GIMP Widgets Library Reference Manual</th>
35
35
<td><a accesskey="n" href="GimpEnumLabel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
36
36
</tr>
37
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#GimpEnumComboBox.synopsis" class="shortcut">Top</a>
38
 
                   | 
39
 
                  <a href="#GimpEnumComboBox.description" class="shortcut">Description</a>
40
 
                   | 
41
 
                  <a href="#GimpEnumComboBox.object-hierarchy" class="shortcut">Object Hierarchy</a>
42
 
                   | 
43
 
                  <a href="#GimpEnumComboBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
44
 
                   | 
45
 
                  <a href="#GimpEnumComboBox.properties" class="shortcut">Properties</a></nobr></td></tr>
 
37
<tr><td colspan="5" class="shortcuts">
 
38
<a href="#GimpEnumComboBox.synopsis" class="shortcut">Top</a>
 
39
                 | 
 
40
                <a href="#GimpEnumComboBox.description" class="shortcut">Description</a>
 
41
                 | 
 
42
                <a href="#GimpEnumComboBox.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
43
                 | 
 
44
                <a href="#GimpEnumComboBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
45
                 | 
 
46
                <a href="#GimpEnumComboBox.properties" class="shortcut">Properties</a>
 
47
</td></tr>
46
48
</table>
47
 
<div class="refentry" lang="en">
 
49
<div class="refentry" title="GimpEnumComboBox">
48
50
<a name="GimpEnumComboBox"></a><div class="titlepage"></div>
49
51
<div class="refnamediv"><table width="100%"><tr>
50
52
<td valign="top">
53
55
</td>
54
56
<td valign="top" align="right"><img src="gimp-enum-combo-box.png"></td>
55
57
</tr></table></div>
56
 
<div class="refsynopsisdiv">
 
58
<div class="refsynopsisdiv" title="Synopsis">
57
59
<a name="GimpEnumComboBox.synopsis"></a><h2>Synopsis</h2>
58
60
<pre class="synopsis">
59
61
                    <a class="link" href="GimpEnumComboBox.html#GimpEnumComboBox-struct" title="GimpEnumComboBox">GimpEnumComboBox</a>;
60
62
<a
61
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
62
 
>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
 
63
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
64
>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
63
65
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
64
66
>GType</a> enum_type);
65
67
<a
66
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
67
 
>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);
 
68
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
69
>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);
68
70
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>
69
71
                                                        (<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a> *combo_box,
70
72
                                                         const <a
72
74
>gchar</a> *stock_prefix);
73
75
</pre>
74
76
</div>
75
 
<div class="refsect1" lang="en">
 
77
<div class="refsect1" title="Object Hierarchy">
76
78
<a name="GimpEnumComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
77
79
<pre class="synopsis">
78
80
  <a
82
84
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
83
85
>GInitiallyUnowned</a>
84
86
         +----<a
85
 
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
 
87
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
86
88
>GtkObject</a>
87
89
               +----<a
88
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
 
90
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
89
91
>GtkWidget</a>
90
92
                     +----<a
91
 
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
 
93
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
92
94
>GtkContainer</a>
93
95
                           +----<a
94
 
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
 
96
href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"
95
97
>GtkBin</a>
96
98
                                 +----<a
97
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
 
99
href="http://library.gnome.org/devel/gtk/unstable/GtkComboBox.html"
98
100
>GtkComboBox</a>
99
101
                                       +----<a class="link" href="GimpIntComboBox.html" title="GimpIntComboBox">GimpIntComboBox</a>
100
102
                                             +----GimpEnumComboBox
101
103
</pre>
102
104
</div>
103
 
<div class="refsect1" lang="en">
 
105
<div class="refsect1" title="Implemented Interfaces">
104
106
<a name="GimpEnumComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
105
107
<p>
106
108
GimpEnumComboBox implements
107
 
 AtkImplementorIface,  <a
108
 
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
109
 
>GtkBuildable</a>,  <a
110
 
href="/usr/share/gtk-doc/html/gtk/GtkCellEditable.html"
 
109
 <a
 
110
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
 
111
>GtkBuildable</a>,  AtkImplementorIface,  <a
 
112
href="http://library.gnome.org/devel/gtk/unstable/GtkCellEditable.html"
111
113
>GtkCellEditable</a> and  <a
112
 
href="/usr/share/gtk-doc/html/gtk/GtkCellLayout.html"
 
114
href="http://library.gnome.org/devel/gtk/unstable/GtkCellLayout.html"
113
115
>GtkCellLayout</a>.</p>
114
116
</div>
115
 
<div class="refsect1" lang="en">
 
117
<div class="refsect1" title="Properties">
116
118
<a name="GimpEnumComboBox.properties"></a><h2>Properties</h2>
117
119
<pre class="synopsis">
118
120
  "<a class="link" href="GimpEnumComboBox.html#GimpEnumComboBox--model" title='The "model" property'>model</a>"                    <a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a>*        : Read / Write
119
121
</pre>
120
122
</div>
121
 
<div class="refsect1" lang="en">
 
123
<div class="refsect1" title="Description">
122
124
<a name="GimpEnumComboBox.description"></a><h2>Description</h2>
123
125
<p>
124
 
 
125
126
</p>
126
127
</div>
127
 
<div class="refsect1" lang="en">
 
128
<div class="refsect1" title="Details">
128
129
<a name="GimpEnumComboBox.details"></a><h2>Details</h2>
129
 
<div class="refsect2" lang="en">
 
130
<div class="refsect2" title="GimpEnumComboBox">
130
131
<a name="GimpEnumComboBox-struct"></a><h3>GimpEnumComboBox</h3>
131
132
<pre class="programlisting">typedef struct _GimpEnumComboBox GimpEnumComboBox;</pre>
132
133
<p>
133
 
 
134
134
</p>
135
135
</div>
136
136
<hr>
137
 
<div class="refsect2" lang="en">
 
137
<div class="refsect2" title="gimp_enum_combo_box_new ()">
138
138
<a name="gimp-enum-combo-box-new"></a><h3>gimp_enum_combo_box_new ()</h3>
139
139
<pre class="programlisting"><a
140
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
141
 
>GtkWidget</a>*          gimp_enum_combo_box_new             (<a
 
140
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
141
>GtkWidget</a> *         gimp_enum_combo_box_new             (<a
142
142
href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"
143
143
>GType</a> enum_type);</pre>
144
144
<p>
145
145
Creates a <a
146
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
 
146
href="http://library.gnome.org/devel/gtk/unstable/GtkComboBox.html"
147
147
><span class="type">GtkComboBox</span></a> readily filled with all enum values from a
148
148
given <em class="parameter"><code>enum_type</code></em>. The enum needs to be registered to the type
149
149
system. It should also have <a
157
157
the enum values that appear in the combo_box, you can create your
158
158
own <a class="link" href="GimpEnumStore.html" title="GimpEnumStore"><span class="type">GimpEnumStore</span></a> and use <a class="link" href="GimpEnumComboBox.html#gimp-enum-combo-box-new-with-model" title="gimp_enum_combo_box_new_with_model ()"><code class="function">gimp_enum_combo_box_new_with_model()</code></a>.</p>
159
159
<p>
160
 
 
161
160
</p>
162
161
<div class="variablelist"><table border="0">
163
162
<col align="left" valign="top">
177
176
</tr>
178
177
</tbody>
179
178
</table></div>
180
 
<p class="since">Since  GIMP 2.4
181
 
</p>
 
179
<p class="since">Since GIMP 2.4</p>
182
180
</div>
183
181
<hr>
184
 
<div class="refsect2" lang="en">
 
182
<div class="refsect2" title="gimp_enum_combo_box_new_with_model ()">
185
183
<a name="gimp-enum-combo-box-new-with-model"></a><h3>gimp_enum_combo_box_new_with_model ()</h3>
186
184
<pre class="programlisting"><a
187
 
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
188
 
>GtkWidget</a>*          gimp_enum_combo_box_new_with_model  (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);</pre>
 
185
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
 
186
>GtkWidget</a> *         gimp_enum_combo_box_new_with_model  (<a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a> *enum_store);</pre>
189
187
<p>
190
188
Creates a <a
191
 
href="/usr/share/gtk-doc/html/gtk/GtkComboBox.html"
 
189
href="http://library.gnome.org/devel/gtk/unstable/GtkComboBox.html"
192
190
><span class="type">GtkComboBox</span></a> for the given <em class="parameter"><code>enum_store</code></em>.</p>
193
191
<p>
194
 
 
195
192
</p>
196
193
<div class="variablelist"><table border="0">
197
194
<col align="left" valign="top">
209
206
</tr>
210
207
</tbody>
211
208
</table></div>
212
 
<p class="since">Since  GIMP 2.4
213
 
</p>
 
209
<p class="since">Since GIMP 2.4</p>
214
210
</div>
215
211
<hr>
216
 
<div class="refsect2" lang="en">
 
212
<div class="refsect2" title="gimp_enum_combo_box_set_stock_prefix ()">
217
213
<a name="gimp-enum-combo-box-set-stock-prefix"></a><h3>gimp_enum_combo_box_set_stock_prefix ()</h3>
218
214
<pre class="programlisting">void                gimp_enum_combo_box_set_stock_prefix
219
215
                                                        (<a class="link" href="GimpEnumComboBox.html" title="GimpEnumComboBox">GimpEnumComboBox</a> *combo_box,
224
220
Attempts to create stock icons for all items in the <em class="parameter"><code>combo_box</code></em>. See
225
221
<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>
226
222
<p>
227
 
 
228
223
</p>
229
224
<div class="variablelist"><table border="0">
230
225
<col align="left" valign="top">
241
236
</tr>
242
237
</tbody>
243
238
</table></div>
244
 
<p class="since">Since  GIMP 2.4
245
 
</p>
246
 
</div>
247
 
</div>
248
 
<div class="refsect1" lang="en">
 
239
<p class="since">Since GIMP 2.4</p>
 
240
</div>
 
241
</div>
 
242
<div class="refsect1" title="Property Details">
249
243
<a name="GimpEnumComboBox.property-details"></a><h2>Property Details</h2>
250
 
<div class="refsect2" lang="en">
 
244
<div class="refsect2" title='The "model" property'>
251
245
<a name="GimpEnumComboBox--model"></a><h3>The <code class="literal">"model"</code> property</h3>
252
246
<pre class="programlisting">  "model"                    <a class="link" href="GimpEnumStore.html" title="GimpEnumStore">GimpEnumStore</a>*        : Read / Write</pre>
253
247
<p></p>
256
250
</div>
257
251
<div class="footer">
258
252
<hr>
259
 
          Generated by GTK-Doc V1.10</div>
 
253
          Generated by GTK-Doc V1.11</div>
260
254
</body>
261
255
</html>