~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/gtk-doc/html/gtk2/GtkComboBox.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
5
<title>GtkComboBox</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
 
7
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
 
8
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
 
9
<link rel="prev" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
 
10
<link rel="next" href="GtkComboBoxText.html" title="GtkComboBoxText">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
</head>
 
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="MenusAndCombos.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="MenusAndCombos.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
 
21
<td><a accesskey="n" href="GtkComboBoxText.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#GtkComboBox.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#GtkComboBox.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#GtkComboBox.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#GtkComboBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 
31
                   | 
 
32
                  <a href="#GtkComboBox.properties" class="shortcut">Properties</a>
 
33
                   | 
 
34
                  <a href="#GtkComboBox.style-properties" class="shortcut">Style Properties</a>
 
35
                   | 
 
36
                  <a href="#GtkComboBox.signals" class="shortcut">Signals</a>
 
37
</td></tr>
 
38
</table>
 
39
<div class="refentry">
 
40
<a name="GtkComboBox"></a><div class="titlepage"></div>
 
41
<div class="refnamediv"><table width="100%"><tr>
 
42
<td valign="top">
 
43
<h2><span class="refentrytitle"><a name="GtkComboBox.top_of_page"></a>GtkComboBox</span></h2>
 
44
<p>GtkComboBox — A widget used to choose from a list of items</p>
 
45
</td>
 
46
<td valign="top" align="right"><img src="combo-box.png"></td>
 
47
</tr></table></div>
 
48
<div class="refsynopsisdiv">
 
49
<a name="GtkComboBox.synopsis"></a><h2>Synopsis</h2>
 
50
<pre class="synopsis">
 
51
#include &lt;gtk/gtk.h&gt;
 
52
 
 
53
struct              <a class="link" href="GtkComboBox.html#GtkComboBox-struct" title="struct GtkComboBox">GtkComboBox</a>;
 
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
<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-entry" title="gtk_combo_box_new_with_entry ()">gtk_combo_box_new_with_entry</a>        (<em class="parameter"><code><span class="type">void</span></code></em>);
 
56
<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>);
 
57
<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-and-entry" title="gtk_combo_box_new_with_model_and_entry ()">gtk_combo_box_new_with_model_and_entry</a>
 
58
                                                        (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);
 
59
<span class="returnvalue">gint</span>                <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>);
 
60
<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>,
 
61
                                                         <em class="parameter"><code><span class="type">gint</span> width</code></em>);
 
62
<span class="returnvalue">gint</span>                <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>);
 
63
<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>,
 
64
                                                         <em class="parameter"><code><span class="type">gint</span> row_span</code></em>);
 
65
<span class="returnvalue">gint</span>                <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>
 
66
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
 
67
<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>
 
68
                                                        (<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><span class="type">gint</span> column_span</code></em>);
 
70
<span class="returnvalue">gint</span>                <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>);
 
71
<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>,
 
72
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>);
 
73
<span class="returnvalue">gboolean</span>            <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>,
 
74
                                                         <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
 
75
<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>,
 
76
                                                         <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);
 
77
<a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> *      <a class="link" href="GtkComboBox.html#gtk-combo-box-get-model" title="gtk_combo_box_get_model ()">gtk_combo_box_get_model</a>             (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
 
78
<span class="returnvalue">void</span>                <a class="link" href="GtkComboBox.html#gtk-combo-box-set-model" title="gtk_combo_box_set_model ()">gtk_combo_box_set_model</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><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);
 
80
<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>);
 
81
<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>,
 
82
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
 
83
<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>,
 
84
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>,
 
85
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
 
86
<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>,
 
87
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
 
88
<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>,
 
89
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>);
 
90
<span class="returnvalue">gchar</span> *             <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>);
 
91
<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>);
 
92
<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>);
 
93
<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>);
 
94
<a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="returnvalue">GtkTreeViewRowSeparatorFunc</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-row-separator-func" title="gtk_combo_box_get_row_separator_func ()">gtk_combo_box_get_row_separator_func</a>
 
95
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
 
96
<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>
 
97
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
98
                                                         <em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a> func</code></em>,
 
99
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
100
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);
 
101
<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>,
 
102
                                                         <em class="parameter"><code><span class="type">gboolean</span> add_tearoffs</code></em>);
 
103
<span class="returnvalue">gboolean</span>            <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>);
 
104
<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>,
 
105
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);
 
106
const <span class="returnvalue">gchar</span> *       <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>);
 
107
<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>,
 
108
                                                         <em class="parameter"><code><span class="type">gboolean</span> focus_on_click</code></em>);
 
109
<span class="returnvalue">gboolean</span>            <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>);
 
110
<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>
 
111
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
112
                                                         <em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);
 
113
<a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  <a class="link" href="GtkComboBox.html#gtk-combo-box-get-button-sensitivity" title="gtk_combo_box_get_button_sensitivity ()">gtk_combo_box_get_button_sensitivity</a>
 
114
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
 
115
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkComboBox.html#gtk-combo-box-get-has-entry" title="gtk_combo_box_get_has_entry ()">gtk_combo_box_get_has_entry</a>         (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
 
116
<span class="returnvalue">void</span>                <a class="link" href="GtkComboBox.html#gtk-combo-box-set-entry-text-column" title="gtk_combo_box_set_entry_text_column ()">gtk_combo_box_set_entry_text_column</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
117
                                                         <em class="parameter"><code><span class="type">gint</span> text_column</code></em>);
 
118
<span class="returnvalue">gint</span>                <a class="link" href="GtkComboBox.html#gtk-combo-box-get-entry-text-column" title="gtk_combo_box_get_entry_text_column ()">gtk_combo_box_get_entry_text_column</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);
 
119
</pre>
 
120
</div>
 
121
<div class="refsect1">
 
122
<a name="GtkComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
123
<pre class="synopsis">
 
124
  GObject
 
125
   +----GInitiallyUnowned
 
126
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
 
127
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
 
128
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
 
129
                           +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
 
130
                                 +----GtkComboBox
 
131
                                       +----<a class="link" href="GtkComboBoxEntry.html" title="GtkComboBoxEntry">GtkComboBoxEntry</a>
 
132
                                       +----<a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText">GtkComboBoxText</a>
 
133
</pre>
 
134
</div>
 
135
<div class="refsect1">
 
136
<a name="GtkComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
 
137
<p>
 
138
GtkComboBox implements
 
139
 AtkImplementorIface,  <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>,  <a class="link" href="GtkCellLayout.html" title="GtkCellLayout">GtkCellLayout</a> and  <a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a>.</p>
 
140
</div>
 
141
<div class="refsect1">
 
142
<a name="GtkComboBox.properties"></a><h2>Properties</h2>
 
143
<pre class="synopsis">
 
144
  "<a class="link" href="GtkComboBox.html#GtkComboBox--active" title='The "active" property'>active</a>"                   <span class="type">gint</span>                  : Read / Write
 
145
  "<a class="link" href="GtkComboBox.html#GtkComboBox--add-tearoffs" title='The "add-tearoffs" property'>add-tearoffs</a>"             <span class="type">gboolean</span>              : Read / Write
 
146
  "<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
 
147
  "<a class="link" href="GtkComboBox.html#GtkComboBox--column-span-column" title='The "column-span-column" property'>column-span-column</a>"       <span class="type">gint</span>                  : Read / Write
 
148
  "<a class="link" href="GtkComboBox.html#GtkComboBox--entry-text-column" title='The "entry-text-column" property'>entry-text-column</a>"        <span class="type">gint</span>                  : Read / Write
 
149
  "<a class="link" href="GtkComboBox.html#GtkComboBox--focus-on-click" title='The "focus-on-click" property'>focus-on-click</a>"           <span class="type">gboolean</span>              : Read / Write
 
150
  "<a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title='The "has-entry" property'>has-entry</a>"                <span class="type">gboolean</span>              : Read / Write / Construct Only
 
151
  "<a class="link" href="GtkComboBox.html#GtkComboBox--has-frame" title='The "has-frame" property'>has-frame</a>"                <span class="type">gboolean</span>              : Read / Write
 
152
  "<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
 
153
  "<a class="link" href="GtkComboBox.html#GtkComboBox--popup-shown" title='The "popup-shown" property'>popup-shown</a>"              <span class="type">gboolean</span>              : Read
 
154
  "<a class="link" href="GtkComboBox.html#GtkComboBox--row-span-column" title='The "row-span-column" property'>row-span-column</a>"          <span class="type">gint</span>                  : Read / Write
 
155
  "<a class="link" href="GtkComboBox.html#GtkComboBox--tearoff-title" title='The "tearoff-title" property'>tearoff-title</a>"            <span class="type">gchar</span>*                : Read / Write
 
156
  "<a class="link" href="GtkComboBox.html#GtkComboBox--wrap-width" title='The "wrap-width" property'>wrap-width</a>"               <span class="type">gint</span>                  : Read / Write
 
157
</pre>
 
158
</div>
 
159
<div class="refsect1">
 
160
<a name="GtkComboBox.style-properties"></a><h2>Style Properties</h2>
 
161
<pre class="synopsis">
 
162
  "<a class="link" href="GtkComboBox.html#GtkComboBox--s-appears-as-list" title='The "appears-as-list" style property'>appears-as-list</a>"          <span class="type">gboolean</span>              : Read
 
163
  "<a class="link" href="GtkComboBox.html#GtkComboBox--s-arrow-size" title='The "arrow-size" style property'>arrow-size</a>"               <span class="type">gint</span>                  : Read
 
164
  "<a class="link" href="GtkComboBox.html#GtkComboBox--s-shadow-type" title='The "shadow-type" style property'>shadow-type</a>"              <a class="link" href="gtk2-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a>         : Read
 
165
</pre>
 
166
</div>
 
167
<div class="refsect1">
 
168
<a name="GtkComboBox.signals"></a><h2>Signals</h2>
 
169
<pre class="synopsis">
 
170
  "<a class="link" href="GtkComboBox.html#GtkComboBox-changed" title='The "changed" signal'>changed</a>"                                        : <code class="literal">Run Last</code>
 
171
  "<a class="link" href="GtkComboBox.html#GtkComboBox-move-active" title='The "move-active" signal'>move-active</a>"                                    : <code class="literal">Action</code>
 
172
  "<a class="link" href="GtkComboBox.html#GtkComboBox-popdown" title='The "popdown" signal'>popdown</a>"                                        : <code class="literal">Action</code>
 
173
  "<a class="link" href="GtkComboBox.html#GtkComboBox-popup" title='The "popup" signal'>popup</a>"                                          : <code class="literal">Action</code>
 
174
</pre>
 
175
</div>
 
176
<div class="refsect1">
 
177
<a name="GtkComboBox.description"></a><h2>Description</h2>
 
178
<p>
 
179
A GtkComboBox is a widget that allows the user to choose from a list of
 
180
valid choices. The GtkComboBox displays the selected choice. When
 
181
activated, the GtkComboBox displays a popup which allows the user to
 
182
make a new choice. The style in which the selected value is displayed,
 
183
and the style of the popup is determined by the current theme. It may
 
184
be similar to a Windows-style combo box.
 
185
</p>
 
186
<p>
 
187
The GtkComboBox uses the model-view pattern; the list of valid choices
 
188
is specified in the form of a tree model, and the display of the choices
 
189
can be adapted to the data in the model by using cell renderers, as you
 
190
would in a tree view. This is possible since GtkComboBox implements the
 
191
<a class="link" href="GtkCellLayout.html" title="GtkCellLayout"><span class="type">GtkCellLayout</span></a> interface. The tree model holding the valid choices is
 
192
not restricted to a flat list, it can be a real tree, and the popup will
 
193
reflect the tree structure.
 
194
</p>
 
195
<p>
 
196
To allow the user to enter values not in the model, the 'has-entry'
 
197
property allows the GtkComboBox to contain a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>. This entry
 
198
can be accessed by calling <a class="link" href="GtkBin.html#gtk-bin-get-child" title="gtk_bin_get_child ()"><code class="function">gtk_bin_get_child()</code></a> on the combo box.
 
199
</p>
 
200
<p>
 
201
For a simple list of textual choices, the model-view API of GtkComboBox
 
202
can be a bit overwhelming. In this case, <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a> offers a
 
203
simple alternative. Both GtkComboBox and <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a> can contain
 
204
an entry.
 
205
</p>
 
206
<p>
 
207
A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> is a widget that allows the user to choose from a
 
208
list of valid choices.  The <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> displays the selected
 
209
choice.  When activated, the <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> displays a popup
 
210
which allows the user to make a new choice. The style in which
 
211
the selected value is displayed, and the style of the popup is
 
212
determined by the current theme. It may be similar to a <a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a>,
 
213
or similar to a Windows-style combo box.
 
214
</p>
 
215
<p>
 
216
Unlike its predecessors <a class="link" href="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a> and <a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a>, the <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
217
uses the model-view pattern; the list of valid choices is specified in the
 
218
form of a tree model, and the display of the choices can be adapted to
 
219
the data in the model by using cell renderers, as you would in a tree view.
 
220
This is possible since <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> implements the <a class="link" href="GtkCellLayout.html" title="GtkCellLayout"><span class="type">GtkCellLayout</span></a> interface.
 
221
The tree model holding the valid choices is not restricted to a flat list,
 
222
it can be a real tree, and the popup will reflect the tree structure.
 
223
</p>
 
224
<p>
 
225
In addition to the model-view API, <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> offers a simple API which
 
226
is suitable for text-only combo boxes, and hides the complexity of managing
 
227
the data in a model. It consists of the functions <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>,
 
228
<a class="link" href="GtkComboBox.html#gtk-combo-box-append-text" title="gtk_combo_box_append_text ()"><code class="function">gtk_combo_box_append_text()</code></a>, <a class="link" href="GtkComboBox.html#gtk-combo-box-insert-text" title="gtk_combo_box_insert_text ()"><code class="function">gtk_combo_box_insert_text()</code></a>,
 
229
<a class="link" href="GtkComboBox.html#gtk-combo-box-prepend-text" title="gtk_combo_box_prepend_text ()"><code class="function">gtk_combo_box_prepend_text()</code></a>, <a class="link" href="GtkComboBox.html#gtk-combo-box-remove-text" title="gtk_combo_box_remove_text ()"><code class="function">gtk_combo_box_remove_text()</code></a> and
 
230
<a class="link" href="GtkComboBox.html#gtk-combo-box-get-active-text" title="gtk_combo_box_get_active_text ()"><code class="function">gtk_combo_box_get_active_text()</code></a>.
 
231
</p>
 
232
</div>
 
233
<div class="refsect1">
 
234
<a name="GtkComboBox.details"></a><h2>Details</h2>
 
235
<div class="refsect2">
 
236
<a name="GtkComboBox-struct"></a><h3>struct GtkComboBox</h3>
 
237
<pre class="programlisting">struct GtkComboBox;</pre>
 
238
<p>
 
239
</p>
 
240
</div>
 
241
<hr>
 
242
<div class="refsect2">
 
243
<a name="gtk-combo-box-new"></a><h3>gtk_combo_box_new ()</h3>
 
244
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_combo_box_new                   (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
245
<p>
 
246
Creates a new empty <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
 
247
</p>
 
248
<div class="variablelist"><table border="0" class="variablelist">
 
249
<colgroup>
 
250
<col align="left" valign="top">
 
251
<col>
 
252
</colgroup>
 
253
<tbody><tr>
 
254
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
255
<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td>
 
256
</tr></tbody>
 
257
</table></div>
 
258
<p class="since">Since 2.4</p>
 
259
</div>
 
260
<hr>
 
261
<div class="refsect2">
 
262
<a name="gtk-combo-box-new-with-entry"></a><h3>gtk_combo_box_new_with_entry ()</h3>
 
263
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_combo_box_new_with_entry        (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
264
<p>
 
265
Creates a new empty <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> with an entry.
 
266
</p>
 
267
<div class="variablelist"><table border="0" class="variablelist">
 
268
<colgroup>
 
269
<col align="left" valign="top">
 
270
<col>
 
271
</colgroup>
 
272
<tbody><tr>
 
273
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
274
<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td>
 
275
</tr></tbody>
 
276
</table></div>
 
277
</div>
 
278
<hr>
 
279
<div class="refsect2">
 
280
<a name="gtk-combo-box-new-with-model"></a><h3>gtk_combo_box_new_with_model ()</h3>
 
281
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_combo_box_new_with_model        (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre>
 
282
<p>
 
283
Creates a new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> with the model initialized to <em class="parameter"><code>model</code></em>.
 
284
</p>
 
285
<div class="variablelist"><table border="0" class="variablelist">
 
286
<colgroup>
 
287
<col align="left" valign="top">
 
288
<col>
 
289
</colgroup>
 
290
<tbody>
 
291
<tr>
 
292
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
 
293
<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>.</td>
 
294
</tr>
 
295
<tr>
 
296
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
297
<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td>
 
298
</tr>
 
299
</tbody>
 
300
</table></div>
 
301
<p class="since">Since 2.4</p>
 
302
</div>
 
303
<hr>
 
304
<div class="refsect2">
 
305
<a name="gtk-combo-box-new-with-model-and-entry"></a><h3>gtk_combo_box_new_with_model_and_entry ()</h3>
 
306
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_combo_box_new_with_model_and_entry
 
307
                                                        (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre>
 
308
<p>
 
309
Creates a new empty <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> with an entry
 
310
and with the model initialized to <em class="parameter"><code>model</code></em>.
 
311
</p>
 
312
<div class="variablelist"><table border="0" class="variablelist">
 
313
<colgroup>
 
314
<col align="left" valign="top">
 
315
<col>
 
316
</colgroup>
 
317
<tbody><tr>
 
318
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
319
<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
320
</td>
 
321
</tr></tbody>
 
322
</table></div>
 
323
</div>
 
324
<hr>
 
325
<div class="refsect2">
 
326
<a name="gtk-combo-box-get-wrap-width"></a><h3>gtk_combo_box_get_wrap_width ()</h3>
 
327
<pre class="programlisting"><span class="returnvalue">gint</span>                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>
 
328
<p>
 
329
Returns the wrap width which is used to determine the number of columns 
 
330
for the popup menu. If the wrap width is larger than 1, the combo box 
 
331
is in table mode.
 
332
</p>
 
333
<div class="variablelist"><table border="0" class="variablelist">
 
334
<colgroup>
 
335
<col align="left" valign="top">
 
336
<col>
 
337
</colgroup>
 
338
<tbody>
 
339
<tr>
 
340
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
341
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
342
</td>
 
343
</tr>
 
344
<tr>
 
345
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
346
<td>the wrap width.</td>
 
347
</tr>
 
348
</tbody>
 
349
</table></div>
 
350
<p class="since">Since 2.6</p>
 
351
</div>
 
352
<hr>
 
353
<div class="refsect2">
 
354
<a name="gtk-combo-box-set-wrap-width"></a><h3>gtk_combo_box_set_wrap_width ()</h3>
 
355
<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>,
 
356
                                                         <em class="parameter"><code><span class="type">gint</span> width</code></em>);</pre>
 
357
<p>
 
358
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
 
359
the preferred number of columns when you want the popup to be layed out
 
360
in a table.
 
361
</p>
 
362
<div class="variablelist"><table border="0" class="variablelist">
 
363
<colgroup>
 
364
<col align="left" valign="top">
 
365
<col>
 
366
</colgroup>
 
367
<tbody>
 
368
<tr>
 
369
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
370
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
371
</td>
 
372
</tr>
 
373
<tr>
 
374
<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td>
 
375
<td>Preferred number of columns</td>
 
376
</tr>
 
377
</tbody>
 
378
</table></div>
 
379
<p class="since">Since 2.4</p>
 
380
</div>
 
381
<hr>
 
382
<div class="refsect2">
 
383
<a name="gtk-combo-box-get-row-span-column"></a><h3>gtk_combo_box_get_row_span_column ()</h3>
 
384
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_combo_box_get_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>);</pre>
 
385
<p>
 
386
Returns the column with row span information for <em class="parameter"><code>combo_box</code></em>.
 
387
</p>
 
388
<div class="variablelist"><table border="0" class="variablelist">
 
389
<colgroup>
 
390
<col align="left" valign="top">
 
391
<col>
 
392
</colgroup>
 
393
<tbody>
 
394
<tr>
 
395
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
396
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
397
</td>
 
398
</tr>
 
399
<tr>
 
400
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
401
<td>the row span column.</td>
 
402
</tr>
 
403
</tbody>
 
404
</table></div>
 
405
<p class="since">Since 2.6</p>
 
406
</div>
 
407
<hr>
 
408
<div class="refsect2">
 
409
<a name="gtk-combo-box-set-row-span-column"></a><h3>gtk_combo_box_set_row_span_column ()</h3>
 
410
<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>,
 
411
                                                         <em class="parameter"><code><span class="type">gint</span> row_span</code></em>);</pre>
 
412
<p>
 
413
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>.
 
414
The row span column contains integers which indicate how many rows
 
415
an item should span.
 
416
</p>
 
417
<div class="variablelist"><table border="0" class="variablelist">
 
418
<colgroup>
 
419
<col align="left" valign="top">
 
420
<col>
 
421
</colgroup>
 
422
<tbody>
 
423
<tr>
 
424
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
425
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td>
 
426
</tr>
 
427
<tr>
 
428
<td><p><span class="term"><em class="parameter"><code>row_span</code></em> :</span></p></td>
 
429
<td>A column in the model passed during construction.</td>
 
430
</tr>
 
431
</tbody>
 
432
</table></div>
 
433
<p class="since">Since 2.4</p>
 
434
</div>
 
435
<hr>
 
436
<div class="refsect2">
 
437
<a name="gtk-combo-box-get-column-span-column"></a><h3>gtk_combo_box_get_column_span_column ()</h3>
 
438
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_combo_box_get_column_span_column
 
439
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
440
<p>
 
441
Returns the column with column span information for <em class="parameter"><code>combo_box</code></em>.
 
442
</p>
 
443
<div class="variablelist"><table border="0" class="variablelist">
 
444
<colgroup>
 
445
<col align="left" valign="top">
 
446
<col>
 
447
</colgroup>
 
448
<tbody>
 
449
<tr>
 
450
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
451
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
452
</td>
 
453
</tr>
 
454
<tr>
 
455
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
456
<td>the column span column.</td>
 
457
</tr>
 
458
</tbody>
 
459
</table></div>
 
460
<p class="since">Since 2.6</p>
 
461
</div>
 
462
<hr>
 
463
<div class="refsect2">
 
464
<a name="gtk-combo-box-set-column-span-column"></a><h3>gtk_combo_box_set_column_span_column ()</h3>
 
465
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_combo_box_set_column_span_column
 
466
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
467
                                                         <em class="parameter"><code><span class="type">gint</span> column_span</code></em>);</pre>
 
468
<p>
 
469
Sets the column with column span information for <em class="parameter"><code>combo_box</code></em> to be
 
470
<em class="parameter"><code>column_span</code></em>. The column span column contains integers which indicate
 
471
how many columns an item should span.
 
472
</p>
 
473
<div class="variablelist"><table border="0" class="variablelist">
 
474
<colgroup>
 
475
<col align="left" valign="top">
 
476
<col>
 
477
</colgroup>
 
478
<tbody>
 
479
<tr>
 
480
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
481
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
482
</td>
 
483
</tr>
 
484
<tr>
 
485
<td><p><span class="term"><em class="parameter"><code>column_span</code></em> :</span></p></td>
 
486
<td>A column in the model passed during construction</td>
 
487
</tr>
 
488
</tbody>
 
489
</table></div>
 
490
<p class="since">Since 2.4</p>
 
491
</div>
 
492
<hr>
 
493
<div class="refsect2">
 
494
<a name="gtk-combo-box-get-active"></a><h3>gtk_combo_box_get_active ()</h3>
 
495
<pre class="programlisting"><span class="returnvalue">gint</span>                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>
 
496
<p>
 
497
Returns the index of the currently active item, or -1 if there's no
 
498
active item. If the model is a non-flat treemodel, and the active item 
 
499
is not an immediate child of the root of the tree, this function returns 
 
500
<code class="literal">gtk_tree_path_get_indices (path)[0]</code>, where 
 
501
<code class="literal">path</code> is the <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of the active item.
 
502
</p>
 
503
<div class="variablelist"><table border="0" class="variablelist">
 
504
<colgroup>
 
505
<col align="left" valign="top">
 
506
<col>
 
507
</colgroup>
 
508
<tbody>
 
509
<tr>
 
510
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
511
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
512
</td>
 
513
</tr>
 
514
<tr>
 
515
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
516
<td>An integer which is the index of the currently active item,
 
517
or -1 if there's no active item.</td>
 
518
</tr>
 
519
</tbody>
 
520
</table></div>
 
521
<p class="since">Since 2.4</p>
 
522
</div>
 
523
<hr>
 
524
<div class="refsect2">
 
525
<a name="gtk-combo-box-set-active"></a><h3>gtk_combo_box_set_active ()</h3>
 
526
<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>,
 
527
                                                         <em class="parameter"><code><span class="type">gint</span> index_</code></em>);</pre>
 
528
<p>
 
529
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>.
 
530
</p>
 
531
<div class="variablelist"><table border="0" class="variablelist">
 
532
<colgroup>
 
533
<col align="left" valign="top">
 
534
<col>
 
535
</colgroup>
 
536
<tbody>
 
537
<tr>
 
538
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
539
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
540
</td>
 
541
</tr>
 
542
<tr>
 
543
<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td>
 
544
<td>An index in the model passed during construction, or -1 to have
 
545
no active item</td>
 
546
</tr>
 
547
</tbody>
 
548
</table></div>
 
549
<p class="since">Since 2.4</p>
 
550
</div>
 
551
<hr>
 
552
<div class="refsect2">
 
553
<a name="gtk-combo-box-get-active-iter"></a><h3>gtk_combo_box_get_active_iter ()</h3>
 
554
<pre class="programlisting"><span class="returnvalue">gboolean</span>            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>,
 
555
                                                         <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
 
556
<p>
 
557
Sets <em class="parameter"><code>iter</code></em> to point to the current active item, if it exists.
 
558
</p>
 
559
<div class="variablelist"><table border="0" class="variablelist">
 
560
<colgroup>
 
561
<col align="left" valign="top">
 
562
<col>
 
563
</colgroup>
 
564
<tbody>
 
565
<tr>
 
566
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
567
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
568
</td>
 
569
</tr>
 
570
<tr>
 
571
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
 
572
<td>The uninitialized <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
 
573
</td>
 
574
</tr>
 
575
<tr>
 
576
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
577
<td>
 
578
<code class="literal">TRUE</code>, if <em class="parameter"><code>iter</code></em> was set</td>
 
579
</tr>
 
580
</tbody>
 
581
</table></div>
 
582
<p class="since">Since 2.4</p>
 
583
</div>
 
584
<hr>
 
585
<div class="refsect2">
 
586
<a name="gtk-combo-box-set-active-iter"></a><h3>gtk_combo_box_set_active_iter ()</h3>
 
587
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_combo_box_set_active_iter       (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
588
                                                         <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
 
589
<p>
 
590
Sets the current active item to be the one referenced by <em class="parameter"><code>iter</code></em>, or
 
591
unsets the active item if <em class="parameter"><code>iter</code></em> is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
592
</p>
 
593
<div class="variablelist"><table border="0" class="variablelist">
 
594
<colgroup>
 
595
<col align="left" valign="top">
 
596
<col>
 
597
</colgroup>
 
598
<tbody>
 
599
<tr>
 
600
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
601
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
602
</td>
 
603
</tr>
 
604
<tr>
 
605
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
 
606
<td>The <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
 
607
</td>
 
608
</tr>
 
609
</tbody>
 
610
</table></div>
 
611
<p class="since">Since 2.4</p>
 
612
</div>
 
613
<hr>
 
614
<div class="refsect2">
 
615
<a name="gtk-combo-box-get-model"></a><h3>gtk_combo_box_get_model ()</h3>
 
616
<pre class="programlisting"><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="returnvalue">GtkTreeModel</span></a> *      gtk_combo_box_get_model             (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
617
<p>
 
618
Returns the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> which is acting as data source for <em class="parameter"><code>combo_box</code></em>.
 
619
</p>
 
620
<div class="variablelist"><table border="0" class="variablelist">
 
621
<colgroup>
 
622
<col align="left" valign="top">
 
623
<col>
 
624
</colgroup>
 
625
<tbody>
 
626
<tr>
 
627
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
628
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
629
</td>
 
630
</tr>
 
631
<tr>
 
632
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
633
<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> which was passed
 
634
during construction. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
635
</td>
 
636
</tr>
 
637
</tbody>
 
638
</table></div>
 
639
<p class="since">Since 2.4</p>
 
640
</div>
 
641
<hr>
 
642
<div class="refsect2">
 
643
<a name="gtk-combo-box-set-model"></a><h3>gtk_combo_box_set_model ()</h3>
 
644
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_combo_box_set_model             (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
645
                                                         <em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre>
 
646
<p>
 
647
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
 
648
model (if applicable). If model is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, then it will unset the model.
 
649
</p>
 
650
<p>
 
651
Note that this function does not clear the cell renderers, you have to 
 
652
call <a class="link" href="GtkCellLayout.html#gtk-cell-layout-clear" title="gtk_cell_layout_clear ()"><code class="function">gtk_cell_layout_clear()</code></a> yourself if you need to set up different 
 
653
cell renderers for the new model.
 
654
</p>
 
655
<div class="variablelist"><table border="0" class="variablelist">
 
656
<colgroup>
 
657
<col align="left" valign="top">
 
658
<col>
 
659
</colgroup>
 
660
<tbody>
 
661
<tr>
 
662
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
663
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
664
</td>
 
665
</tr>
 
666
<tr>
 
667
<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td>
 
668
<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
669
</td>
 
670
</tr>
 
671
</tbody>
 
672
</table></div>
 
673
<p class="since">Since 2.4</p>
 
674
</div>
 
675
<hr>
 
676
<div class="refsect2">
 
677
<a name="gtk-combo-box-new-text"></a><h3>gtk_combo_box_new_text ()</h3>
 
678
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_combo_box_new_text              (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
679
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
680
<h3 class="title">Warning</h3>
 
681
<p><code class="literal">gtk_combo_box_new_text</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a></p>
 
682
</div>
 
683
<p>
 
684
Convenience function which constructs a new text combo box, which is a
 
685
<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> just displaying strings. If you use this function to create
 
686
a text combo box, you should only manipulate its data source with the
 
687
following convenience functions: <a class="link" href="GtkComboBox.html#gtk-combo-box-append-text" title="gtk_combo_box_append_text ()"><code class="function">gtk_combo_box_append_text()</code></a>,
 
688
<a class="link" href="GtkComboBox.html#gtk-combo-box-insert-text" title="gtk_combo_box_insert_text ()"><code class="function">gtk_combo_box_insert_text()</code></a>, <a class="link" href="GtkComboBox.html#gtk-combo-box-prepend-text" title="gtk_combo_box_prepend_text ()"><code class="function">gtk_combo_box_prepend_text()</code></a> and
 
689
<a class="link" href="GtkComboBox.html#gtk-combo-box-remove-text" title="gtk_combo_box_remove_text ()"><code class="function">gtk_combo_box_remove_text()</code></a>.
 
690
</p>
 
691
<div class="variablelist"><table border="0" class="variablelist">
 
692
<colgroup>
 
693
<col align="left" valign="top">
 
694
<col>
 
695
</colgroup>
 
696
<tbody><tr>
 
697
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
698
<td>A new text combo box. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
699
</td>
 
700
</tr></tbody>
 
701
</table></div>
 
702
<p class="since">Since 2.4</p>
 
703
</div>
 
704
<hr>
 
705
<div class="refsect2">
 
706
<a name="gtk-combo-box-append-text"></a><h3>gtk_combo_box_append_text ()</h3>
 
707
<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>,
 
708
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
 
709
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
710
<h3 class="title">Warning</h3>
 
711
<p><code class="literal">gtk_combo_box_append_text</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a></p>
 
712
</div>
 
713
<p>
 
714
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
 
715
you can only use this function with combo boxes constructed with
 
716
<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>.
 
717
</p>
 
718
<div class="variablelist"><table border="0" class="variablelist">
 
719
<colgroup>
 
720
<col align="left" valign="top">
 
721
<col>
 
722
</colgroup>
 
723
<tbody>
 
724
<tr>
 
725
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
726
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> constructed using <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>
 
727
</td>
 
728
</tr>
 
729
<tr>
 
730
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
 
731
<td>A string</td>
 
732
</tr>
 
733
</tbody>
 
734
</table></div>
 
735
<p class="since">Since 2.4</p>
 
736
</div>
 
737
<hr>
 
738
<div class="refsect2">
 
739
<a name="gtk-combo-box-insert-text"></a><h3>gtk_combo_box_insert_text ()</h3>
 
740
<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>,
 
741
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>,
 
742
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
 
743
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
744
<h3 class="title">Warning</h3>
 
745
<p><code class="literal">gtk_combo_box_insert_text</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a></p>
 
746
</div>
 
747
<p>
 
748
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>.
 
749
Note that you can only use this function with combo boxes constructed
 
750
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>.
 
751
</p>
 
752
<div class="variablelist"><table border="0" class="variablelist">
 
753
<colgroup>
 
754
<col align="left" valign="top">
 
755
<col>
 
756
</colgroup>
 
757
<tbody>
 
758
<tr>
 
759
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
760
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> constructed using <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>
 
761
</td>
 
762
</tr>
 
763
<tr>
 
764
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
 
765
<td>An index to insert <em class="parameter"><code>text</code></em>
 
766
</td>
 
767
</tr>
 
768
<tr>
 
769
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
 
770
<td>A string</td>
 
771
</tr>
 
772
</tbody>
 
773
</table></div>
 
774
<p class="since">Since 2.4</p>
 
775
</div>
 
776
<hr>
 
777
<div class="refsect2">
 
778
<a name="gtk-combo-box-prepend-text"></a><h3>gtk_combo_box_prepend_text ()</h3>
 
779
<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>,
 
780
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
 
781
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
782
<h3 class="title">Warning</h3>
 
783
<p><code class="literal">gtk_combo_box_prepend_text</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a></p>
 
784
</div>
 
785
<p>
 
786
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
 
787
you can only use this function with combo boxes constructed with
 
788
<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>.
 
789
</p>
 
790
<div class="variablelist"><table border="0" class="variablelist">
 
791
<colgroup>
 
792
<col align="left" valign="top">
 
793
<col>
 
794
</colgroup>
 
795
<tbody>
 
796
<tr>
 
797
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
798
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> 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>
 
799
</td>
 
800
</tr>
 
801
<tr>
 
802
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
 
803
<td>A string</td>
 
804
</tr>
 
805
</tbody>
 
806
</table></div>
 
807
<p class="since">Since 2.4</p>
 
808
</div>
 
809
<hr>
 
810
<div class="refsect2">
 
811
<a name="gtk-combo-box-remove-text"></a><h3>gtk_combo_box_remove_text ()</h3>
 
812
<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>,
 
813
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
 
814
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
815
<h3 class="title">Warning</h3>
 
816
<p><code class="literal">gtk_combo_box_remove_text</code> has been deprecated since version 2.24 and should not be used in newly-written code. Use <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a></p>
 
817
</div>
 
818
<p>
 
819
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
 
820
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>.
 
821
</p>
 
822
<div class="variablelist"><table border="0" class="variablelist">
 
823
<colgroup>
 
824
<col align="left" valign="top">
 
825
<col>
 
826
</colgroup>
 
827
<tbody>
 
828
<tr>
 
829
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
830
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> 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>
 
831
</td>
 
832
</tr>
 
833
<tr>
 
834
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
 
835
<td>Index of the item to remove</td>
 
836
</tr>
 
837
</tbody>
 
838
</table></div>
 
839
<p class="since">Since 2.4</p>
 
840
</div>
 
841
<hr>
 
842
<div class="refsect2">
 
843
<a name="gtk-combo-box-get-active-text"></a><h3>gtk_combo_box_get_active_text ()</h3>
 
844
<pre class="programlisting"><span class="returnvalue">gchar</span> *             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>
 
845
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
846
<h3 class="title">Warning</h3>
 
847
<p><code class="literal">gtk_combo_box_get_active_text</code> has been deprecated since version 2.24 and should not be used in newly-written code. If you used this with a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> constructed with 
 
848
<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> then you should now use <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a> and 
 
849
<a class="link" href="GtkComboBoxText.html#gtk-combo-box-text-get-active-text" title="gtk_combo_box_text_get_active_text ()"><code class="function">gtk_combo_box_text_get_active_text()</code></a> instead. Or if you used this with a
 
850
<a class="link" href="GtkComboBoxEntry.html" title="GtkComboBoxEntry"><span class="type">GtkComboBoxEntry</span></a> then you should now use <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> with 
 
851
<a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title='The "has-entry" property'><span class="type">"has-entry"</span></a> as <code class="literal">TRUE</code> and use
 
852
gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (combobox))).</p>
 
853
</div>
 
854
<p>
 
855
Returns the currently active string in <em class="parameter"><code>combo_box</code></em> or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if none
 
856
is selected. Note that you can only use this function with combo
 
857
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
 
858
<a class="link" href="GtkComboBoxEntry.html" title="GtkComboBoxEntry"><span class="type">GtkComboBoxEntry</span></a>s.
 
859
</p>
 
860
<div class="variablelist"><table border="0" class="variablelist">
 
861
<colgroup>
 
862
<col align="left" valign="top">
 
863
<col>
 
864
</colgroup>
 
865
<tbody>
 
866
<tr>
 
867
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
868
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> 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>
 
869
</td>
 
870
</tr>
 
871
<tr>
 
872
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
873
<td>a newly allocated string containing the currently active text.
 
874
Must be freed with <code class="function">g_free()</code>.</td>
 
875
</tr>
 
876
</tbody>
 
877
</table></div>
 
878
<p class="since">Since 2.6</p>
 
879
</div>
 
880
<hr>
 
881
<div class="refsect2">
 
882
<a name="gtk-combo-box-popup"></a><h3>gtk_combo_box_popup ()</h3>
 
883
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_combo_box_popup                 (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
884
<p>
 
885
Pops up the menu or dropdown list of <em class="parameter"><code>combo_box</code></em>. 
 
886
</p>
 
887
<p>
 
888
This function is mostly intended for use by accessibility technologies;
 
889
applications should have little use for it.
 
890
</p>
 
891
<div class="variablelist"><table border="0" class="variablelist">
 
892
<colgroup>
 
893
<col align="left" valign="top">
 
894
<col>
 
895
</colgroup>
 
896
<tbody><tr>
 
897
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
898
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
899
</td>
 
900
</tr></tbody>
 
901
</table></div>
 
902
<p class="since">Since 2.4</p>
 
903
</div>
 
904
<hr>
 
905
<div class="refsect2">
 
906
<a name="gtk-combo-box-popdown"></a><h3>gtk_combo_box_popdown ()</h3>
 
907
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_combo_box_popdown               (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
908
<p>
 
909
Hides the menu or dropdown list of <em class="parameter"><code>combo_box</code></em>.
 
910
</p>
 
911
<p>
 
912
This function is mostly intended for use by accessibility technologies;
 
913
applications should have little use for it.
 
914
</p>
 
915
<div class="variablelist"><table border="0" class="variablelist">
 
916
<colgroup>
 
917
<col align="left" valign="top">
 
918
<col>
 
919
</colgroup>
 
920
<tbody><tr>
 
921
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
922
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
923
</td>
 
924
</tr></tbody>
 
925
</table></div>
 
926
<p class="since">Since 2.4</p>
 
927
</div>
 
928
<hr>
 
929
<div class="refsect2">
 
930
<a name="gtk-combo-box-get-popup-accessible"></a><h3>gtk_combo_box_get_popup_accessible ()</h3>
 
931
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/atk/AtkObject.html"><span class="returnvalue">AtkObject</span></a> *         gtk_combo_box_get_popup_accessible  (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
932
<p>
 
933
Gets the accessible object corresponding to the combo box's popup.
 
934
</p>
 
935
<p>
 
936
This function is mostly intended for use by accessibility technologies;
 
937
applications should have little use for it.
 
938
</p>
 
939
<div class="variablelist"><table border="0" class="variablelist">
 
940
<colgroup>
 
941
<col align="left" valign="top">
 
942
<col>
 
943
</colgroup>
 
944
<tbody>
 
945
<tr>
 
946
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
947
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
948
</td>
 
949
</tr>
 
950
<tr>
 
951
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
952
<td>the accessible object corresponding
 
953
to the combo box's popup. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
954
</td>
 
955
</tr>
 
956
</tbody>
 
957
</table></div>
 
958
<p class="since">Since 2.6</p>
 
959
</div>
 
960
<hr>
 
961
<div class="refsect2">
 
962
<a name="gtk-combo-box-get-row-separator-func"></a><h3>gtk_combo_box_get_row_separator_func ()</h3>
 
963
<pre class="programlisting"><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="returnvalue">GtkTreeViewRowSeparatorFunc</span></a> gtk_combo_box_get_row_separator_func
 
964
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
965
<p>
 
966
Returns the current row separator function.
 
967
</p>
 
968
<div class="variablelist"><table border="0" class="variablelist">
 
969
<colgroup>
 
970
<col align="left" valign="top">
 
971
<col>
 
972
</colgroup>
 
973
<tbody>
 
974
<tr>
 
975
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
976
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
977
</td>
 
978
</tr>
 
979
<tr>
 
980
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
981
<td>the current row separator function.</td>
 
982
</tr>
 
983
</tbody>
 
984
</table></div>
 
985
<p class="since">Since 2.6</p>
 
986
</div>
 
987
<hr>
 
988
<div class="refsect2">
 
989
<a name="gtk-combo-box-set-row-separator-func"></a><h3>gtk_combo_box_set_row_separator_func ()</h3>
 
990
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_combo_box_set_row_separator_func
 
991
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
992
                                                         <em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a> func</code></em>,
 
993
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
994
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
 
995
<p>
 
996
Sets the row separator function, which is used to determine
 
997
whether a row should be drawn as a separator. If the row separator
 
998
function is <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>, no separators are drawn. This is the default value.
 
999
</p>
 
1000
<div class="variablelist"><table border="0" class="variablelist">
 
1001
<colgroup>
 
1002
<col align="left" valign="top">
 
1003
<col>
 
1004
</colgroup>
 
1005
<tbody>
 
1006
<tr>
 
1007
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1008
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1009
</td>
 
1010
</tr>
 
1011
<tr>
 
1012
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
 
1013
<td>a <a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a>
 
1014
</td>
 
1015
</tr>
 
1016
<tr>
 
1017
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
 
1018
<td>user data to pass to <em class="parameter"><code>func</code></em>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
 
1019
</td>
 
1020
</tr>
 
1021
<tr>
 
1022
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
1023
<td>destroy notifier for <em class="parameter"><code>data</code></em>, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
 
1024
</td>
 
1025
</tr>
 
1026
</tbody>
 
1027
</table></div>
 
1028
<p class="since">Since 2.6</p>
 
1029
</div>
 
1030
<hr>
 
1031
<div class="refsect2">
 
1032
<a name="gtk-combo-box-set-add-tearoffs"></a><h3>gtk_combo_box_set_add_tearoffs ()</h3>
 
1033
<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>,
 
1034
                                                         <em class="parameter"><code><span class="type">gboolean</span> add_tearoffs</code></em>);</pre>
 
1035
<p>
 
1036
Sets whether the popup menu should have a tearoff 
 
1037
menu item.
 
1038
</p>
 
1039
<div class="variablelist"><table border="0" class="variablelist">
 
1040
<colgroup>
 
1041
<col align="left" valign="top">
 
1042
<col>
 
1043
</colgroup>
 
1044
<tbody>
 
1045
<tr>
 
1046
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1047
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1048
</td>
 
1049
</tr>
 
1050
<tr>
 
1051
<td><p><span class="term"><em class="parameter"><code>add_tearoffs</code></em> :</span></p></td>
 
1052
<td>
 
1053
<code class="literal">TRUE</code> to add tearoff menu items</td>
 
1054
</tr>
 
1055
</tbody>
 
1056
</table></div>
 
1057
<p class="since">Since 2.6</p>
 
1058
</div>
 
1059
<hr>
 
1060
<div class="refsect2">
 
1061
<a name="gtk-combo-box-get-add-tearoffs"></a><h3>gtk_combo_box_get_add_tearoffs ()</h3>
 
1062
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_combo_box_get_add_tearoffs      (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
1063
<p>
 
1064
Gets the current value of the :add-tearoffs property.
 
1065
</p>
 
1066
<div class="variablelist"><table border="0" class="variablelist">
 
1067
<colgroup>
 
1068
<col align="left" valign="top">
 
1069
<col>
 
1070
</colgroup>
 
1071
<tbody>
 
1072
<tr>
 
1073
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1074
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1075
</td>
 
1076
</tr>
 
1077
<tr>
 
1078
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1079
<td>the current value of the :add-tearoffs property.</td>
 
1080
</tr>
 
1081
</tbody>
 
1082
</table></div>
 
1083
</div>
 
1084
<hr>
 
1085
<div class="refsect2">
 
1086
<a name="gtk-combo-box-set-title"></a><h3>gtk_combo_box_set_title ()</h3>
 
1087
<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>,
 
1088
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
 
1089
<p>
 
1090
Sets the menu's title in tearoff mode.
 
1091
</p>
 
1092
<div class="variablelist"><table border="0" class="variablelist">
 
1093
<colgroup>
 
1094
<col align="left" valign="top">
 
1095
<col>
 
1096
</colgroup>
 
1097
<tbody>
 
1098
<tr>
 
1099
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1100
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1101
</td>
 
1102
</tr>
 
1103
<tr>
 
1104
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
 
1105
<td>a title for the menu in tearoff mode</td>
 
1106
</tr>
 
1107
</tbody>
 
1108
</table></div>
 
1109
<p class="since">Since 2.10</p>
 
1110
</div>
 
1111
<hr>
 
1112
<div class="refsect2">
 
1113
<a name="gtk-combo-box-get-title"></a><h3>gtk_combo_box_get_title ()</h3>
 
1114
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       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>
 
1115
<p>
 
1116
Gets the current title of the menu in tearoff mode. See
 
1117
<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>.
 
1118
</p>
 
1119
<div class="variablelist"><table border="0" class="variablelist">
 
1120
<colgroup>
 
1121
<col align="left" valign="top">
 
1122
<col>
 
1123
</colgroup>
 
1124
<tbody>
 
1125
<tr>
 
1126
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1127
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1128
</td>
 
1129
</tr>
 
1130
<tr>
 
1131
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1132
<td>the menu's title in tearoff mode. This is an internal copy of the
 
1133
string which must not be freed.</td>
 
1134
</tr>
 
1135
</tbody>
 
1136
</table></div>
 
1137
<p class="since">Since 2.10</p>
 
1138
</div>
 
1139
<hr>
 
1140
<div class="refsect2">
 
1141
<a name="gtk-combo-box-set-focus-on-click"></a><h3>gtk_combo_box_set_focus_on_click ()</h3>
 
1142
<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>,
 
1143
                                                         <em class="parameter"><code><span class="type">gboolean</span> focus_on_click</code></em>);</pre>
 
1144
<p>
 
1145
Sets whether the combo box will grab focus when it is clicked with 
 
1146
the mouse. Making mouse clicks not grab focus is useful in places 
 
1147
like toolbars where you don't want the keyboard focus removed from 
 
1148
the main area of the application.
 
1149
</p>
 
1150
<div class="variablelist"><table border="0" class="variablelist">
 
1151
<colgroup>
 
1152
<col align="left" valign="top">
 
1153
<col>
 
1154
</colgroup>
 
1155
<tbody>
 
1156
<tr>
 
1157
<td><p><span class="term"><em class="parameter"><code>combo</code></em> :</span></p></td>
 
1158
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1159
</td>
 
1160
</tr>
 
1161
<tr>
 
1162
<td><p><span class="term"><em class="parameter"><code>focus_on_click</code></em> :</span></p></td>
 
1163
<td>whether the combo box grabs focus when clicked
 
1164
with the mouse</td>
 
1165
</tr>
 
1166
</tbody>
 
1167
</table></div>
 
1168
<p class="since">Since 2.6</p>
 
1169
</div>
 
1170
<hr>
 
1171
<div class="refsect2">
 
1172
<a name="gtk-combo-box-get-focus-on-click"></a><h3>gtk_combo_box_get_focus_on_click ()</h3>
 
1173
<pre class="programlisting"><span class="returnvalue">gboolean</span>            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>
 
1174
<p>
 
1175
Returns whether the combo box grabs focus when it is clicked 
 
1176
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>.
 
1177
</p>
 
1178
<div class="variablelist"><table border="0" class="variablelist">
 
1179
<colgroup>
 
1180
<col align="left" valign="top">
 
1181
<col>
 
1182
</colgroup>
 
1183
<tbody>
 
1184
<tr>
 
1185
<td><p><span class="term"><em class="parameter"><code>combo</code></em> :</span></p></td>
 
1186
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1187
</td>
 
1188
</tr>
 
1189
<tr>
 
1190
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1191
<td>
 
1192
<code class="literal">TRUE</code> if the combo box grabs focus when it is
 
1193
clicked with the mouse.</td>
 
1194
</tr>
 
1195
</tbody>
 
1196
</table></div>
 
1197
<p class="since">Since 2.6</p>
 
1198
</div>
 
1199
<hr>
 
1200
<div class="refsect2">
 
1201
<a name="gtk-combo-box-set-button-sensitivity"></a><h3>gtk_combo_box_set_button_sensitivity ()</h3>
 
1202
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_combo_box_set_button_sensitivity
 
1203
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
1204
                                                         <em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);</pre>
 
1205
<p>
 
1206
Sets whether the dropdown button of the combo box should be
 
1207
always sensitive (<a class="link" href="GtkRange.html#GTK-SENSITIVITY-ON:CAPS"><code class="literal">GTK_SENSITIVITY_ON</code></a>), never sensitive (<a class="link" href="GtkRange.html#GTK-SENSITIVITY-OFF:CAPS"><code class="literal">GTK_SENSITIVITY_OFF</code></a>)
 
1208
or only if there is at least one item to display (<a class="link" href="GtkRange.html#GTK-SENSITIVITY-AUTO:CAPS"><code class="literal">GTK_SENSITIVITY_AUTO</code></a>).
 
1209
</p>
 
1210
<div class="variablelist"><table border="0" class="variablelist">
 
1211
<colgroup>
 
1212
<col align="left" valign="top">
 
1213
<col>
 
1214
</colgroup>
 
1215
<tbody>
 
1216
<tr>
 
1217
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1218
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1219
</td>
 
1220
</tr>
 
1221
<tr>
 
1222
<td><p><span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></p></td>
 
1223
<td>specify the sensitivity of the dropdown button</td>
 
1224
</tr>
 
1225
</tbody>
 
1226
</table></div>
 
1227
<p class="since">Since 2.14</p>
 
1228
</div>
 
1229
<hr>
 
1230
<div class="refsect2">
 
1231
<a name="gtk-combo-box-get-button-sensitivity"></a><h3>gtk_combo_box_get_button_sensitivity ()</h3>
 
1232
<pre class="programlisting"><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  gtk_combo_box_get_button_sensitivity
 
1233
                                                        (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
1234
<p>
 
1235
Returns whether the combo box sets the dropdown button
 
1236
sensitive or not when there are no items in the model.
 
1237
</p>
 
1238
<div class="variablelist"><table border="0" class="variablelist">
 
1239
<colgroup>
 
1240
<col align="left" valign="top">
 
1241
<col>
 
1242
</colgroup>
 
1243
<tbody>
 
1244
<tr>
 
1245
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1246
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1247
</td>
 
1248
</tr>
 
1249
<tr>
 
1250
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1251
<td>
 
1252
<a class="link" href="GtkRange.html#GTK-SENSITIVITY-ON:CAPS"><code class="literal">GTK_SENSITIVITY_ON</code></a> if the dropdown button
 
1253
is sensitive when the model is empty, <a class="link" href="GtkRange.html#GTK-SENSITIVITY-OFF:CAPS"><code class="literal">GTK_SENSITIVITY_OFF</code></a>
 
1254
if the button is always insensitive or
 
1255
<a class="link" href="GtkRange.html#GTK-SENSITIVITY-AUTO:CAPS"><code class="literal">GTK_SENSITIVITY_AUTO</code></a> if it is only sensitive as long as
 
1256
the model has one item to be selected.</td>
 
1257
</tr>
 
1258
</tbody>
 
1259
</table></div>
 
1260
<p class="since">Since 2.14</p>
 
1261
</div>
 
1262
<hr>
 
1263
<div class="refsect2">
 
1264
<a name="gtk-combo-box-get-has-entry"></a><h3>gtk_combo_box_get_has_entry ()</h3>
 
1265
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_combo_box_get_has_entry         (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
1266
<p>
 
1267
Returns whether the combo box has an entry.
 
1268
</p>
 
1269
<div class="variablelist"><table border="0" class="variablelist">
 
1270
<colgroup>
 
1271
<col align="left" valign="top">
 
1272
<col>
 
1273
</colgroup>
 
1274
<tbody>
 
1275
<tr>
 
1276
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1277
<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1278
</td>
 
1279
</tr>
 
1280
<tr>
 
1281
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1282
<td>whether there is an entry in <em class="parameter"><code>combo_box</code></em>.</td>
 
1283
</tr>
 
1284
</tbody>
 
1285
</table></div>
 
1286
<p class="since">Since 2.24</p>
 
1287
</div>
 
1288
<hr>
 
1289
<div class="refsect2">
 
1290
<a name="gtk-combo-box-set-entry-text-column"></a><h3>gtk_combo_box_set_entry_text_column ()</h3>
 
1291
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_combo_box_set_entry_text_column (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
 
1292
                                                         <em class="parameter"><code><span class="type">gint</span> text_column</code></em>);</pre>
 
1293
<p>
 
1294
Sets the model column which <em class="parameter"><code>combo_box</code></em> should use to get strings from
 
1295
to be <em class="parameter"><code>text_column</code></em>. The column <em class="parameter"><code>text_column</code></em> in the model of <em class="parameter"><code>combo_box</code></em>
 
1296
must be of type <code class="literal">G_TYPE_STRING</code>.
 
1297
</p>
 
1298
<p>
 
1299
This is only relevant if <em class="parameter"><code>combo_box</code></em> has been created with
 
1300
<a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title='The "has-entry" property'><span class="type">"has-entry"</span></a> as <code class="literal">TRUE</code>.
 
1301
</p>
 
1302
<div class="variablelist"><table border="0" class="variablelist">
 
1303
<colgroup>
 
1304
<col align="left" valign="top">
 
1305
<col>
 
1306
</colgroup>
 
1307
<tbody>
 
1308
<tr>
 
1309
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1310
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
 
1311
</td>
 
1312
</tr>
 
1313
<tr>
 
1314
<td><p><span class="term"><em class="parameter"><code>text_column</code></em> :</span></p></td>
 
1315
<td>A column in <em class="parameter"><code>model</code></em> to get the strings from for
 
1316
the internal entry</td>
 
1317
</tr>
 
1318
</tbody>
 
1319
</table></div>
 
1320
<p class="since">Since 2.24</p>
 
1321
</div>
 
1322
<hr>
 
1323
<div class="refsect2">
 
1324
<a name="gtk-combo-box-get-entry-text-column"></a><h3>gtk_combo_box_get_entry_text_column ()</h3>
 
1325
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_combo_box_get_entry_text_column (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
 
1326
<p>
 
1327
Returns the column which <em class="parameter"><code>combo_box</code></em> is using to get the strings
 
1328
from to display in the internal entry.
 
1329
</p>
 
1330
<div class="variablelist"><table border="0" class="variablelist">
 
1331
<colgroup>
 
1332
<col align="left" valign="top">
 
1333
<col>
 
1334
</colgroup>
 
1335
<tbody>
 
1336
<tr>
 
1337
<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td>
 
1338
<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td>
 
1339
</tr>
 
1340
<tr>
 
1341
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
1342
<td>A column in the data source model of <em class="parameter"><code>combo_box</code></em>.</td>
 
1343
</tr>
 
1344
</tbody>
 
1345
</table></div>
 
1346
<p class="since">Since 2.24</p>
 
1347
</div>
 
1348
</div>
 
1349
<div class="refsect1">
 
1350
<a name="GtkComboBox.property-details"></a><h2>Property Details</h2>
 
1351
<div class="refsect2">
 
1352
<a name="GtkComboBox--active"></a><h3>The <code class="literal">"active"</code> property</h3>
 
1353
<pre class="programlisting">  "active"                   <span class="type">gint</span>                  : Read / Write</pre>
 
1354
<p>
 
1355
The item which is currently active. If the model is a non-flat treemodel,
 
1356
and the active item is not an immediate child of the root of the tree,
 
1357
this property has the value
 
1358
<code class="literal">gtk_tree_path_get_indices (path)[0]</code>,
 
1359
where <code class="literal">path</code> is the <a class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of the active item.
 
1360
</p>
 
1361
<p>Allowed values: &gt;= G_MAXULONG</p>
 
1362
<p>Default value: -1</p>
 
1363
<p class="since">Since 2.4</p>
 
1364
</div>
 
1365
<hr>
 
1366
<div class="refsect2">
 
1367
<a name="GtkComboBox--add-tearoffs"></a><h3>The <code class="literal">"add-tearoffs"</code> property</h3>
 
1368
<pre class="programlisting">  "add-tearoffs"             <span class="type">gboolean</span>              : Read / Write</pre>
 
1369
<p>
 
1370
The add-tearoffs property controls whether generated menus 
 
1371
have tearoff menu items. 
 
1372
</p>
 
1373
<p>
 
1374
Note that this only affects menu style combo boxes.
 
1375
</p>
 
1376
<p>Default value: FALSE</p>
 
1377
<p class="since">Since 2.6</p>
 
1378
</div>
 
1379
<hr>
 
1380
<div class="refsect2">
 
1381
<a name="GtkComboBox--button-sensitivity"></a><h3>The <code class="literal">"button-sensitivity"</code> property</h3>
 
1382
<pre class="programlisting">  "button-sensitivity"       <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a>    : Read / Write</pre>
 
1383
<p>
 
1384
Whether the dropdown button is sensitive when
 
1385
the model is empty.
 
1386
</p>
 
1387
<p>Default value: GTK_SENSITIVITY_AUTO</p>
 
1388
<p class="since">Since 2.14</p>
 
1389
</div>
 
1390
<hr>
 
1391
<div class="refsect2">
 
1392
<a name="GtkComboBox--column-span-column"></a><h3>The <code class="literal">"column-span-column"</code> property</h3>
 
1393
<pre class="programlisting">  "column-span-column"       <span class="type">gint</span>                  : Read / Write</pre>
 
1394
<p>
 
1395
If this is set to a non-negative value, it must be the index of a column 
 
1396
of type <code class="literal">G_TYPE_INT</code> in the model. 
 
1397
</p>
 
1398
<p>
 
1399
The values of that column are used to determine how many columns a value 
 
1400
in the list will span.
 
1401
</p>
 
1402
<p>Allowed values: &gt;= G_MAXULONG</p>
 
1403
<p>Default value: -1</p>
 
1404
<p class="since">Since 2.4</p>
 
1405
</div>
 
1406
<hr>
 
1407
<div class="refsect2">
 
1408
<a name="GtkComboBox--entry-text-column"></a><h3>The <code class="literal">"entry-text-column"</code> property</h3>
 
1409
<pre class="programlisting">  "entry-text-column"        <span class="type">gint</span>                  : Read / Write</pre>
 
1410
<p>
 
1411
The column in the combo box's model to associate with strings from the entry
 
1412
if the combo was created with <a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title='The "has-entry" property'><span class="type">"has-entry"</span></a> = <code class="literal">TRUE</code>.
 
1413
</p>
 
1414
<p>Allowed values: &gt;= G_MAXULONG</p>
 
1415
<p>Default value: -1</p>
 
1416
<p class="since">Since 2.24</p>
 
1417
</div>
 
1418
<hr>
 
1419
<div class="refsect2">
 
1420
<a name="GtkComboBox--focus-on-click"></a><h3>The <code class="literal">"focus-on-click"</code> property</h3>
 
1421
<pre class="programlisting">  "focus-on-click"           <span class="type">gboolean</span>              : Read / Write</pre>
 
1422
<p>Whether the combo box grabs focus when it is clicked with the mouse.</p>
 
1423
<p>Default value: TRUE</p>
 
1424
</div>
 
1425
<hr>
 
1426
<div class="refsect2">
 
1427
<a name="GtkComboBox--has-entry"></a><h3>The <code class="literal">"has-entry"</code> property</h3>
 
1428
<pre class="programlisting">  "has-entry"                <span class="type">gboolean</span>              : Read / Write / Construct Only</pre>
 
1429
<p>
 
1430
Whether the combo box has an entry.
 
1431
</p>
 
1432
<p>Default value: FALSE</p>
 
1433
<p class="since">Since 2.24</p>
 
1434
</div>
 
1435
<hr>
 
1436
<div class="refsect2">
 
1437
<a name="GtkComboBox--has-frame"></a><h3>The <code class="literal">"has-frame"</code> property</h3>
 
1438
<pre class="programlisting">  "has-frame"                <span class="type">gboolean</span>              : Read / Write</pre>
 
1439
<p>
 
1440
The has-frame property controls whether a frame
 
1441
is drawn around the entry.
 
1442
</p>
 
1443
<p>Default value: TRUE</p>
 
1444
<p class="since">Since 2.6</p>
 
1445
</div>
 
1446
<hr>
 
1447
<div class="refsect2">
 
1448
<a name="GtkComboBox--model"></a><h3>The <code class="literal">"model"</code> property</h3>
 
1449
<pre class="programlisting">  "model"                    <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>*         : Read / Write</pre>
 
1450
<p>
 
1451
The model from which the combo box takes the values shown
 
1452
in the list.
 
1453
</p>
 
1454
<p class="since">Since 2.4</p>
 
1455
</div>
 
1456
<hr>
 
1457
<div class="refsect2">
 
1458
<a name="GtkComboBox--popup-shown"></a><h3>The <code class="literal">"popup-shown"</code> property</h3>
 
1459
<pre class="programlisting">  "popup-shown"              <span class="type">gboolean</span>              : Read</pre>
 
1460
<p>
 
1461
Whether the combo boxes dropdown is popped up. 
 
1462
Note that this property is mainly useful, because
 
1463
it allows you to connect to notify::popup-shown.
 
1464
</p>
 
1465
<p>Default value: FALSE</p>
 
1466
<p class="since">Since 2.10</p>
 
1467
</div>
 
1468
<hr>
 
1469
<div class="refsect2">
 
1470
<a name="GtkComboBox--row-span-column"></a><h3>The <code class="literal">"row-span-column"</code> property</h3>
 
1471
<pre class="programlisting">  "row-span-column"          <span class="type">gint</span>                  : Read / Write</pre>
 
1472
<p>
 
1473
If this is set to a non-negative value, it must be the index of a column 
 
1474
of type <code class="literal">G_TYPE_INT</code> in the model. 
 
1475
</p>
 
1476
<p>
 
1477
The values of that column are used to determine how many rows a value in 
 
1478
the list will span. Therefore, the values in the model column pointed to 
 
1479
by this property must be greater than zero and not larger than wrap-width.
 
1480
</p>
 
1481
<p>Allowed values: &gt;= G_MAXULONG</p>
 
1482
<p>Default value: -1</p>
 
1483
<p class="since">Since 2.4</p>
 
1484
</div>
 
1485
<hr>
 
1486
<div class="refsect2">
 
1487
<a name="GtkComboBox--tearoff-title"></a><h3>The <code class="literal">"tearoff-title"</code> property</h3>
 
1488
<pre class="programlisting">  "tearoff-title"            <span class="type">gchar</span>*                : Read / Write</pre>
 
1489
<p>
 
1490
A title that may be displayed by the window manager 
 
1491
when the popup is torn-off.
 
1492
</p>
 
1493
<p>Default value: NULL</p>
 
1494
<p class="since">Since 2.10</p>
 
1495
</div>
 
1496
<hr>
 
1497
<div class="refsect2">
 
1498
<a name="GtkComboBox--wrap-width"></a><h3>The <code class="literal">"wrap-width"</code> property</h3>
 
1499
<pre class="programlisting">  "wrap-width"               <span class="type">gint</span>                  : Read / Write</pre>
 
1500
<p>
 
1501
If wrap-width is set to a positive value, the list will be
 
1502
displayed in multiple columns, the number of columns is
 
1503
determined by wrap-width.
 
1504
</p>
 
1505
<p>Allowed values: &gt;= 0</p>
 
1506
<p>Default value: 0</p>
 
1507
<p class="since">Since 2.4</p>
 
1508
</div>
 
1509
</div>
 
1510
<div class="refsect1">
 
1511
<a name="GtkComboBox.style-property-details"></a><h2>Style Property Details</h2>
 
1512
<div class="refsect2">
 
1513
<a name="GtkComboBox--s-appears-as-list"></a><h3>The <code class="literal">"appears-as-list"</code> style property</h3>
 
1514
<pre class="programlisting">  "appears-as-list"          <span class="type">gboolean</span>              : Read</pre>
 
1515
<p>Whether dropdowns should look like lists rather than menus.</p>
 
1516
<p>Default value: FALSE</p>
 
1517
</div>
 
1518
<hr>
 
1519
<div class="refsect2">
 
1520
<a name="GtkComboBox--s-arrow-size"></a><h3>The <code class="literal">"arrow-size"</code> style property</h3>
 
1521
<pre class="programlisting">  "arrow-size"               <span class="type">gint</span>                  : Read</pre>
 
1522
<p>
 
1523
Sets the minimum size of the arrow in the combo box.  Note
 
1524
that the arrow size is coupled to the font size, so in case
 
1525
a larger font is used, the arrow will be larger than set
 
1526
by arrow size.
 
1527
</p>
 
1528
<p>Allowed values: &gt;= 0</p>
 
1529
<p>Default value: 15</p>
 
1530
<p class="since">Since 2.12</p>
 
1531
</div>
 
1532
<hr>
 
1533
<div class="refsect2">
 
1534
<a name="GtkComboBox--s-shadow-type"></a><h3>The <code class="literal">"shadow-type"</code> style property</h3>
 
1535
<pre class="programlisting">  "shadow-type"              <a class="link" href="gtk2-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a>         : Read</pre>
 
1536
<p>
 
1537
Which kind of shadow to draw around the combo box.
 
1538
</p>
 
1539
<p>Default value: GTK_SHADOW_NONE</p>
 
1540
<p class="since">Since 2.12</p>
 
1541
</div>
 
1542
</div>
 
1543
<div class="refsect1">
 
1544
<a name="GtkComboBox.signal-details"></a><h2>Signal Details</h2>
 
1545
<div class="refsect2">
 
1546
<a name="GtkComboBox-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
 
1547
<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,
 
1548
                                                        <span class="type">gpointer</span>     user_data)      : <code class="literal">Run Last</code></pre>
 
1549
<p>
 
1550
The changed signal is emitted when the active
 
1551
item is changed. The can be due to the user selecting
 
1552
a different item from the list, or due to a
 
1553
call to <a class="link" href="GtkComboBox.html#gtk-combo-box-set-active-iter" title="gtk_combo_box_set_active_iter ()"><code class="function">gtk_combo_box_set_active_iter()</code></a>.
 
1554
It will also be emitted while typing into a GtkComboBoxEntry, 
 
1555
as well as when selecting an item from the GtkComboBoxEntry's list.
 
1556
</p>
 
1557
<div class="variablelist"><table border="0" class="variablelist">
 
1558
<colgroup>
 
1559
<col align="left" valign="top">
 
1560
<col>
 
1561
</colgroup>
 
1562
<tbody>
 
1563
<tr>
 
1564
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
 
1565
<td>the object which received the signal</td>
 
1566
</tr>
 
1567
<tr>
 
1568
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
1569
<td>user data set when the signal handler was connected.</td>
 
1570
</tr>
 
1571
</tbody>
 
1572
</table></div>
 
1573
<p class="since">Since 2.4</p>
 
1574
</div>
 
1575
<hr>
 
1576
<div class="refsect2">
 
1577
<a name="GtkComboBox-move-active"></a><h3>The <code class="literal">"move-active"</code> signal</h3>
 
1578
<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,
 
1579
                                                        <a class="link" href="gtk2-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type,
 
1580
                                                        <span class="type">gpointer</span>      user_data)        : <code class="literal">Action</code></pre>
 
1581
<p>
 
1582
The ::move-active signal is a 
 
1583
<a class="link" href="gtk2-Bindings.html#keybinding-signals">keybinding signal</a>
 
1584
which gets emitted to move the active selection.
 
1585
</p>
 
1586
<div class="variablelist"><table border="0" class="variablelist">
 
1587
<colgroup>
 
1588
<col align="left" valign="top">
 
1589
<col>
 
1590
</colgroup>
 
1591
<tbody>
 
1592
<tr>
 
1593
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
 
1594
<td>the object that received the signal</td>
 
1595
</tr>
 
1596
<tr>
 
1597
<td><p><span class="term"><em class="parameter"><code>scroll_type</code></em> :</span></p></td>
 
1598
<td>a <a class="link" href="gtk2-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a>
 
1599
</td>
 
1600
</tr>
 
1601
<tr>
 
1602
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
1603
<td>user data set when the signal handler was connected.</td>
 
1604
</tr>
 
1605
</tbody>
 
1606
</table></div>
 
1607
<p class="since">Since 2.12</p>
 
1608
</div>
 
1609
<hr>
 
1610
<div class="refsect2">
 
1611
<a name="GtkComboBox-popdown"></a><h3>The <code class="literal">"popdown"</code> signal</h3>
 
1612
<pre class="programlisting"><span class="returnvalue">gboolean</span>            user_function                      (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *button,
 
1613
                                                        <span class="type">gpointer</span>     user_data)      : <code class="literal">Action</code></pre>
 
1614
<p>
 
1615
The ::popdown signal is a 
 
1616
<a class="link" href="gtk2-Bindings.html#keybinding-signals">keybinding signal</a> 
 
1617
which gets emitted to popdown the combo box list.
 
1618
</p>
 
1619
<p>
 
1620
The default bindings for this signal are Alt+Up and Escape.
 
1621
</p>
 
1622
<div class="variablelist"><table border="0" class="variablelist">
 
1623
<colgroup>
 
1624
<col align="left" valign="top">
 
1625
<col>
 
1626
</colgroup>
 
1627
<tbody>
 
1628
<tr>
 
1629
<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td>
 
1630
<td>the object which received the signal</td>
 
1631
</tr>
 
1632
<tr>
 
1633
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
1634
<td>user data set when the signal handler was connected.</td>
 
1635
</tr>
 
1636
</tbody>
 
1637
</table></div>
 
1638
<p class="since">Since 2.12</p>
 
1639
</div>
 
1640
<hr>
 
1641
<div class="refsect2">
 
1642
<a name="GtkComboBox-popup"></a><h3>The <code class="literal">"popup"</code> signal</h3>
 
1643
<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,
 
1644
                                                        <span class="type">gpointer</span>     user_data)      : <code class="literal">Action</code></pre>
 
1645
<p>
 
1646
The ::popup signal is a 
 
1647
<a class="link" href="gtk2-Bindings.html#keybinding-signals">keybinding signal</a>
 
1648
which gets emitted to popup the combo box list.
 
1649
</p>
 
1650
<p>
 
1651
The default binding for this signal is Alt+Down.
 
1652
</p>
 
1653
<div class="variablelist"><table border="0" class="variablelist">
 
1654
<colgroup>
 
1655
<col align="left" valign="top">
 
1656
<col>
 
1657
</colgroup>
 
1658
<tbody>
 
1659
<tr>
 
1660
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
 
1661
<td>the object that received the signal</td>
 
1662
</tr>
 
1663
<tr>
 
1664
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
1665
<td>user data set when the signal handler was connected.</td>
 
1666
</tr>
 
1667
</tbody>
 
1668
</table></div>
 
1669
<p class="since">Since 2.12</p>
 
1670
</div>
 
1671
</div>
 
1672
<div class="refsect1">
 
1673
<a name="GtkComboBox.see-also"></a><h2>See Also</h2>
 
1674
<a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a>, <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>
 
1675
</div>
 
1676
</div>
 
1677
<div class="footer">
 
1678
<hr>
 
1679
          Generated by GTK-Doc V1.18</div>
 
1680
</body>
 
1681
</html>
 
 
b'\\ No newline at end of file'