|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /usr/share/gtk-doc/html/gtk/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>GtkComboBox</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="prev" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="next" href="GtkComboBoxEntry.html" title="GtkComboBoxEntry">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="gtk.html" title="Part I. GTK+ Overview">
<link rel="part" href="gtkbase.html" title="Part II. GTK+ Core Reference">
<link rel="part" href="gtkobjects.html" title="Part III. GTK+ Widgets and Objects">
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
<link rel="chapter" href="ch02.html" title="Widget Gallery">
<link rel="chapter" href="WindowWidgets.html" title="Windows">
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
<link rel="chapter" href="Ornaments.html" title="Ornaments">
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
<link rel="chapter" href="Printing.html" title="Printing">
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
<link rel="part" href="migrating.html" title="Part IV. Migrating from Previous Versions of GTK+">
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and
GtkComboBoxEntry">
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
<link rel="glossary" href="glossary.html" title="Glossary">
<link rel="index" href="ix01.html" title="Index">
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="MenusAndCombos.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="MenusAndCombos.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkComboBoxEntry.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3257326" class="shortcut">Top</a>
 | 
<a href="#id3258570" class="shortcut">Description</a>
 | 
<a href="#id3258196" class="shortcut">Object Hierarchy</a>
 | 
<a href="#id3258265" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#id3258302" class="shortcut">Properties</a>
 | 
<a href="#id3258489" class="shortcut">Style Properties</a>
 | 
<a href="#id3258523" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="GtkComboBox"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id3257326"></a><span class="refentrytitle">GtkComboBox</span>
</h2>
<p>GtkComboBox — A widget used to choose from a list of items</p>
</td>
<td valign="top" align="right"><img src="combo-box.png"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#include <gtk/gtk.h>
<a href="GtkComboBox.html#GtkComboBox-struct">GtkComboBox</a>;
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkComboBox.html#gtk-combo-box-new">gtk_combo_box_new</a> (void);
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkComboBox.html#gtk-combo-box-new-with-model">gtk_combo_box_new_with_model</a> (<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkComboBox.html#gtk-combo-box-get-wrap-width">gtk_combo_box_get_wrap_width</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-set-wrap-width">gtk_combo_box_set_wrap_width</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkComboBox.html#gtk-combo-box-get-row-span-column">gtk_combo_box_get_row_span_column</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-set-row-span-column">gtk_combo_box_set_row_span_column</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> row_span);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkComboBox.html#gtk-combo-box-get-column-span-column">gtk_combo_box_get_column_span_column</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-set-column-span-column">gtk_combo_box_set_column_span_column</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column_span);
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> <a href="GtkComboBox.html#gtk-combo-box-get-active">gtk_combo_box_get_active</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-set-active">gtk_combo_box_set_active</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> index_);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkComboBox.html#gtk-combo-box-get-active-iter">gtk_combo_box_get_active_iter</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter);
void <a href="GtkComboBox.html#gtk-combo-box-set-active-iter">gtk_combo_box_set_active_iter</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter);
<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a>* <a href="GtkComboBox.html#gtk-combo-box-get-model">gtk_combo_box_get_model</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-set-model">gtk_combo_box_set_model</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model);
<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* <a href="GtkComboBox.html#gtk-combo-box-new-text">gtk_combo_box_new_text</a> (void);
void <a href="GtkComboBox.html#gtk-combo-box-append-text">gtk_combo_box_append_text</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);
void <a href="GtkComboBox.html#gtk-combo-box-insert-text">gtk_combo_box_insert_text</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);
void <a href="GtkComboBox.html#gtk-combo-box-prepend-text">gtk_combo_box_prepend_text</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);
void <a href="GtkComboBox.html#gtk-combo-box-remove-text">gtk_combo_box_remove_text</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position);
<a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GtkComboBox.html#gtk-combo-box-get-active-text">gtk_combo_box_get_active_text</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-popup">gtk_combo_box_popup</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-popdown">gtk_combo_box_popdown</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
<a
href="../atk/AtkObject.html"
>AtkObject</a>* <a href="GtkComboBox.html#gtk-combo-box-get-popup-accessible">gtk_combo_box_get_popup_accessible</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
<a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> <a href="GtkComboBox.html#gtk-combo-box-get-row-separator-func">gtk_combo_box_get_row_separator_func</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-set-row-separator-func">gtk_combo_box_set_row_separator_func</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> func,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
<a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);
void <a href="GtkComboBox.html#gtk-combo-box-set-add-tearoffs">gtk_combo_box_set_add_tearoffs</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> add_tearoffs);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkComboBox.html#gtk-combo-box-get-add-tearoffs">gtk_combo_box_get_add_tearoffs</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-set-title">gtk_combo_box_set_title</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title);
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* <a href="GtkComboBox.html#gtk-combo-box-get-title">gtk_combo_box_get_title</a> (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);
void <a href="GtkComboBox.html#gtk-combo-box-set-focus-on-click">gtk_combo_box_set_focus_on_click</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> focus_on_click);
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a href="GtkComboBox.html#gtk-combo-box-get-focus-on-click">gtk_combo_box_get_focus_on_click</a>
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3258196"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="../gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
+----<a
href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
>GInitiallyUnowned</a>
+----<a href="GtkObject.html" title="GtkObject">GtkObject</a>
+----<a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
+----<a href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
+----<a href="GtkBin.html" title="GtkBin">GtkBin</a>
+----GtkComboBox
+----<a href="GtkComboBoxEntry.html" title="GtkComboBoxEntry">GtkComboBoxEntry</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3258265"></a><h2>Implemented Interfaces</h2>
<p>
GtkComboBox implements
AtkImplementorIface, <a href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a> and <a href="GtkCellLayout.html" title="GtkCellLayout">GtkCellLayout</a>.</p>
</div>
<div class="refsect1" lang="en">
<a name="id3258302"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="GtkComboBox.html#GtkComboBox--active">active</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GtkComboBox.html#GtkComboBox--add-tearoffs">add-tearoffs</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkComboBox.html#GtkComboBox--column-span-column">column-span-column</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GtkComboBox.html#GtkComboBox--focus-on-click">focus-on-click</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkComboBox.html#GtkComboBox--has-frame">has-frame</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write
"<a href="GtkComboBox.html#GtkComboBox--model">model</a>" <a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> : Read / Write
"<a href="GtkComboBox.html#GtkComboBox--popup-shown">popup-shown</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read
"<a href="GtkComboBox.html#GtkComboBox--row-span-column">row-span-column</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a href="GtkComboBox.html#GtkComboBox--tearoff-title">tearoff-title</a>" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write
"<a href="GtkComboBox.html#GtkComboBox--wrap-width">wrap-width</a>" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3258489"></a><h2>Style Properties</h2>
<pre class="synopsis">
"<a href="GtkComboBox.html#GtkComboBox--appears-as-list">appears-as-list</a>" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3258523"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="GtkComboBox.html#GtkComboBox-changed">changed</a>" void user_function (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id3258570"></a><h2>Description</h2>
<p>
A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> is a widget that allows the user to choose from a
list of valid choices. The <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> displays the selected
choice. When activated, the <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> displays a popup
which allows the user to make a new choice. The style in which
the selected value is displayed, and the style of the popup is
determined by the current theme. It may be similar to a <a href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a>,
or similar to a Windows-style combo box.
</p>
<p>
Unlike its predecessors <a href="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a> and <a href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a>, the <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
uses the model-view pattern; the list of valid choices is specified in the
form of a tree model, and the display of the choices can be adapted to
the data in the model by using cell renderers, as you would in a tree view.
This is possible since <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> implements the <a href="GtkCellLayout.html" title="GtkCellLayout"><span class="type">GtkCellLayout</span></a> interface.
The tree model holding the valid choices is not restricted to a flat list,
it can be a real tree, and the popup will reflect the tree structure.
</p>
<p>
In addition to the model-view API, <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> offers a simple API which
is suitable for text-only combo boxes, and hides the complexity of managing
the data in a model. It consists of the functions <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>,
<a href="GtkComboBox.html#gtk-combo-box-append-text"><code class="function">gtk_combo_box_append_text()</code></a>, <a href="GtkComboBox.html#gtk-combo-box-insert-text"><code class="function">gtk_combo_box_insert_text()</code></a>,
<a href="GtkComboBox.html#gtk-combo-box-prepend-text"><code class="function">gtk_combo_box_prepend_text()</code></a>, <a href="GtkComboBox.html#gtk-combo-box-remove-text"><code class="function">gtk_combo_box_remove_text()</code></a> and
<a href="GtkComboBox.html#gtk-combo-box-get-active-text"><code class="function">gtk_combo_box_get_active_text()</code></a>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id3258754"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id3258764"></a><h3>
<a name="GtkComboBox-struct"></a>GtkComboBox</h3>
<a class="indexterm" name="id3258777"></a><pre class="programlisting">typedef struct _GtkComboBox GtkComboBox;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3258792"></a><h3>
<a name="gtk-combo-box-new"></a>gtk_combo_box_new ()</h3>
<a class="indexterm" name="id3258808"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_combo_box_new (void);</pre>
<p>
Creates a new empty <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A new <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr></tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3258867"></a><h3>
<a name="gtk-combo-box-new-with-model"></a>gtk_combo_box_new_with_model ()</h3>
<a class="indexterm" name="id3258883"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_combo_box_new_with_model (<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model);</pre>
<p>
Creates a new <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> with the model initialized to <em class="parameter"><code>model</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>model</code></em> :</span></td>
<td> A <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A new <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3258978"></a><h3>
<a name="gtk-combo-box-get-wrap-width"></a>gtk_combo_box_get_wrap_width ()</h3>
<a class="indexterm" name="id3258993"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_combo_box_get_wrap_width (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Returns the wrap width which is used to determine the number
of columns for the popup menu. If the wrap width is larger than
1, the combo box is in table mode.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the wrap width.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259068"></a><h3>
<a name="gtk-combo-box-set-wrap-width"></a>gtk_combo_box_set_wrap_width ()</h3>
<a class="indexterm" name="id3259084"></a><pre class="programlisting">void gtk_combo_box_set_wrap_width (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> width);</pre>
<p>
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
the preferred number of columns when you want the popup to be layed out
in a table.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>width</code></em> :</span></td>
<td> Preferred number of columns.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259182"></a><h3>
<a name="gtk-combo-box-get-row-span-column"></a>gtk_combo_box_get_row_span_column ()</h3>
<a class="indexterm" name="id3259198"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_combo_box_get_row_span_column
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Returns the column with row span information for <em class="parameter"><code>combo_box</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the row span column.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259278"></a><h3>
<a name="gtk-combo-box-set-row-span-column"></a>gtk_combo_box_set_row_span_column ()</h3>
<a class="indexterm" name="id3259294"></a><pre class="programlisting">void gtk_combo_box_set_row_span_column
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> row_span);</pre>
<p>
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>.
The row span column contains integers which indicate how many rows
an item should span.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>row_span</code></em> :</span></td>
<td> A column in the model passed during construction.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259392"></a><h3>
<a name="gtk-combo-box-get-column-span-column"></a>gtk_combo_box_get_column_span_column ()</h3>
<a class="indexterm" name="id3259409"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_combo_box_get_column_span_column
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Returns the column with column span information for <em class="parameter"><code>combo_box</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the column span column.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259489"></a><h3>
<a name="gtk-combo-box-set-column-span-column"></a>gtk_combo_box_set_column_span_column ()</h3>
<a class="indexterm" name="id3259505"></a><pre class="programlisting">void gtk_combo_box_set_column_span_column
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> column_span);</pre>
<p>
Sets the column with column span information for <em class="parameter"><code>combo_box</code></em> to be
<em class="parameter"><code>column_span</code></em>. The column span column contains integers which indicate
how many columns an item should span.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>column_span</code></em> :</span></td>
<td> A column in the model passed during construction.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259604"></a><h3>
<a name="gtk-combo-box-get-active"></a>gtk_combo_box_get_active ()</h3>
<a class="indexterm" name="id3259620"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> gtk_combo_box_get_active (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Returns the index of the currently active item, or -1 if there's no
active item. If the model is a non-flat treemodel, and the active item
is not an immediate child of the root of the tree, this function returns
<code class="literal">gtk_tree_path_get_indices (path)[0]</code>, where
<code class="literal">path</code> is the <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of the active item.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> An integer which is the index of the currently active item, or
-1 if there's no active item.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259718"></a><h3>
<a name="gtk-combo-box-set-active"></a>gtk_combo_box_set_active ()</h3>
<a class="indexterm" name="id3259733"></a><pre class="programlisting">void gtk_combo_box_set_active (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> index_);</pre>
<p>
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>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>index_</code></em> :</span></td>
<td> An index in the model passed during construction, or -1 to have
no active item.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259830"></a><h3>
<a name="gtk-combo-box-get-active-iter"></a>gtk_combo_box_get_active_iter ()</h3>
<a class="indexterm" name="id3259846"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_combo_box_get_active_iter (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to point to the current active item, if it exists.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em> :</span></td>
<td> The uninitialized <a href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a>, if <em class="parameter"><code>iter</code></em> was set
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3259970"></a><h3>
<a name="gtk-combo-box-set-active-iter"></a>gtk_combo_box_set_active_iter ()</h3>
<a class="indexterm" name="id3259986"></a><pre class="programlisting">void gtk_combo_box_set_active_iter (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a href="GtkTreeModel.html#GtkTreeIter">GtkTreeIter</a> *iter);</pre>
<p>
Sets the current active item to be the one referenced by <em class="parameter"><code>iter</code></em>.
<em class="parameter"><code>iter</code></em> must correspond to a path of depth one.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>iter</code></em> :</span></td>
<td> The <a href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3260090"></a><h3>
<a name="gtk-combo-box-get-model"></a>gtk_combo_box_get_model ()</h3>
<a class="indexterm" name="id3260105"></a><pre class="programlisting"><a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a>* gtk_combo_box_get_model (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Returns the <a 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>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> which was passed during construction.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3260201"></a><h3>
<a name="gtk-combo-box-set-model"></a>gtk_combo_box_set_model ()</h3>
<a class="indexterm" name="id3260216"></a><pre class="programlisting">void gtk_combo_box_set_model (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> *model);</pre>
<p>
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
model (if applicable). If model is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, then it will unset the model.
</p>
<p>
Note that this function does not clear the cell renderers, you have to
call <code class="function">gtk_combo_box_cell_layout_clear()</code> yourself if you need to set up
different cell renderers for the new model.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>model</code></em> :</span></td>
<td> A <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3260350"></a><h3>
<a name="gtk-combo-box-new-text"></a>gtk_combo_box_new_text ()</h3>
<a class="indexterm" name="id3260365"></a><pre class="programlisting"><a href="GtkWidget.html" title="GtkWidget">GtkWidget</a>* gtk_combo_box_new_text (void);</pre>
<p>
Convenience function which constructs a new text combo box, which is a
<a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> just displaying strings. If you use this function to create
a text combo box, you should only manipulate its data source with the
following convenience functions: <a href="GtkComboBox.html#gtk-combo-box-append-text"><code class="function">gtk_combo_box_append_text()</code></a>,
<a href="GtkComboBox.html#gtk-combo-box-insert-text"><code class="function">gtk_combo_box_insert_text()</code></a>, <a href="GtkComboBox.html#gtk-combo-box-prepend-text"><code class="function">gtk_combo_box_prepend_text()</code></a> and
<a href="GtkComboBox.html#gtk-combo-box-remove-text"><code class="function">gtk_combo_box_remove_text()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> A new text combo box.
</td>
</tr></tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3260465"></a><h3>
<a name="gtk-combo-box-append-text"></a>gtk_combo_box_append_text ()</h3>
<a class="indexterm" name="id3260481"></a><pre class="programlisting">void gtk_combo_box_append_text (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);</pre>
<p>
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
you can only use this function with combo boxes constructed with
<a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> constructed using <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>text</code></em> :</span></td>
<td> A string.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3260599"></a><h3>
<a name="gtk-combo-box-insert-text"></a>gtk_combo_box_insert_text ()</h3>
<a class="indexterm" name="id3260616"></a><pre class="programlisting">void gtk_combo_box_insert_text (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);</pre>
<p>
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>.
Note that you can only use this function with combo boxes constructed
with <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> constructed using <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em> :</span></td>
<td> An index to insert <em class="parameter"><code>text</code></em>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>text</code></em> :</span></td>
<td> A string.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3260767"></a><h3>
<a name="gtk-combo-box-prepend-text"></a>gtk_combo_box_prepend_text ()</h3>
<a class="indexterm" name="id3260784"></a><pre class="programlisting">void gtk_combo_box_prepend_text (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *text);</pre>
<p>
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
you can only use this function with combo boxes constructed with
<a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> constructed with <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>text</code></em> :</span></td>
<td> A string.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3260902"></a><h3>
<a name="gtk-combo-box-remove-text"></a>gtk_combo_box_remove_text ()</h3>
<a class="indexterm" name="id3260918"></a><pre class="programlisting">void gtk_combo_box_remove_text (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> position);</pre>
<p>
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
this function with combo boxes constructed with <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> constructed with <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em> :</span></td>
<td> Index of the item to remove.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261036"></a><h3>
<a name="gtk-combo-box-get-active-text"></a>gtk_combo_box_get_active_text ()</h3>
<a class="indexterm" name="id3261052"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gtk_combo_box_get_active_text (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Returns the currently active string in <em class="parameter"><code>combo_box</code></em> or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a> if none
is selected. Note that you can only use this function with combo
boxes constructed with <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a> and with
<a href="GtkComboBoxEntry.html" title="GtkComboBoxEntry"><span class="type">GtkComboBoxEntry</span></a>s.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> A <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> constructed with <a href="GtkComboBox.html#gtk-combo-box-new-text"><code class="function">gtk_combo_box_new_text()</code></a>.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a newly allocated string containing the currently active text.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261176"></a><h3>
<a name="gtk-combo-box-popup"></a>gtk_combo_box_popup ()</h3>
<a class="indexterm" name="id3261191"></a><pre class="programlisting">void gtk_combo_box_popup (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Pops up the menu or dropdown list of <em class="parameter"><code>combo_box</code></em>.
</p>
<p>
This function is mostly intended for use by accessibility technologies;
applications should have little use for it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr></tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261264"></a><h3>
<a name="gtk-combo-box-popdown"></a>gtk_combo_box_popdown ()</h3>
<a class="indexterm" name="id3261280"></a><pre class="programlisting">void gtk_combo_box_popdown (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Hides the menu or dropdown list of <em class="parameter"><code>combo_box</code></em>.
</p>
<p>
This function is mostly intended for use by accessibility technologies;
applications should have little use for it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr></tbody>
</table></div>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261353"></a><h3>
<a name="gtk-combo-box-get-popup-accessible"></a>gtk_combo_box_get_popup_accessible ()</h3>
<a class="indexterm" name="id3261370"></a><pre class="programlisting"><a
href="../atk/AtkObject.html"
>AtkObject</a>* gtk_combo_box_get_popup_accessible
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Gets the accessible object corresponding to the combo box's popup.
</p>
<p>
This function is mostly intended for use by accessibility technologies;
applications should have little use for it.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the accessible object corresponding to the combo box's popup.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261450"></a><h3>
<a name="gtk-combo-box-get-row-separator-func"></a>gtk_combo_box_get_row_separator_func ()</h3>
<a class="indexterm" name="id3261465"></a><pre class="programlisting"><a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> gtk_combo_box_get_row_separator_func
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Returns the current row separator function.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the current row separator function.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261540"></a><h3>
<a name="gtk-combo-box-set-row-separator-func"></a>gtk_combo_box_set_row_separator_func ()</h3>
<a class="indexterm" name="id3261557"></a><pre class="programlisting">void gtk_combo_box_set_row_separator_func
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc">GtkTreeViewRowSeparatorFunc</a> func,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> data,
<a href="gtk-Types.html#GtkDestroyNotify">GtkDestroyNotify</a> destroy);</pre>
<p>
Sets the row separator function, which is used to determine
whether a row should be drawn as a separator. If the row separator
function is <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>, no separators are drawn. This is the default value.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>func</code></em> :</span></td>
<td> a <a href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc"><span class="type">GtkTreeViewRowSeparatorFunc</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
<td> user data to pass to <em class="parameter"><code>func</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>destroy</code></em> :</span></td>
<td> destroy notifier for <em class="parameter"><code>data</code></em>, or <a
href="../glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261739"></a><h3>
<a name="gtk-combo-box-set-add-tearoffs"></a>gtk_combo_box_set_add_tearoffs ()</h3>
<a class="indexterm" name="id3261755"></a><pre class="programlisting">void gtk_combo_box_set_add_tearoffs (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> add_tearoffs);</pre>
<p>
Sets whether the popup menu should have a tearoff
menu item.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>add_tearoffs</code></em> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> to add tearoff menu items
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261850"></a><h3>
<a name="gtk-combo-box-get-add-tearoffs"></a>gtk_combo_box_get_add_tearoffs ()</h3>
<a class="indexterm" name="id3261864"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_combo_box_get_add_tearoffs (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Gets the current value of the :add-tearoffs property.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the current value of the :add-tearoffs property.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3261933"></a><h3>
<a name="gtk-combo-box-set-title"></a>gtk_combo_box_set_title ()</h3>
<a class="indexterm" name="id3261949"></a><pre class="programlisting">void gtk_combo_box_set_title (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box,
const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a> *title);</pre>
<p>
Sets the menu's title in tearoff mode.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>title</code></em> :</span></td>
<td> a title for the menu in tearoff mode.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262033"></a><h3>
<a name="gtk-combo-box-get-title"></a>gtk_combo_box_get_title ()</h3>
<a class="indexterm" name="id3262048"></a><pre class="programlisting">const <a
href="../glib/glib-Basic-Types.html#gchar"
>gchar</a>* gtk_combo_box_get_title (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo_box);</pre>
<p>
Gets the current title of the menu in tearoff mode. See
<a href="GtkComboBox.html#gtk-combo-box-set-add-tearoffs"><code class="function">gtk_combo_box_set_add_tearoffs()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo_box</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the menu's title in tearoff mode. This is an internal copy of the
string which must not be freed.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262136"></a><h3>
<a name="gtk-combo-box-set-focus-on-click"></a>gtk_combo_box_set_focus_on_click ()</h3>
<a class="indexterm" name="id3262152"></a><pre class="programlisting">void gtk_combo_box_set_focus_on_click
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo,
<a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> focus_on_click);</pre>
<p>
Sets whether the combo box will grab focus when it is clicked with
the mouse. Making mouse clicks not grab focus is useful in places
like toolbars where you don't want the keyboard focus removed from
the main area of the application.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>focus_on_click</code></em> :</span></td>
<td> whether the combo box grabs focus when clicked
with the mouse
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262241"></a><h3>
<a name="gtk-combo-box-get-focus-on-click"></a>gtk_combo_box_get_focus_on_click ()</h3>
<a class="indexterm" name="id3262257"></a><pre class="programlisting"><a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gtk_combo_box_get_focus_on_click
(<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *combo);</pre>
<p>
Returns whether the combo box grabs focus when it is clicked
with the mouse. See <a href="GtkComboBox.html#gtk-combo-box-set-focus-on-click"><code class="function">gtk_combo_box_set_focus_on_click()</code></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>combo</code></em> :</span></td>
<td> a <a href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a
href="../glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if the combo box grabs focus when it is
clicked with the mouse.
</td>
</tr>
</tbody>
</table></div>
<p>Since 2.6
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3262354"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3262365"></a><h3>
<a name="GtkComboBox--active"></a>The "<code class="literal">active</code>" property</h3>
<a class="indexterm" name="id3262381"></a><pre class="programlisting"> "active" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>
The item which is currently active. If the model is a non-flat treemodel,
and the active item is not an immediate child of the root of the tree,
this property has the value <code class="literal">gtk_tree_path_get_indices (path)[0]</code>,
where <code class="literal">path</code> is the <a href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of the active item.</p>
<p>
</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262443"></a><h3>
<a name="GtkComboBox--add-tearoffs"></a>The "<code class="literal">add-tearoffs</code>" property</h3>
<a class="indexterm" name="id3262460"></a><pre class="programlisting"> "add-tearoffs" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
The add-tearoffs property controls whether generated menus
have tearoff menu items.
</p>
<p>
Note that this only affects menu style combo boxes.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262500"></a><h3>
<a name="GtkComboBox--column-span-column"></a>The "<code class="literal">column-span-column</code>" property</h3>
<a class="indexterm" name="id3262517"></a><pre class="programlisting"> "column-span-column" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>
If this is set to a non-negative value, it must be the index of a column
of type <a
href="../gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"
><code class="literal">G_TYPE_INT</code></a> in the model.
</p>
<p>
The values of that column are used to determine how many columns a value
in the list will span.</p>
<p>
</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262572"></a><h3>
<a name="GtkComboBox--focus-on-click"></a>The "<code class="literal">focus-on-click</code>" property</h3>
<a class="indexterm" name="id3262589"></a><pre class="programlisting"> "focus-on-click" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>Whether the combo box grabs focus when it is clicked with the mouse.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262616"></a><h3>
<a name="GtkComboBox--has-frame"></a>The "<code class="literal">has-frame</code>" property</h3>
<a class="indexterm" name="id3262632"></a><pre class="programlisting"> "has-frame" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read / Write</pre>
<p>
The has-frame property controls whether a frame
is drawn around the entry.</p>
<p>
</p>
<p>Default value: TRUE</p>
<p>Since 2.6
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262668"></a><h3>
<a name="GtkComboBox--model"></a>The "<code class="literal">model</code>" property</h3>
<a class="indexterm" name="id3262684"></a><pre class="programlisting"> "model" <a href="GtkTreeModel.html" title="GtkTreeModel">GtkTreeModel</a> : Read / Write</pre>
<p>
The model from which the combo box takes the values shown
in the list.</p>
<p>
</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262717"></a><h3>
<a name="GtkComboBox--popup-shown"></a>The "<code class="literal">popup-shown</code>" property</h3>
<a class="indexterm" name="id3262733"></a><pre class="programlisting"> "popup-shown" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read</pre>
<p>
Whether the combo boxes dropdown is popped up.
Note that this property is mainly useful, because
it allows you to connect to notify::popup-shown.</p>
<p>
</p>
<p>Default value: FALSE</p>
<p>Since 2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262771"></a><h3>
<a name="GtkComboBox--row-span-column"></a>The "<code class="literal">row-span-column</code>" property</h3>
<a class="indexterm" name="id3262788"></a><pre class="programlisting"> "row-span-column" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>
If this is set to a non-negative value, it must be the index of a column
of type <a
href="../gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"
><code class="literal">G_TYPE_INT</code></a> in the model.
</p>
<p>
The values of that column are used to determine how many rows a value
in the list will span. Therefore, the values in the model column pointed
to by this property must be greater than zero and not larger than wrap-width.</p>
<p>
</p>
<p>Allowed values: >= -1</p>
<p>Default value: -1</p>
<p>Since 2.4
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262845"></a><h3>
<a name="GtkComboBox--tearoff-title"></a>The "<code class="literal">tearoff-title</code>" property</h3>
<a class="indexterm" name="id3262862"></a><pre class="programlisting"> "tearoff-title" <a
href="../gobject/gobject-Standard-Parameter-and-Value-Types.html#gchararray"
>gchararray</a> : Read / Write</pre>
<p>
A title that may be displayed by the window manager
when the popup is torn-off.</p>
<p>
</p>
<p>Default value: ""</p>
<p>Since 2.10
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id3262898"></a><h3>
<a name="GtkComboBox--wrap-width"></a>The "<code class="literal">wrap-width</code>" property</h3>
<a class="indexterm" name="id3262915"></a><pre class="programlisting"> "wrap-width" <a
href="../glib/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<p>
If wrap-width is set to a positive value, the list will be
displayed in multiple columns, the number of columns is
determined by wrap-width.</p>
<p>
</p>
<p>Allowed values: >= 0</p>
<p>Default value: 0</p>
<p>Since 2.4
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3262957"></a><h2>Style Property Details</h2>
<div class="refsect2" lang="en">
<a name="id3262968"></a><h3>
<a name="GtkComboBox--appears-as-list"></a>The "<code class="literal">appears-as-list</code>" style property</h3>
<a class="indexterm" name="id3262985"></a><pre class="programlisting"> "appears-as-list" <a
href="../glib/glib-Basic-Types.html#gboolean"
>gboolean</a> : Read</pre>
<p>Whether dropdowns should look like lists rather than menus.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3263014"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id3263024"></a><h3>
<a name="GtkComboBox-changed"></a>The "changed" signal</h3>
<a class="indexterm" name="id3263034"></a><pre class="programlisting">void user_function (<a href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> *widget,
<a
href="../glib/glib-Basic-Types.html#gpointer"
>gpointer</a> user_data) : Run last</pre>
<p>
The changed signal is emitted when the active
item is changed. The can be due to the user selecting
a different item from the list, or due to a
call to <a href="GtkComboBox.html#gtk-combo-box-set-active-iter"><code class="function">gtk_combo_box_set_active_iter()</code></a>.
It will also be emitted while typing into a GtkComboBoxEntry,
as well as when selecting an item from the GtkComboBoxEntry's list.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td> the object which received the signal
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p>Since 2.4
</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id3263128"></a><h2>See Also</h2>
<p>
<a href="GtkComboBoxEntry.html" title="GtkComboBoxEntry"><span class="type">GtkComboBoxEntry</span></a>, <a href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, <a href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a>
</p>
</div>
</div>
</body>
</html>