53
53
<a class="link" href="GtkComboBox.html#GtkComboBox-struct" title="GtkComboBox">GtkComboBox</a>;
54
54
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-new" title="gtk_combo_box_new ()">gtk_combo_box_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
55
55
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-new-with-model" title="gtk_combo_box_new_with_model ()">gtk_combo_box_new_with_model</a> (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);
56
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-wrap-width" title="gtk_combo_box_get_wrap_width ()">gtk_combo_box_get_wrap_width</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
56
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-wrap-width" title="gtk_combo_box_get_wrap_width ()">gtk_combo_box_get_wrap_width</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
57
57
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-wrap-width" title="gtk_combo_box_set_wrap_width ()">gtk_combo_box_set_wrap_width</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
58
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);
59
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-row-span-column" title="gtk_combo_box_get_row_span_column ()">gtk_combo_box_get_row_span_column</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
58
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-row-span-column" title="gtk_combo_box_get_row_span_column ()">gtk_combo_box_get_row_span_column</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
60
60
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-row-span-column" title="gtk_combo_box_set_row_span_column ()">gtk_combo_box_set_row_span_column</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
61
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_span</code></em>);
62
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-column-span-column" title="gtk_combo_box_get_column_span_column ()">gtk_combo_box_get_column_span_column</a>
61
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_span</code></em>);
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-column-span-column" title="gtk_combo_box_get_column_span_column ()">gtk_combo_box_get_column_span_column</a>
63
63
(<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
64
64
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-column-span-column" title="gtk_combo_box_set_column_span_column ()">gtk_combo_box_set_column_span_column</a>
65
65
(<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
66
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_span</code></em>);
67
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active" title="gtk_combo_box_get_active ()">gtk_combo_box_get_active</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_span</code></em>);
67
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active" title="gtk_combo_box_get_active ()">gtk_combo_box_get_active</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
68
68
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-active" title="gtk_combo_box_set_active ()">gtk_combo_box_set_active</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
69
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>);
70
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active-iter" title="gtk_combo_box_get_active_iter ()">gtk_combo_box_get_active_iter</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
69
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>);
70
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active-iter" title="gtk_combo_box_get_active_iter ()">gtk_combo_box_get_active_iter</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
71
71
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter" title="GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
72
72
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-active-iter" title="gtk_combo_box_set_active_iter ()">gtk_combo_box_set_active_iter</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
73
73
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter" title="GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
76
76
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);
77
77
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-new-text" title="gtk_combo_box_new_text ()">gtk_combo_box_new_text</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
78
78
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-append-text" title="gtk_combo_box_append_text ()">gtk_combo_box_append_text</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
79
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
79
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
80
80
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-insert-text" title="gtk_combo_box_insert_text ()">gtk_combo_box_insert_text</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
81
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>,
82
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
81
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>,
82
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
83
83
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-prepend-text" title="gtk_combo_box_prepend_text ()">gtk_combo_box_prepend_text</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
84
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
84
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
85
85
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-remove-text" title="gtk_combo_box_remove_text ()">gtk_combo_box_remove_text</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
86
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
87
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active-text" title="gtk_combo_box_get_active_text ()">gtk_combo_box_get_active_text</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
86
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
87
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active-text" title="gtk_combo_box_get_active_text ()">gtk_combo_box_get_active_text</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
88
88
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-popup" title="gtk_combo_box_popup ()">gtk_combo_box_popup</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
89
89
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-popdown" title="gtk_combo_box_popdown ()">gtk_combo_box_popdown</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
90
90
<a href="/usr/share/gtk-doc/html/atk/AtkObject.html"><span class="returnvalue">AtkObject</span></a>* <a class="link" href="GtkComboBox.html#gtk-combo-box-get-popup-accessible" title="gtk_combo_box_get_popup_accessible ()">gtk_combo_box_get_popup_accessible</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
93
93
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-row-separator-func" title="gtk_combo_box_set_row_separator_func ()">gtk_combo_box_set_row_separator_func</a>
94
94
(<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
95
95
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a> func</code></em>,
96
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
97
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
96
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
97
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
98
98
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-add-tearoffs" title="gtk_combo_box_set_add_tearoffs ()">gtk_combo_box_set_add_tearoffs</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
99
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_tearoffs</code></em>);
100
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-add-tearoffs" title="gtk_combo_box_get_add_tearoffs ()">gtk_combo_box_get_add_tearoffs</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
99
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_tearoffs</code></em>);
100
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-add-tearoffs" title="gtk_combo_box_get_add_tearoffs ()">gtk_combo_box_get_add_tearoffs</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
101
101
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-title" title="gtk_combo_box_set_title ()">gtk_combo_box_set_title</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
102
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
103
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-get-title" title="gtk_combo_box_get_title ()">gtk_combo_box_get_title</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
102
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);
103
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-get-title" title="gtk_combo_box_get_title ()">gtk_combo_box_get_title</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
104
104
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-focus-on-click" title="gtk_combo_box_set_focus_on_click ()">gtk_combo_box_set_focus_on_click</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>,
105
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_click</code></em>);
106
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-focus-on-click" title="gtk_combo_box_get_focus_on_click ()">gtk_combo_box_get_focus_on_click</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>);
105
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_click</code></em>);
106
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-focus-on-click" title="gtk_combo_box_get_focus_on_click ()">gtk_combo_box_get_focus_on_click</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>);
107
107
<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-button-sensitivity" title="gtk_combo_box_set_button_sensitivity ()">gtk_combo_box_set_button_sensitivity</a>
108
108
(<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
109
109
<em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);
114
114
<div class="refsect1" title="Object Hierarchy">
115
115
<a name="GtkComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
116
116
<pre class="synopsis">
117
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
118
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
117
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
118
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
119
119
+----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
120
120
+----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
121
121
+----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
133
133
<div class="refsect1" title="Properties">
134
134
<a name="GtkComboBox.properties"></a><h2>Properties</h2>
135
135
<pre class="synopsis">
136
"<a class="link" href="GtkComboBox.html#GtkComboBox--active" title='The "active" property'>active</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
137
"<a class="link" href="GtkComboBox.html#GtkComboBox--add-tearoffs" title='The "add-tearoffs" property'>add-tearoffs</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
136
"<a class="link" href="GtkComboBox.html#GtkComboBox--active" title='The "active" property'>active</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
137
"<a class="link" href="GtkComboBox.html#GtkComboBox--add-tearoffs" title='The "add-tearoffs" property'>add-tearoffs</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
138
138
"<a class="link" href="GtkComboBox.html#GtkComboBox--button-sensitivity" title='The "button-sensitivity" property'>button-sensitivity</a>" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> : Read / Write
139
"<a class="link" href="GtkComboBox.html#GtkComboBox--column-span-column" title='The "column-span-column" property'>column-span-column</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
140
"<a class="link" href="GtkComboBox.html#GtkComboBox--focus-on-click" title='The "focus-on-click" property'>focus-on-click</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
141
"<a class="link" href="GtkComboBox.html#GtkComboBox--has-frame" title='The "has-frame" property'>has-frame</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
139
"<a class="link" href="GtkComboBox.html#GtkComboBox--column-span-column" title='The "column-span-column" property'>column-span-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
140
"<a class="link" href="GtkComboBox.html#GtkComboBox--focus-on-click" title='The "focus-on-click" property'>focus-on-click</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
141
"<a class="link" href="GtkComboBox.html#GtkComboBox--has-frame" title='The "has-frame" property'>has-frame</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
142
142
"<a class="link" href="GtkComboBox.html#GtkComboBox--model" title='The "model" property'>model</a>" <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>* : Read / Write
143
"<a class="link" href="GtkComboBox.html#GtkComboBox--popup-shown" title='The "popup-shown" property'>popup-shown</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
144
"<a class="link" href="GtkComboBox.html#GtkComboBox--row-span-column" title='The "row-span-column" property'>row-span-column</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
145
"<a class="link" href="GtkComboBox.html#GtkComboBox--tearoff-title" title='The "tearoff-title" property'>tearoff-title</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
146
"<a class="link" href="GtkComboBox.html#GtkComboBox--wrap-width" title='The "wrap-width" property'>wrap-width</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
143
"<a class="link" href="GtkComboBox.html#GtkComboBox--popup-shown" title='The "popup-shown" property'>popup-shown</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
144
"<a class="link" href="GtkComboBox.html#GtkComboBox--row-span-column" title='The "row-span-column" property'>row-span-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
145
"<a class="link" href="GtkComboBox.html#GtkComboBox--tearoff-title" title='The "tearoff-title" property'>tearoff-title</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
146
"<a class="link" href="GtkComboBox.html#GtkComboBox--wrap-width" title='The "wrap-width" property'>wrap-width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
149
149
<div class="refsect1" title="Style Properties">
150
150
<a name="GtkComboBox.style-properties"></a><h2>Style Properties</h2>
151
151
<pre class="synopsis">
152
"<a class="link" href="GtkComboBox.html#GtkComboBox--s-appears-as-list" title='The "appears-as-list" style property'>appears-as-list</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
153
"<a class="link" href="GtkComboBox.html#GtkComboBox--s-arrow-size" title='The "arrow-size" style property'>arrow-size</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
152
"<a class="link" href="GtkComboBox.html#GtkComboBox--s-appears-as-list" title='The "appears-as-list" style property'>appears-as-list</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
153
"<a class="link" href="GtkComboBox.html#GtkComboBox--s-arrow-size" title='The "arrow-size" style property'>arrow-size</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read
154
154
"<a class="link" href="GtkComboBox.html#GtkComboBox--s-shadow-type" title='The "shadow-type" style property'>shadow-type</a>" <a class="link" href="gtk-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read
247
247
<div class="refsect2" title="gtk_combo_box_get_wrap_width ()">
248
248
<a name="gtk-combo-box-get-wrap-width"></a><h3>gtk_combo_box_get_wrap_width ()</h3>
249
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_wrap_width (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
249
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_wrap_width (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
251
251
Returns the wrap width which is used to determine the number of columns
252
252
for the popup menu. If the wrap width is larger than 1, the combo box
274
274
<div class="refsect2" title="gtk_combo_box_set_wrap_width ()">
275
275
<a name="gtk-combo-box-set-wrap-width"></a><h3>gtk_combo_box_set_wrap_width ()</h3>
276
276
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_wrap_width (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
277
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
277
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
279
279
Sets the wrap width of <em class="parameter"><code>combo_box</code></em> to be <em class="parameter"><code>width</code></em>. The wrap width is basically
280
280
the preferred number of columns when you want the popup to be layed out
326
326
<div class="refsect2" title="gtk_combo_box_set_row_span_column ()">
327
327
<a name="gtk-combo-box-set-row-span-column"></a><h3>gtk_combo_box_set_row_span_column ()</h3>
328
328
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_row_span_column (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
329
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_span</code></em>);</pre>
329
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_span</code></em>);</pre>
331
331
Sets the column with row span information for <em class="parameter"><code>combo_box</code></em> to be <em class="parameter"><code>row_span</code></em>.
332
332
The row span column contains integers which indicate how many rows
353
353
<div class="refsect2" title="gtk_combo_box_get_column_span_column ()">
354
354
<a name="gtk-combo-box-get-column-span-column"></a><h3>gtk_combo_box_get_column_span_column ()</h3>
355
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_column_span_column
355
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_column_span_column
356
356
(<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
358
358
Returns the column with column span information for <em class="parameter"><code>combo_box</code></em>.
380
380
<a name="gtk-combo-box-set-column-span-column"></a><h3>gtk_combo_box_set_column_span_column ()</h3>
381
381
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_column_span_column
382
382
(<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
383
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_span</code></em>);</pre>
383
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_span</code></em>);</pre>
385
385
Sets the column with column span information for <em class="parameter"><code>combo_box</code></em> to be
386
386
<em class="parameter"><code>column_span</code></em>. The column span column contains integers which indicate
407
407
<div class="refsect2" title="gtk_combo_box_get_active ()">
408
408
<a name="gtk-combo-box-get-active"></a><h3>gtk_combo_box_get_active ()</h3>
409
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_active (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
409
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_active (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
411
411
Returns the index of the currently active item, or -1 if there's no
412
412
active item. If the model is a non-flat treemodel, and the active item
437
437
<div class="refsect2" title="gtk_combo_box_set_active ()">
438
438
<a name="gtk-combo-box-set-active"></a><h3>gtk_combo_box_set_active ()</h3>
439
439
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_active (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
440
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>);</pre>
440
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>);</pre>
442
442
Sets the active item of <em class="parameter"><code>combo_box</code></em> to be the item at <em class="parameter"><code>index</code></em>.
463
463
<div class="refsect2" title="gtk_combo_box_get_active_iter ()">
464
464
<a name="gtk-combo-box-get-active-iter"></a><h3>gtk_combo_box_get_active_iter ()</h3>
465
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_active_iter (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
465
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_active_iter (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
466
466
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter" title="GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
468
468
Sets <em class="parameter"><code>iter</code></em> to point to the current active item, if it exists.
497
497
<em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter" title="GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
499
499
Sets the current active item to be the one referenced by <em class="parameter"><code>iter</code></em>, or
500
unsets the active item if <em class="parameter"><code>iter</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
500
unsets the active item if <em class="parameter"><code>iter</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
503
<em class="parameter"><code>iter</code></em> must correspond to a path of depth one, or be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
503
<em class="parameter"><code>iter</code></em> must correspond to a path of depth one, or be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
505
505
<div class="variablelist"><table border="0">
506
506
<col align="left" valign="top">
550
550
<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre>
552
552
Sets the model used by <em class="parameter"><code>combo_box</code></em> to be <em class="parameter"><code>model</code></em>. Will unset a previously set
553
model (if applicable). If model is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then it will unset the model.
553
model (if applicable). If model is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then it will unset the model.
556
556
Note that this function does not clear the cell renderers, you have to
600
600
<div class="refsect2" title="gtk_combo_box_append_text ()">
601
601
<a name="gtk-combo-box-append-text"></a><h3>gtk_combo_box_append_text ()</h3>
602
602
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_append_text (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
603
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
603
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
605
605
Appends <em class="parameter"><code>string</code></em> to the list of strings stored in <em class="parameter"><code>combo_box</code></em>. Note that
606
606
you can only use this function with combo boxes constructed with
627
627
<div class="refsect2" title="gtk_combo_box_insert_text ()">
628
628
<a name="gtk-combo-box-insert-text"></a><h3>gtk_combo_box_insert_text ()</h3>
629
629
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_insert_text (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
630
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>,
631
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
630
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>,
631
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
633
633
Inserts <em class="parameter"><code>string</code></em> at <em class="parameter"><code>position</code></em> in the list of strings stored in <em class="parameter"><code>combo_box</code></em>.
634
634
Note that you can only use this function with combo boxes constructed
660
660
<div class="refsect2" title="gtk_combo_box_prepend_text ()">
661
661
<a name="gtk-combo-box-prepend-text"></a><h3>gtk_combo_box_prepend_text ()</h3>
662
662
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_prepend_text (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
663
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
663
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
665
665
Prepends <em class="parameter"><code>string</code></em> to the list of strings stored in <em class="parameter"><code>combo_box</code></em>. Note that
666
666
you can only use this function with combo boxes constructed with
687
687
<div class="refsect2" title="gtk_combo_box_remove_text ()">
688
688
<a name="gtk-combo-box-remove-text"></a><h3>gtk_combo_box_remove_text ()</h3>
689
689
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_remove_text (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
690
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
690
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
692
692
Removes the string at <em class="parameter"><code>position</code></em> from <em class="parameter"><code>combo_box</code></em>. Note that you can only use
693
693
this function with combo boxes constructed with <a class="link" href="GtkComboBox.html#gtk-combo-box-new-text" title="gtk_combo_box_new_text ()"><code class="function">gtk_combo_box_new_text()</code></a>.
713
713
<div class="refsect2" title="gtk_combo_box_get_active_text ()">
714
714
<a name="gtk-combo-box-get-active-text"></a><h3>gtk_combo_box_get_active_text ()</h3>
715
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_combo_box_get_active_text (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
715
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_combo_box_get_active_text (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
717
Returns the currently active string in <em class="parameter"><code>combo_box</code></em> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none
717
Returns the currently active string in <em class="parameter"><code>combo_box</code></em> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none
718
718
is selected. Note that you can only use this function with combo
719
719
boxes constructed with <a class="link" href="GtkComboBox.html#gtk-combo-box-new-text" title="gtk_combo_box_new_text ()"><code class="function">gtk_combo_box_new_text()</code></a> and with
720
720
<a class="link" href="GtkComboBoxEntry.html" title="GtkComboBoxEntry"><span class="type">GtkComboBoxEntry</span></a>s.
841
841
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_row_separator_func
842
842
(<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
843
843
<em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a> func</code></em>,
844
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
845
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
844
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
845
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
847
847
Sets the row separator function, which is used to determine
848
848
whether a row should be drawn as a separator. If the row separator
849
function is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, no separators are drawn. This is the default value.
849
function is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, no separators are drawn. This is the default value.
851
851
<div class="variablelist"><table border="0">
852
852
<col align="left" valign="top">
865
865
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
866
<td> user data to pass to <em class="parameter"><code>func</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
866
<td> user data to pass to <em class="parameter"><code>func</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
870
870
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
871
<td> destroy notifier for <em class="parameter"><code>data</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
871
<td> destroy notifier for <em class="parameter"><code>data</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
879
879
<div class="refsect2" title="gtk_combo_box_set_add_tearoffs ()">
880
880
<a name="gtk-combo-box-set-add-tearoffs"></a><h3>gtk_combo_box_set_add_tearoffs ()</h3>
881
881
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_add_tearoffs (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
882
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_tearoffs</code></em>);</pre>
882
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_tearoffs</code></em>);</pre>
884
884
Sets whether the popup menu should have a tearoff
929
929
<div class="refsect2" title="gtk_combo_box_set_title ()">
930
930
<a name="gtk-combo-box-set-title"></a><h3>gtk_combo_box_set_title ()</h3>
931
931
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_title (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
932
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
932
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
934
934
Sets the menu's title in tearoff mode.
954
954
<div class="refsect2" title="gtk_combo_box_get_title ()">
955
955
<a name="gtk-combo-box-get-title"></a><h3>gtk_combo_box_get_title ()</h3>
956
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_combo_box_get_title (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
956
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_combo_box_get_title (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
958
958
Gets the current title of the menu in tearoff mode. See
959
959
<a class="link" href="GtkComboBox.html#gtk-combo-box-set-add-tearoffs" title="gtk_combo_box_set_add_tearoffs ()"><code class="function">gtk_combo_box_set_add_tearoffs()</code></a>.
981
981
<div class="refsect2" title="gtk_combo_box_set_focus_on_click ()">
982
982
<a name="gtk-combo-box-set-focus-on-click"></a><h3>gtk_combo_box_set_focus_on_click ()</h3>
983
983
<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_focus_on_click (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>,
984
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_click</code></em>);</pre>
984
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_click</code></em>);</pre>
986
986
Sets whether the combo box will grab focus when it is clicked with
987
987
the mouse. Making mouse clicks not grab focus is useful in places
1010
1010
<div class="refsect2" title="gtk_combo_box_get_focus_on_click ()">
1011
1011
<a name="gtk-combo-box-get-focus-on-click"></a><h3>gtk_combo_box_get_focus_on_click ()</h3>
1012
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_focus_on_click (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>);</pre>
1012
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_focus_on_click (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>);</pre>
1014
1014
Returns whether the combo box grabs focus when it is clicked
1015
1015
with the mouse. See <a class="link" href="GtkComboBox.html#gtk-combo-box-set-focus-on-click" title="gtk_combo_box_set_focus_on_click ()"><code class="function">gtk_combo_box_set_focus_on_click()</code></a>.
1097
1097
<a name="GtkComboBox.property-details"></a><h2>Property Details</h2>
1098
1098
<div class="refsect2" title='The "active" property'>
1099
1099
<a name="GtkComboBox--active"></a><h3>The <code class="literal">"active"</code> property</h3>
1100
<pre class="programlisting"> "active" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
1100
<pre class="programlisting"> "active" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
1102
1102
The item which is currently active. If the model is a non-flat treemodel,
1103
1103
and the active item is not an immediate child of the root of the tree,
1138
1138
<div class="refsect2" title='The "column-span-column" property'>
1139
1139
<a name="GtkComboBox--column-span-column"></a><h3>The <code class="literal">"column-span-column"</code> property</h3>
1140
<pre class="programlisting"> "column-span-column" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
1140
<pre class="programlisting"> "column-span-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
1142
1142
If this is set to a non-negative value, it must be the index of a column
1143
of type <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> in the model.
1143
of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> in the model.
1146
1146
The values of that column are used to determine how many columns a value
1154
1154
<div class="refsect2" title='The "focus-on-click" property'>
1155
1155
<a name="GtkComboBox--focus-on-click"></a><h3>The <code class="literal">"focus-on-click"</code> property</h3>
1156
<pre class="programlisting"> "focus-on-click" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
1156
<pre class="programlisting"> "focus-on-click" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
1157
1157
<p>Whether the combo box grabs focus when it is clicked with the mouse.</p>
1158
1158
<p>Default value: TRUE</p>
1161
1161
<div class="refsect2" title='The "has-frame" property'>
1162
1162
<a name="GtkComboBox--has-frame"></a><h3>The <code class="literal">"has-frame"</code> property</h3>
1163
<pre class="programlisting"> "has-frame" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
1163
<pre class="programlisting"> "has-frame" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
1165
1165
The has-frame property controls whether a frame
1166
1166
is drawn around the entry.
1194
1194
<div class="refsect2" title='The "row-span-column" property'>
1195
1195
<a name="GtkComboBox--row-span-column"></a><h3>The <code class="literal">"row-span-column"</code> property</h3>
1196
<pre class="programlisting"> "row-span-column" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
1196
<pre class="programlisting"> "row-span-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
1198
1198
If this is set to a non-negative value, it must be the index of a column
1199
of type <a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> in the model.
1199
of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> in the model.
1202
1202
The values of that column are used to determine how many rows a value in
1222
1222
<div class="refsect2" title='The "wrap-width" property'>
1223
1223
<a name="GtkComboBox--wrap-width"></a><h3>The <code class="literal">"wrap-width"</code> property</h3>
1224
<pre class="programlisting"> "wrap-width" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
1224
<pre class="programlisting"> "wrap-width" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
1226
1226
If wrap-width is set to a positive value, the list will be
1227
1227
displayed in multiple columns, the number of columns is
1236
1236
<a name="GtkComboBox.style-property-details"></a><h2>Style Property Details</h2>
1237
1237
<div class="refsect2" title='The "appears-as-list" style property'>
1238
1238
<a name="GtkComboBox--s-appears-as-list"></a><h3>The <code class="literal">"appears-as-list"</code> style property</h3>
1239
<pre class="programlisting"> "appears-as-list" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
1239
<pre class="programlisting"> "appears-as-list" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
1240
1240
<p>Whether dropdowns should look like lists rather than menus.</p>
1241
1241
<p>Default value: FALSE</p>
1244
1244
<div class="refsect2" title='The "arrow-size" style property'>
1245
1245
<a name="GtkComboBox--s-arrow-size"></a><h3>The <code class="literal">"arrow-size"</code> style property</h3>
1246
<pre class="programlisting"> "arrow-size" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
1246
<pre class="programlisting"> "arrow-size" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre>
1248
1248
Sets the minimum size of the arrow in the combo box. Note
1249
1249
that the arrow size is coupled to the font size, so in case
1270
1270
<div class="refsect2" title='The "changed" signal'>
1271
1271
<a name="GtkComboBox-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
1272
1272
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *widget,
1273
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
1273
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
1275
1275
The changed signal is emitted when the active
1276
1276
item is changed. The can be due to the user selecting
1300
1300
<a name="GtkComboBox-move-active"></a><h3>The <code class="literal">"move-active"</code> signal</h3>
1301
1301
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *widget,
1302
1302
<a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type,
1303
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Action</pre>
1303
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Action</pre>
1305
1305
The ::move-active signal is a
1306
1306
<a class="link" href="gtk-Bindings.html#keybinding-signals">keybinding signal</a>
1331
1331
<div class="refsect2" title='The "popdown" signal'>
1332
1332
<a name="GtkComboBox-popdown"></a><h3>The <code class="literal">"popdown"</code> signal</h3>
1333
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *button,
1334
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Action</pre>
1333
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *button,
1334
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Action</pre>
1336
1336
The ::popdown signal is a
1337
1337
<a class="link" href="gtk-Bindings.html#keybinding-signals">keybinding signal</a>
1360
1360
<div class="refsect2" title='The "popup" signal'>
1361
1361
<a name="GtkComboBox-popup"></a><h3>The <code class="literal">"popup"</code> signal</h3>
1362
1362
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *widget,
1363
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Action</pre>
1363
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Action</pre>
1365
1365
The ::popup signal is a
1366
1366
<a class="link" href="gtk-Bindings.html#keybinding-signals">keybinding signal</a>