4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>ExoIconBar</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="exo Reference Manual">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
<link rel="home" href="index.html" title="exo Reference Manual">
8
8
<link rel="up" href="exo-widgets.html" title="Part III. Additional widgets">
9
9
<link rel="prev" href="exo-widgets.html" title="Part III. Additional widgets">
10
10
<link rel="next" href="ExoIconChooserDialog.html" title="ExoIconChooserDialog">
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="exo-overview.html" title="Part I. Overview">
14
14
<link rel="part" href="exo-toolbars.html" title="Part II. Editable Toolbars">
30
30
<th width="100%" align="center">exo Reference Manual</th>
31
31
<td><a accesskey="n" href="ExoIconChooserDialog.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#ExoIconBar.synopsis" class="shortcut">Top</a>
35
<a href="#ExoIconBar.description" class="shortcut">Description</a>
37
<a href="#ExoIconBar.object-hierarchy" class="shortcut">Object Hierarchy</a>
39
<a href="#ExoIconBar.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
41
<a href="#ExoIconBar.properties" class="shortcut">Properties</a>
43
<a href="#ExoIconBar.style-properties" class="shortcut">Style Properties</a>
45
<a href="#ExoIconBar.signals" class="shortcut">Signals</a></nobr></td></tr>
33
<tr><td colspan="5" class="shortcuts">
34
<a href="#ExoIconBar.synopsis" class="shortcut">Top</a>
36
<a href="#ExoIconBar.description" class="shortcut">Description</a>
38
<a href="#ExoIconBar.object-hierarchy" class="shortcut">Object Hierarchy</a>
40
<a href="#ExoIconBar.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
42
<a href="#ExoIconBar.properties" class="shortcut">Properties</a>
44
<a href="#ExoIconBar.style-properties" class="shortcut">Style Properties</a>
46
<a href="#ExoIconBar.signals" class="shortcut">Signals</a>
47
49
<div class="refentry" lang="en">
48
50
<a name="ExoIconBar"></a><div class="titlepage"></div>
60
62
#include <exo/exo.h>
62
64
<a class="link" href="ExoIconBar.html#ExoIconBar-struct" title="ExoIconBar">ExoIconBar</a>;
64
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
65
>GtkWidget</a>* <a class="link" href="ExoIconBar.html#exo-icon-bar-new" title="exo_icon_bar_new ()">exo_icon_bar_new</a> (void);
67
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
68
>GtkWidget</a>* <a class="link" href="ExoIconBar.html#exo-icon-bar-new-with-model" title="exo_icon_bar_new_with_model ()">exo_icon_bar_new_with_model</a> (<a
69
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
70
>GtkTreeModel</a> *model);
72
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
73
>GtkTreeModel</a>* <a class="link" href="ExoIconBar.html#exo-icon-bar-get-model" title="exo_icon_bar_get_model ()">exo_icon_bar_get_model</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
65
GtkWidget * <a class="link" href="ExoIconBar.html#exo-icon-bar-new" title="exo_icon_bar_new ()">exo_icon_bar_new</a> (void);
66
GtkWidget * <a class="link" href="ExoIconBar.html#exo-icon-bar-new-with-model" title="exo_icon_bar_new_with_model ()">exo_icon_bar_new_with_model</a> (GtkTreeModel *model);
67
GtkTreeModel * <a class="link" href="ExoIconBar.html#exo-icon-bar-get-model" title="exo_icon_bar_get_model ()">exo_icon_bar_get_model</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
74
68
void <a class="link" href="ExoIconBar.html#exo-icon-bar-set-model" title="exo_icon_bar_set_model ()">exo_icon_bar_set_model</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
76
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
77
>GtkTreeModel</a> *model);
79
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
80
>gint</a> <a class="link" href="ExoIconBar.html#exo-icon-bar-get-pixbuf-column" title="exo_icon_bar_get_pixbuf_column ()">exo_icon_bar_get_pixbuf_column</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
70
gint <a class="link" href="ExoIconBar.html#exo-icon-bar-get-pixbuf-column" title="exo_icon_bar_get_pixbuf_column ()">exo_icon_bar_get_pixbuf_column</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
81
71
void <a class="link" href="ExoIconBar.html#exo-icon-bar-set-pixbuf-column" title="exo_icon_bar_set_pixbuf_column ()">exo_icon_bar_set_pixbuf_column</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
86
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
87
>gint</a> <a class="link" href="ExoIconBar.html#exo-icon-bar-get-text-column" title="exo_icon_bar_get_text_column ()">exo_icon_bar_get_text_column</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
73
gint <a class="link" href="ExoIconBar.html#exo-icon-bar-get-text-column" title="exo_icon_bar_get_text_column ()">exo_icon_bar_get_text_column</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
88
74
void <a class="link" href="ExoIconBar.html#exo-icon-bar-set-text-column" title="exo_icon_bar_set_text_column ()">exo_icon_bar_set_text_column</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
90
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
93
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
94
>GtkOrientation</a> <a class="link" href="ExoIconBar.html#exo-icon-bar-get-orientation" title="exo_icon_bar_get_orientation ()">exo_icon_bar_get_orientation</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
76
GtkOrientation <a class="link" href="ExoIconBar.html#exo-icon-bar-get-orientation" title="exo_icon_bar_get_orientation ()">exo_icon_bar_get_orientation</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
95
77
void <a class="link" href="ExoIconBar.html#exo-icon-bar-set-orientation" title="exo_icon_bar_set_orientation ()">exo_icon_bar_set_orientation</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
97
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
98
>GtkOrientation</a> orientation);
100
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
101
>gint</a> <a class="link" href="ExoIconBar.html#exo-icon-bar-get-active" title="exo_icon_bar_get_active ()">exo_icon_bar_get_active</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
78
GtkOrientation orientation);
79
gint <a class="link" href="ExoIconBar.html#exo-icon-bar-get-active" title="exo_icon_bar_get_active ()">exo_icon_bar_get_active</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);
102
80
void <a class="link" href="ExoIconBar.html#exo-icon-bar-set-active" title="exo_icon_bar_set_active ()">exo_icon_bar_set_active</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
104
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
107
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
108
>gboolean</a> <a class="link" href="ExoIconBar.html#exo-icon-bar-get-active-iter" title="exo_icon_bar_get_active_iter ()">exo_icon_bar_get_active_iter</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
110
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreeIter"
111
>GtkTreeIter</a> *iter);
82
gboolean <a class="link" href="ExoIconBar.html#exo-icon-bar-get-active-iter" title="exo_icon_bar_get_active_iter ()">exo_icon_bar_get_active_iter</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
112
84
void <a class="link" href="ExoIconBar.html#exo-icon-bar-set-active-iter" title="exo_icon_bar_set_active_iter ()">exo_icon_bar_set_active_iter</a> (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
114
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreeIter"
115
>GtkTreeIter</a> *iter);
118
88
<div class="refsect1" lang="en">
119
89
<a name="ExoIconBar.object-hierarchy"></a><h2>Object Hierarchy</h2>
120
90
<pre class="synopsis">
122
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
125
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
126
>GInitiallyUnowned</a>
128
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
131
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
134
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
92
+----GInitiallyUnowned
140
100
<a name="ExoIconBar.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
142
102
ExoIconBar implements
143
AtkImplementorIface and <a
144
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
145
>GtkBuildable</a>.</p>
103
GtkBuildable and AtkImplementorIface.</p>
147
105
<div class="refsect1" lang="en">
148
106
<a name="ExoIconBar.properties"></a><h2>Properties</h2>
149
107
<pre class="synopsis">
150
"<a class="link" href="ExoIconBar.html#ExoIconBar--active" title='The "active" property'>active</a>" <a
151
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
152
>gint</a> : Read / Write
153
"<a class="link" href="ExoIconBar.html#ExoIconBar--model" title='The "model" property'>model</a>" <a
154
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
155
>GtkTreeModel</a>* : Read / Write
156
"<a class="link" href="ExoIconBar.html#ExoIconBar--orientation" title='The "orientation" property'>orientation</a>" <a
157
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
158
>GtkOrientation</a> : Read / Write
159
"<a class="link" href="ExoIconBar.html#ExoIconBar--pixbuf-column" title='The "pixbuf-column" property'>pixbuf-column</a>" <a
160
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
161
>gint</a> : Read / Write
162
"<a class="link" href="ExoIconBar.html#ExoIconBar--text-column" title='The "text-column" property'>text-column</a>" <a
163
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
164
>gint</a> : Read / Write
108
"<a class="link" href="ExoIconBar.html#ExoIconBar--active" title='The "active" property'>active</a>" gint : Read / Write
109
"<a class="link" href="ExoIconBar.html#ExoIconBar--model" title='The "model" property'>model</a>" GtkTreeModel* : Read / Write
110
"<a class="link" href="ExoIconBar.html#ExoIconBar--orientation" title='The "orientation" property'>orientation</a>" GtkOrientation : Read / Write
111
"<a class="link" href="ExoIconBar.html#ExoIconBar--pixbuf-column" title='The "pixbuf-column" property'>pixbuf-column</a>" gint : Read / Write
112
"<a class="link" href="ExoIconBar.html#ExoIconBar--text-column" title='The "text-column" property'>text-column</a>" gint : Read / Write
167
115
<div class="refsect1" lang="en">
168
116
<a name="ExoIconBar.style-properties"></a><h2>Style Properties</h2>
169
117
<pre class="synopsis">
170
"<a class="link" href="ExoIconBar.html#ExoIconBar--active-item-border-color" title='The "active-item-border-color" style property'>active-item-border-color</a>" <a
171
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
172
>GdkColor</a>* : Read
173
"<a class="link" href="ExoIconBar.html#ExoIconBar--active-item-fill-color" title='The "active-item-fill-color" style property'>active-item-fill-color</a>" <a
174
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
175
>GdkColor</a>* : Read
176
"<a class="link" href="ExoIconBar.html#ExoIconBar--active-item-text-color" title='The "active-item-text-color" style property'>active-item-text-color</a>" <a
177
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
178
>GdkColor</a>* : Read
179
"<a class="link" href="ExoIconBar.html#ExoIconBar--cursor-item-border-color" title='The "cursor-item-border-color" style property'>cursor-item-border-color</a>" <a
180
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
181
>GdkColor</a>* : Read
182
"<a class="link" href="ExoIconBar.html#ExoIconBar--cursor-item-fill-color" title='The "cursor-item-fill-color" style property'>cursor-item-fill-color</a>" <a
183
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
184
>GdkColor</a>* : Read
185
"<a class="link" href="ExoIconBar.html#ExoIconBar--cursor-item-text-color" title='The "cursor-item-text-color" style property'>cursor-item-text-color</a>" <a
186
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
187
>GdkColor</a>* : Read
118
"<a class="link" href="ExoIconBar.html#ExoIconBar--s-active-item-border-color" title='The "active-item-border-color" style property'>active-item-border-color</a>" GdkColor* : Read
119
"<a class="link" href="ExoIconBar.html#ExoIconBar--s-active-item-fill-color" title='The "active-item-fill-color" style property'>active-item-fill-color</a>" GdkColor* : Read
120
"<a class="link" href="ExoIconBar.html#ExoIconBar--s-active-item-text-color" title='The "active-item-text-color" style property'>active-item-text-color</a>" GdkColor* : Read
121
"<a class="link" href="ExoIconBar.html#ExoIconBar--s-cursor-item-border-color" title='The "cursor-item-border-color" style property'>cursor-item-border-color</a>" GdkColor* : Read
122
"<a class="link" href="ExoIconBar.html#ExoIconBar--s-cursor-item-fill-color" title='The "cursor-item-fill-color" style property'>cursor-item-fill-color</a>" GdkColor* : Read
123
"<a class="link" href="ExoIconBar.html#ExoIconBar--s-cursor-item-text-color" title='The "cursor-item-text-color" style property'>cursor-item-text-color</a>" GdkColor* : Read
190
126
<div class="refsect1" lang="en">
218
151
GtkListStore *store;
221
153
/* make a new list store */
222
154
store = gtk_list_store_new (N_COLUMNS, GDK_TYPE_PIXBUF, G_TYPE_STRING);
224
155
/* fill the store with data */
225
156
fill_store (store);
227
157
/* create the icon bar */
228
158
bar = exo_icon_bar_new_with_model (GTK_TREE_MODEL (store));
229
159
exo_icon_bar_set_pixbuf_column (EXO_ICON_BAR (bar), PIXBUF_COLUMN);
230
160
exo_icon_bar_set_text_column (EXO_ICON_BAR (bar), TEXT_COLUMN);
231
161
gtk_widget_show (bar);
233
162
/* the icon bar keeps a reference on the store now */
234
163
g_object_unref (G_OBJECT (store));
236
164
/* add the bar to your GUI now... */
272
197
<div class="refsect2" lang="en">
273
198
<a name="exo-icon-bar-new-with-model"></a><h3>exo_icon_bar_new_with_model ()</h3>
274
<pre class="programlisting"><a
275
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
276
>GtkWidget</a>* exo_icon_bar_new_with_model (<a
277
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
278
>GtkTreeModel</a> *model);</pre>
199
<pre class="programlisting">GtkWidget * exo_icon_bar_new_with_model (GtkTreeModel *model);</pre>
280
201
Creates a new <a class="link" href="ExoIconBar.html" title="ExoIconBar"><span class="type">ExoIconBar</span></a> and associates it with
281
202
<em class="parameter"><code>model</code></em>.</p>
285
205
<div class="variablelist"><table border="0">
286
206
<col align="left" valign="top">
289
209
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
291
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
292
><span class="type">GtkTreeModel</span></a>.
210
<td> A <span class="type">GtkTreeModel</span>.
305
223
<div class="refsect2" lang="en">
306
224
<a name="exo-icon-bar-get-model"></a><h3>exo_icon_bar_get_model ()</h3>
307
<pre class="programlisting"><a
308
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
309
>GtkTreeModel</a>* exo_icon_bar_get_model (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);</pre>
225
<pre class="programlisting">GtkTreeModel * exo_icon_bar_get_model (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);</pre>
311
Returns the model the <a class="link" href="ExoIconBar.html" title="ExoIconBar"><span class="type">ExoIconBar</span></a> is based on. Returns <a
312
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
313
><code class="literal">NULL</code></a> if
227
Returns the model the <a class="link" href="ExoIconBar.html" title="ExoIconBar"><span class="type">ExoIconBar</span></a> is based on. Returns <code class="literal">NULL</code> if
314
228
the model is unset.</p>
318
231
<div class="variablelist"><table border="0">
319
232
<col align="left" valign="top">
339
248
<div class="refsect2" lang="en">
340
249
<a name="exo-icon-bar-set-model"></a><h3>exo_icon_bar_set_model ()</h3>
341
250
<pre class="programlisting">void exo_icon_bar_set_model (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
343
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
344
>GtkTreeModel</a> *model);</pre>
251
GtkTreeModel *model);</pre>
346
253
Sets the model for a <a class="link" href="ExoIconBar.html" title="ExoIconBar"><span class="type">ExoIconBar</span></a>. If the <em class="parameter"><code>icon_bar</code></em> already has a model
347
set, it will remove it before settings the new model. If <em class="parameter"><code>model</code></em> is <a
348
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
349
><code class="literal">NULL</code></a>,
254
set, it will remove it before settings the new model. If <em class="parameter"><code>model</code></em> is <code class="literal">NULL</code>,
350
255
then it will unset the old model.</p>
354
258
<div class="variablelist"><table border="0">
355
259
<col align="left" valign="top">
458
349
<div class="refsect2" lang="en">
459
350
<a name="exo-icon-bar-set-text-column"></a><h3>exo_icon_bar_set_text_column ()</h3>
460
351
<pre class="programlisting">void exo_icon_bar_set_text_column (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
462
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
463
>gint</a> column);</pre>
465
354
Sets the column with text for <em class="parameter"><code>icon_bar</code></em> to be <em class="parameter"><code>column</code></em>. The
466
text column must be of type <a
467
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-STRING:CAPS"
468
><span class="type">G_TYPE_STRING</span></a>.</p>
355
text column must be of type <span class="type">G_TYPE_STRING</span>.</p>
472
358
<div class="variablelist"><table border="0">
473
359
<col align="left" valign="top">
490
376
<div class="refsect2" lang="en">
491
377
<a name="exo-icon-bar-get-orientation"></a><h3>exo_icon_bar_get_orientation ()</h3>
492
<pre class="programlisting"><a
493
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
494
>GtkOrientation</a> exo_icon_bar_get_orientation (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);</pre>
378
<pre class="programlisting">GtkOrientation exo_icon_bar_get_orientation (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar);</pre>
496
380
Retrieves the current orientation of the toolbar. See
497
381
<a class="link" href="ExoIconBar.html#exo-icon-bar-set-orientation" title="exo_icon_bar_set_orientation ()"><code class="function">exo_icon_bar_set_orientation()</code></a>.</p>
501
384
<div class="variablelist"><table border="0">
502
385
<col align="left" valign="top">
607
479
<div class="refsect2" lang="en">
608
480
<a name="exo-icon-bar-get-active-iter"></a><h3>exo_icon_bar_get_active_iter ()</h3>
609
<pre class="programlisting"><a
610
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
611
>gboolean</a> exo_icon_bar_get_active_iter (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
613
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreeIter"
614
>GtkTreeIter</a> *iter);</pre>
481
<pre class="programlisting">gboolean exo_icon_bar_get_active_iter (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
482
GtkTreeIter *iter);</pre>
616
484
Sets <em class="parameter"><code>iter</code></em> to point to the current active item, if it exists.</p>
620
487
<div class="variablelist"><table border="0">
621
488
<col align="left" valign="top">
646
509
<div class="refsect2" lang="en">
647
510
<a name="exo-icon-bar-set-active-iter"></a><h3>exo_icon_bar_set_active_iter ()</h3>
648
511
<pre class="programlisting">void exo_icon_bar_set_active_iter (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
650
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html#GtkTreeIter"
651
>GtkTreeIter</a> *iter);</pre>
512
GtkTreeIter *iter);</pre>
653
514
Sets the current active item to be the one referenced by <em class="parameter"><code>iter</code></em>. <em class="parameter"><code>iter</code></em>
654
515
must correspond to a path of depth one.
657
This can only be called if <em class="parameter"><code>icon_bar</code></em> is associated with <a
658
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
659
><span class="type">GtkTreeModel</span></a>.</p>
518
This can only be called if <em class="parameter"><code>icon_bar</code></em> is associated with <span class="type">GtkTreeModel</span>.</p>
663
521
<div class="variablelist"><table border="0">
664
522
<col align="left" valign="top">
704
557
<div class="refsect2" lang="en">
705
558
<a name="ExoIconBar--model"></a><h3>The <code class="literal">"model"</code> property</h3>
706
<pre class="programlisting"> "model" <a
707
href="/usr/share/gtk-doc/html/gtk/GtkTreeModel.html"
708
>GtkTreeModel</a>* : Read / Write</pre>
559
<pre class="programlisting"> "model" GtkTreeModel* : Read / Write</pre>
710
561
The model for the icon bar.</p>
716
566
<div class="refsect2" lang="en">
717
567
<a name="ExoIconBar--orientation"></a><h3>The <code class="literal">"orientation"</code> property</h3>
718
<pre class="programlisting"> "orientation" <a
719
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
720
>GtkOrientation</a> : Read / Write</pre>
568
<pre class="programlisting"> "orientation" GtkOrientation : Read / Write</pre>
722
570
The orientation of the icon bar.
725
573
Default value: <code class="literal">GTK_ORIENTATION_VERTICAL</code></p>
729
576
<p>Default value: GTK_ORIENTATION_VERTICAL</p>
732
579
<div class="refsect2" lang="en">
733
580
<a name="ExoIconBar--pixbuf-column"></a><h3>The <code class="literal">"pixbuf-column"</code> property</h3>
734
<pre class="programlisting"> "pixbuf-column" <a
735
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
736
>gint</a> : Read / Write</pre>
581
<pre class="programlisting"> "pixbuf-column" gint : Read / Write</pre>
738
583
The ::pixbuf-column property contains the number of the model column
739
584
containing the pixbufs which are displyed. The pixbuf column must be
740
585
of type <span class="type">GDK_TYPE_PIXBUF</span>. Setting this property to -1 turns off the
741
586
display of pixbufs.</p>
745
589
<p>Allowed values: >= -1</p>
746
590
<p>Default value: -1</p>
749
593
<div class="refsect2" lang="en">
750
594
<a name="ExoIconBar--text-column"></a><h3>The <code class="literal">"text-column"</code> property</h3>
751
<pre class="programlisting"> "text-column" <a
752
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
753
>gint</a> : Read / Write</pre>
595
<pre class="programlisting"> "text-column" gint : Read / Write</pre>
755
597
The ::text-column property contains the number of the model column
756
598
containing the texts which are displayed. The text column must be
758
href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-STRING:CAPS"
759
><span class="type">G_TYPE_STRING</span></a>. If this property is set to -1, no texts
599
of type <span class="type">G_TYPE_STRING</span>. If this property is set to -1, no texts
760
600
are displayed.</p>
764
603
<p>Allowed values: >= -1</p>
765
604
<p>Default value: -1</p>
768
607
<div class="refsect1" lang="en">
769
608
<a name="ExoIconBar.style-property-details"></a><h2>Style Property Details</h2>
770
609
<div class="refsect2" lang="en">
771
<a name="ExoIconBar--active-item-border-color"></a><h3>The <code class="literal">"active-item-border-color"</code> style property</h3>
772
<pre class="programlisting"> "active-item-border-color" <a
773
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
774
>GdkColor</a>* : Read</pre>
610
<a name="ExoIconBar--s-active-item-border-color"></a><h3>The <code class="literal">"active-item-border-color"</code> style property</h3>
611
<pre class="programlisting"> "active-item-border-color" GdkColor* : Read</pre>
775
612
<p>Active item border color.</p>
778
615
<div class="refsect2" lang="en">
779
<a name="ExoIconBar--active-item-fill-color"></a><h3>The <code class="literal">"active-item-fill-color"</code> style property</h3>
780
<pre class="programlisting"> "active-item-fill-color" <a
781
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
782
>GdkColor</a>* : Read</pre>
616
<a name="ExoIconBar--s-active-item-fill-color"></a><h3>The <code class="literal">"active-item-fill-color"</code> style property</h3>
617
<pre class="programlisting"> "active-item-fill-color" GdkColor* : Read</pre>
783
618
<p>Active item fill color.</p>
786
621
<div class="refsect2" lang="en">
787
<a name="ExoIconBar--active-item-text-color"></a><h3>The <code class="literal">"active-item-text-color"</code> style property</h3>
788
<pre class="programlisting"> "active-item-text-color" <a
789
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
790
>GdkColor</a>* : Read</pre>
622
<a name="ExoIconBar--s-active-item-text-color"></a><h3>The <code class="literal">"active-item-text-color"</code> style property</h3>
623
<pre class="programlisting"> "active-item-text-color" GdkColor* : Read</pre>
791
624
<p>Active item text color.</p>
794
627
<div class="refsect2" lang="en">
795
<a name="ExoIconBar--cursor-item-border-color"></a><h3>The <code class="literal">"cursor-item-border-color"</code> style property</h3>
796
<pre class="programlisting"> "cursor-item-border-color" <a
797
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
798
>GdkColor</a>* : Read</pre>
628
<a name="ExoIconBar--s-cursor-item-border-color"></a><h3>The <code class="literal">"cursor-item-border-color"</code> style property</h3>
629
<pre class="programlisting"> "cursor-item-border-color" GdkColor* : Read</pre>
799
630
<p>Cursor item border color.</p>
802
633
<div class="refsect2" lang="en">
803
<a name="ExoIconBar--cursor-item-fill-color"></a><h3>The <code class="literal">"cursor-item-fill-color"</code> style property</h3>
804
<pre class="programlisting"> "cursor-item-fill-color" <a
805
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
806
>GdkColor</a>* : Read</pre>
634
<a name="ExoIconBar--s-cursor-item-fill-color"></a><h3>The <code class="literal">"cursor-item-fill-color"</code> style property</h3>
635
<pre class="programlisting"> "cursor-item-fill-color" GdkColor* : Read</pre>
807
636
<p>Cursor item fill color.</p>
810
639
<div class="refsect2" lang="en">
811
<a name="ExoIconBar--cursor-item-text-color"></a><h3>The <code class="literal">"cursor-item-text-color"</code> style property</h3>
812
<pre class="programlisting"> "cursor-item-text-color" <a
813
href="/usr/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html#GdkColor"
814
>GdkColor</a>* : Read</pre>
640
<a name="ExoIconBar--s-cursor-item-text-color"></a><h3>The <code class="literal">"cursor-item-text-color"</code> style property</h3>
641
<pre class="programlisting"> "cursor-item-text-color" GdkColor* : Read</pre>
815
642
<p>Cursor item text color.</p>
848
672
<div class="refsect2" lang="en">
849
673
<a name="ExoIconBar-set-scroll-adjustments"></a><h3>The <code class="literal">"set-scroll-adjustments"</code> signal</h3>
850
674
<pre class="programlisting">void user_function (<a class="link" href="ExoIconBar.html" title="ExoIconBar">ExoIconBar</a> *icon_bar,
852
href="/usr/share/gtk-doc/html/gtk/GtkAdjustment.html"
853
>GtkAdjustment</a> *hadjustment,
855
href="/usr/share/gtk-doc/html/gtk/GtkAdjustment.html"
856
>GtkAdjustment</a> *vadjustment,
858
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
859
>gpointer</a> user_data) : Run Last</pre>
675
GtkAdjustment *hadjustment,
676
GtkAdjustment *vadjustment,
677
gpointer user_data) : Run Last</pre>
861
679
Used internally to make the <a class="link" href="ExoIconBar.html" title="ExoIconBar"><span class="type">ExoIconBar</span></a> scrollable.</p>
865
682
<div class="variablelist"><table border="0">
866
683
<col align="left" valign="top">