diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2018-08-20 21:12:06 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2018-08-20 21:12:06 -0400 |
commit | 63e87c2d0c9d263f14c77b68f85c67d46ece82a9 (patch) | |
tree | 6260365cbf7d24f37d27669e8538227fcb72e243 /gtk+-mingw/share/gtk-doc/html/gtk3/GtkComboBox.html | |
parent | a4460f6d9453bbd7e584937686449cef3e19f052 (diff) |
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gtk3/GtkComboBox.html')
-rw-r--r-- | gtk+-mingw/share/gtk-doc/html/gtk3/GtkComboBox.html | 1755 |
1 files changed, 0 insertions, 1755 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkComboBox.html b/gtk+-mingw/share/gtk-doc/html/gtk3/GtkComboBox.html deleted file mode 100644 index e3ca067..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkComboBox.html +++ /dev/null @@ -1,1755 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GtkComboBox</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GTK+ 3 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="GtkComboBoxText.html" title="GtkComboBoxText"> -<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</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+ 3 Reference Manual</th> -<td><a accesskey="n" href="GtkComboBoxText.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GtkComboBox.synopsis" class="shortcut">Top</a> - | - <a href="#GtkComboBox.description" class="shortcut">Description</a> - | - <a href="#GtkComboBox.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GtkComboBox.implemented-interfaces" class="shortcut">Implemented Interfaces</a> - | - <a href="#GtkComboBox.properties" class="shortcut">Properties</a> - | - <a href="#GtkComboBox.style-properties" class="shortcut">Style Properties</a> - | - <a href="#GtkComboBox.signals" class="shortcut">Signals</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GtkComboBox"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GtkComboBox.top_of_page"></a>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"> -<a name="GtkComboBox.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <gtk/gtk.h> - -struct <a class="link" href="GtkComboBox.html#GtkComboBox-struct" title="struct GtkComboBox">GtkComboBox</a>; -<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>); -<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>); -<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>); -<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> - (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>); -<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-area" title="gtk_combo_box_new_with_area ()">gtk_combo_box_new_with_area</a> (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>); -<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-area-and-entry" title="gtk_combo_box_new_with_area_and_entry ()">gtk_combo_box_new_with_area_and_entry</a> - (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-wrap-width" title="gtk_combo_box_get_wrap_width ()">gtk_combo_box_get_wrap_width</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-row-span-column" title="gtk_combo_box_get_row_span_column ()">gtk_combo_box_get_row_span_column</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_span</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-column-span-column" title="gtk_combo_box_get_column_span_column ()">gtk_combo_box_get_column_span_column</a> - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<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> - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_span</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active" title="gtk_combo_box_get_active ()">gtk_combo_box_get_active</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active-iter" title="gtk_combo_box_get_active_iter ()">gtk_combo_box_get_active_iter</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>); -<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>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-id-column" title="gtk_combo_box_get_id_column ()">gtk_combo_box_get_id_column</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-id-column" title="gtk_combo_box_set_id_column ()">gtk_combo_box_set_id_column</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id_column</code></em>); -const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-get-active-id" title="gtk_combo_box_get_active_id ()">gtk_combo_box_get_active_id</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-active-id" title="gtk_combo_box_set_active_id ()">gtk_combo_box_set_active_id</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *active_id</code></em>); -<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>); -<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>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-popup-for-device" title="gtk_combo_box_popup_for_device ()">gtk_combo_box_popup_for_device</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a href="http://developer.gnome.org/gdk/GdkDevice.html"><span class="type">GdkDevice</span></a> *device</code></em>); -<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>); -<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>); -<span class="returnvalue">AtkObject</span> * <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>); -<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> - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<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> - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a> func</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>); -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_tearoffs</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-add-tearoffs" title="gtk_combo_box_get_add_tearoffs ()">gtk_combo_box_get_add_tearoffs</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<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>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>); -const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkComboBox.html#gtk-combo-box-get-title" title="gtk_combo_box_get_title ()">gtk_combo_box_get_title</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_click</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-focus-on-click" title="gtk_combo_box_get_focus_on_click ()">gtk_combo_box_get_focus_on_click</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>); -<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> - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>); -<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> - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-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>); -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> text_column</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-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>); -<span class="returnvalue">void</span> <a class="link" href="GtkComboBox.html#gtk-combo-box-set-popup-fixed-width" title="gtk_combo_box_set_popup_fixed_width ()">gtk_combo_box_set_popup_fixed_width</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> fixed</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkComboBox.html#gtk-combo-box-get-popup-fixed-width" title="gtk_combo_box_get_popup_fixed_width ()">gtk_combo_box_get_popup_fixed_width</a> (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GtkComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> - +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> - +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> - +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> - +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a> - +----GtkComboBox - +----<a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton">GtkAppChooserButton</a> - +----<a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText">GtkComboBoxText</a> -</pre> -</div> -<div class="refsect1"> -<a name="GtkComboBox.implemented-interfaces"></a><h2>Implemented Interfaces</h2> -<p> -GtkComboBox implements - 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> -</div> -<div class="refsect1"> -<a name="GtkComboBox.properties"></a><h2>Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkComboBox.html#GtkComboBox--active" title='The "active" property'>active</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--active-id" title='The "active-id" property'>active-id</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--add-tearoffs" title='The "add-tearoffs" property'>add-tearoffs</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write - "<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 - "<a class="link" href="GtkComboBox.html#GtkComboBox--cell-area" title='The "cell-area" property'>cell-area</a>" <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a>* : Read / Write / Construct Only - "<a class="link" href="GtkComboBox.html#GtkComboBox--column-span-column" title='The "column-span-column" property'>column-span-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--entry-text-column" title='The "entry-text-column" property'>entry-text-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--focus-on-click" title='The "focus-on-click" property'>focus-on-click</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title='The "has-entry" property'>has-entry</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only - "<a class="link" href="GtkComboBox.html#GtkComboBox--has-frame" title='The "has-frame" property'>has-frame</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--id-column" title='The "id-column" property'>id-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<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 - "<a class="link" href="GtkComboBox.html#GtkComboBox--popup-fixed-width" title='The "popup-fixed-width" property'>popup-fixed-width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--popup-shown" title='The "popup-shown" property'>popup-shown</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read - "<a class="link" href="GtkComboBox.html#GtkComboBox--row-span-column" title='The "row-span-column" property'>row-span-column</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--tearoff-title" title='The "tearoff-title" property'>tearoff-title</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write - "<a class="link" href="GtkComboBox.html#GtkComboBox--wrap-width" title='The "wrap-width" property'>wrap-width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write -</pre> -</div> -<div class="refsect1"> -<a name="GtkComboBox.style-properties"></a><h2>Style Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkComboBox.html#GtkComboBox--s-appears-as-list" title='The "appears-as-list" style property'>appears-as-list</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read - "<a class="link" href="GtkComboBox.html#GtkComboBox--s-arrow-scaling" title='The "arrow-scaling" style property'>arrow-scaling</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read - "<a class="link" href="GtkComboBox.html#GtkComboBox--s-arrow-size" title='The "arrow-size" style property'>arrow-size</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read - "<a class="link" href="GtkComboBox.html#GtkComboBox--s-shadow-type" title='The "shadow-type" style property'>shadow-type</a>" <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read -</pre> -</div> -<div class="refsect1"> -<a name="GtkComboBox.signals"></a><h2>Signals</h2> -<pre class="synopsis"> - "<a class="link" href="GtkComboBox.html#GtkComboBox-changed" title='The "changed" signal'>changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> - "<a class="link" href="GtkComboBox.html#GtkComboBox-format-entry-text" title='The "format-entry-text" signal'>format-entry-text</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a> - "<a class="link" href="GtkComboBox.html#GtkComboBox-move-active" title='The "move-active" signal'>move-active</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> - "<a class="link" href="GtkComboBox.html#GtkComboBox-popdown" title='The "popdown" signal'>popdown</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> - "<a class="link" href="GtkComboBox.html#GtkComboBox-popup" title='The "popup" signal'>popup</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a> -</pre> -</div> -<div class="refsect1"> -<a name="GtkComboBox.description"></a><h2>Description</h2> -<p> -A GtkComboBox is a widget that allows the user to choose from a list of -valid choices. The GtkComboBox displays the selected choice. When -activated, the GtkComboBox 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 Windows-style combo box. -</p> -<p> -The GtkComboBox 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 GtkComboBox implements the -<a class="link" 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> -To allow the user to enter values not in the model, the 'has-entry' -property allows the GtkComboBox to contain a <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>. This entry -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. -</p> -<p> -For a simple list of textual choices, the model-view API of GtkComboBox -can be a bit overwhelming. In this case, <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a> offers a -simple alternative. Both GtkComboBox and <a class="link" href="GtkComboBoxText.html" title="GtkComboBoxText"><span class="type">GtkComboBoxText</span></a> can contain -an entry. -</p> -</div> -<div class="refsect1"> -<a name="GtkComboBox.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GtkComboBox-struct"></a><h3>struct GtkComboBox</h3> -<pre class="programlisting">struct GtkComboBox;</pre> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-new"></a><h3>gtk_combo_box_new ()</h3> -<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> -<p> -Creates a new empty <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-new-with-entry"></a><h3>gtk_combo_box_new_with_entry ()</h3> -<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> -<p> -Creates a new empty <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> with an entry. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td> -</tr></tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-new-with-model"></a><h3>gtk_combo_box_new_with_model ()</h3> -<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> -<p> -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>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td> -<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-new-with-model-and-entry"></a><h3>gtk_combo_box_new_with_model_and_entry ()</h3> -<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 - (<em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</pre> -<p> -Creates a new empty <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> with an entry -and with the model initialized to <em class="parameter"><code>model</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td> -<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-new-with-area"></a><h3>gtk_combo_box_new_with_area ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_combo_box_new_with_area (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>);</pre> -<p> -Creates a new empty <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> using <em class="parameter"><code>area</code></em> to layout cells. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td> -<td>the <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> to use to layout cell renderers</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-new-with-area-and-entry"></a><h3>gtk_combo_box_new_with_area_and_entry ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_combo_box_new_with_area_and_entry - (<em class="parameter"><code><a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> *area</code></em>);</pre> -<p> -Creates a new empty <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> with an entry. -</p> -<p> -The new combo box will use <em class="parameter"><code>area</code></em> to layout cells. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td> -<td>the <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> to use to layout cell renderers</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A new <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-wrap-width"></a><h3>gtk_combo_box_get_wrap_width ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_wrap_width (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the wrap width.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-wrap-width"></a><h3>gtk_combo_box_set_wrap_width ()</h3> -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>width</code></em> :</span></p></td> -<td>Preferred number of columns</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-row-span-column"></a><h3>gtk_combo_box_get_row_span_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_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> -<p> -Returns the column with row span information for <em class="parameter"><code>combo_box</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the row span column.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-row-span-column"></a><h3>gtk_combo_box_set_row_span_column ()</h3> -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_span</code></em>);</pre> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>row_span</code></em> :</span></p></td> -<td>A column in the model passed during construction.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-column-span-column"></a><h3>gtk_combo_box_get_column_span_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_column_span_column - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<p> -Returns the column with column span information for <em class="parameter"><code>combo_box</code></em>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the column span column.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-column-span-column"></a><h3>gtk_combo_box_set_column_span_column ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_column_span_column - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_span</code></em>);</pre> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>column_span</code></em> :</span></p></td> -<td>A column in the model passed during construction</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-active"></a><h3>gtk_combo_box_get_active ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_active (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<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 class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of the active item. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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 class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-active"></a><h3>gtk_combo_box_set_active ()</h3> -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>);</pre> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>index_</code></em> :</span></p></td> -<td>An index in the model passed during construction, or -1 to have -no active item</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-active-iter"></a><h3>gtk_combo_box_get_active_iter ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_active_iter (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre> -<p> -Sets <em class="parameter"><code>iter</code></em> to point to the current active item, if it exists. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td> -<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> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/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 class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-active-iter"></a><h3>gtk_combo_box_set_active_iter ()</h3> -<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>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre> -<p> -Sets the current active item to be the one referenced by <em class="parameter"><code>iter</code></em>, or -unsets the active item if <em class="parameter"><code>iter</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td> -<td>The <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-id-column"></a><h3>gtk_combo_box_get_id_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_id_column (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<p> -Returns the column which <em class="parameter"><code>combo_box</code></em> is using to get string IDs -for values from. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A column in the data source model of <em class="parameter"><code>combo_box</code></em>.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-id-column"></a><h3>gtk_combo_box_set_id_column ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_id_column (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id_column</code></em>);</pre> -<p> -Sets the model column which <em class="parameter"><code>combo_box</code></em> should use to get string IDs -for values from. The column <em class="parameter"><code>id_column</code></em> in the model of <em class="parameter"><code>combo_box</code></em> -must be of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>id_column</code></em> :</span></p></td> -<td>A column in <em class="parameter"><code>model</code></em> to get string IDs for values from</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-active-id"></a><h3>gtk_combo_box_get_active_id ()</h3> -<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_combo_box_get_active_id (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<p> -Returns the ID of the active row of <em class="parameter"><code>combo_box</code></em>. This value is taken -from the active row and the column specified by the <a class="link" href="GtkComboBox.html#GtkComboBox--id-column" title='The "id-column" property'><span class="type">"id-column"</span></a> -property of <em class="parameter"><code>combo_box</code></em> (see <a class="link" href="GtkComboBox.html#gtk-combo-box-set-id-column" title="gtk_combo_box_set_id_column ()"><code class="function">gtk_combo_box_set_id_column()</code></a>). -</p> -<p> -The returned value is an interned string which means that you can -compare the pointer by value to other interned strings and that you -must not free it. -</p> -<p> -If the <a class="link" href="GtkComboBox.html#GtkComboBox--id-column" title='The "id-column" property'><span class="type">"id-column"</span></a> property of <em class="parameter"><code>combo_box</code></em> is not set, or if -no row is active, or if the active row has a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> ID value, then <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -is returned. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the ID of the active row, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-active-id"></a><h3>gtk_combo_box_set_active_id ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_set_active_id (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *active_id</code></em>);</pre> -<p> -Changes the active row of <em class="parameter"><code>combo_box</code></em> to the one that has an ID equal to -<em class="parameter"><code>active_id</code></em>, or unsets the active row if <em class="parameter"><code>active_id</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Rows having -a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> ID string cannot be made active by this function. -</p> -<p> -If the <a class="link" href="GtkComboBox.html#GtkComboBox--id-column" title='The "id-column" property'><span class="type">"id-column"</span></a> property of <em class="parameter"><code>combo_box</code></em> is unset or if no -row has the given ID then the function does nothing and returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>active_id</code></em> :</span></p></td> -<td>the ID of the row to select, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a row with a matching ID was found. If a <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> -<em class="parameter"><code>active_id</code></em> was given to unset the active row, the function -always returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-model"></a><h3>gtk_combo_box_get_model ()</h3> -<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> -<p> -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>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> which was passed -during construction. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-model"></a><h3>gtk_combo_box_set_model ()</h3> -<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>, - <em class="parameter"><code><a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> *model</code></em>);</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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then it will unset the model. -</p> -<p> -Note that this function does not clear the cell renderers, you have to -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 -cell renderers for the new model. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>model</code></em> :</span></p></td> -<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> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-popup-for-device"></a><h3>gtk_combo_box_popup_for_device ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_popup_for_device (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a href="http://developer.gnome.org/gdk/GdkDevice.html"><span class="type">GdkDevice</span></a> *device</code></em>);</pre> -<p> -Pops up the menu or dropdown list of <em class="parameter"><code>combo_box</code></em>, the popup window -will be grabbed so only <em class="parameter"><code>device</code></em> and its associated pointer/keyboard -are the only <a href="http://developer.gnome.org/gdk/GdkDevice.html"><span class="type">GdkDevice</span></a>s able to send events to it. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td> -<td>a <a href="http://developer.gnome.org/gdk/GdkDevice.html"><span class="type">GdkDevice</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-popup"></a><h3>gtk_combo_box_popup ()</h3> -<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> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-popdown"></a><h3>gtk_combo_box_popdown ()</h3> -<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> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-popup-accessible"></a><h3>gtk_combo_box_get_popup_accessible ()</h3> -<pre class="programlisting"><span class="returnvalue">AtkObject</span> * 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> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the accessible object corresponding -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> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-row-separator-func"></a><h3>gtk_combo_box_get_row_separator_func ()</h3> -<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 - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<p> -Returns the current row separator function. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the current row separator function.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-row-separator-func"></a><h3>gtk_combo_box_set_row_separator_func ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_row_separator_func - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a> func</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre> -<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="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, no separators are drawn. This is the default value. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td> -<td>a <a class="link" href="GtkTreeView.html#GtkTreeViewRowSeparatorFunc" title="GtkTreeViewRowSeparatorFunc ()"><span class="type">GtkTreeViewRowSeparatorFunc</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td> -<td>user data to pass to <em class="parameter"><code>func</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td> -<td>destroy notifier for <em class="parameter"><code>data</code></em>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-add-tearoffs"></a><h3>gtk_combo_box_set_add_tearoffs ()</h3> -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_tearoffs</code></em>);</pre> -<p> -Sets whether the popup menu should have a tearoff -menu item. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>add_tearoffs</code></em> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to add tearoff menu items</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-add-tearoffs"></a><h3>gtk_combo_box_get_add_tearoffs ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_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> -<p> -Gets the current value of the :add-tearoffs property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the current value of the :add-tearoffs property.</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-title"></a><h3>gtk_combo_box_set_title ()</h3> -<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>, - <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre> -<p> -Sets the menu's title in tearoff mode. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td> -<td>a title for the menu in tearoff mode</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-title"></a><h3>gtk_combo_box_get_title ()</h3> -<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_combo_box_get_title (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<p> -Gets the current title of the menu in tearoff mode. See -<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>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></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 class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-focus-on-click"></a><h3>gtk_combo_box_set_focus_on_click ()</h3> -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_click</code></em>);</pre> -<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> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>focus_on_click</code></em> :</span></p></td> -<td>whether the combo box grabs focus when clicked -with the mouse</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-focus-on-click"></a><h3>gtk_combo_box_get_focus_on_click ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_focus_on_click (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>);</pre> -<p> -Returns whether the combo box grabs focus when it is clicked -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>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/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 class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-button-sensitivity"></a><h3>gtk_combo_box_set_button_sensitivity ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_button_sensitivity - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);</pre> -<p> -Sets whether the dropdown button of the combo box should be -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>) -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>). -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></p></td> -<td>specify the sensitivity of the dropdown button</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.14</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-button-sensitivity"></a><h3>gtk_combo_box_get_button_sensitivity ()</h3> -<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 - (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<p> -Returns whether the combo box sets the dropdown button -sensitive or not when there are no items in the model. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a class="link" href="GtkRange.html#GTK-SENSITIVITY-ON:CAPS"><code class="literal">GTK_SENSITIVITY_ON</code></a> if the dropdown button -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> -if the button is always insensitive or -<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 -the model has one item to be selected.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.14</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-has-entry"></a><h3>gtk_combo_box_get_has_entry ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_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> -<p> -Returns whether the combo box has an entry. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>whether there is an entry in <em class="parameter"><code>combo_box</code></em>.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-entry-text-column"></a><h3>gtk_combo_box_set_entry_text_column ()</h3> -<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>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> text_column</code></em>);</pre> -<p> -Sets the model column which <em class="parameter"><code>combo_box</code></em> should use to get strings from -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> -must be of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>. -</p> -<p> -This is only relevant if <em class="parameter"><code>combo_box</code></em> has been created with -<a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title='The "has-entry" property'><span class="type">"has-entry"</span></a> as <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>text_column</code></em> :</span></p></td> -<td>A column in <em class="parameter"><code>model</code></em> to get the strings from for -the internal entry</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-entry-text-column"></a><h3>gtk_combo_box_get_entry_text_column ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_combo_box_get_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> -<p> -Returns the column which <em class="parameter"><code>combo_box</code></em> is using to get the strings -from to display in the internal entry. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>A <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>A column in the data source model of <em class="parameter"><code>combo_box</code></em>.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-set-popup-fixed-width"></a><h3>gtk_combo_box_set_popup_fixed_width ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_combo_box_set_popup_fixed_width (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> fixed</code></em>);</pre> -<p> -Specifies whether the popup's width should be a fixed width -matching the allocated width of the combo box. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>fixed</code></em> :</span></p></td> -<td>whether to use a fixed popup width</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-combo-box-get-popup-fixed-width"></a><h3>gtk_combo_box_get_popup_fixed_width ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_combo_box_get_popup_fixed_width (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre> -<p> -Gets whether the popup uses a fixed width matching -the allocated width of the combo box. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo_box</code></em> :</span></p></td> -<td>a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td> -<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the popup uses a fixed width</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkComboBox.property-details"></a><h2>Property Details</h2> -<div class="refsect2"> -<a name="GtkComboBox--active"></a><h3>The <code class="literal">"active"</code> property</h3> -<pre class="programlisting"> "active" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<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 class="link" href="GtkTreeModel.html#GtkTreePath"><span class="type">GtkTreePath</span></a> of the active item. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--active-id"></a><h3>The <code class="literal">"active-id"</code> property</h3> -<pre class="programlisting"> "active-id" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre> -<p> -The value of the ID column of the active row. -</p> -<p>Default value: NULL</p> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--add-tearoffs"></a><h3>The <code class="literal">"add-tearoffs"</code> property</h3> -<pre class="programlisting"> "add-tearoffs" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></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>Default value: FALSE</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--button-sensitivity"></a><h3>The <code class="literal">"button-sensitivity"</code> property</h3> -<pre class="programlisting"> "button-sensitivity" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> : Read / Write</pre> -<p> -Whether the dropdown button is sensitive when -the model is empty. -</p> -<p>Default value: GTK_SENSITIVITY_AUTO</p> -<p class="since">Since 2.14</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--cell-area"></a><h3>The <code class="literal">"cell-area"</code> property</h3> -<pre class="programlisting"> "cell-area" <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a>* : Read / Write / Construct Only</pre> -<p> -The <a class="link" href="GtkCellArea.html" title="GtkCellArea"><span class="type">GtkCellArea</span></a> used to layout cell renderers for this combo box. -</p> -<p> -If no area is specified when creating the combo box with <a class="link" href="GtkComboBox.html#gtk-combo-box-new-with-area" title="gtk_combo_box_new_with_area ()"><code class="function">gtk_combo_box_new_with_area()</code></a> -a horizontally oriented <a class="link" href="GtkCellAreaBox.html" title="GtkCellAreaBox"><span class="type">GtkCellAreaBox</span></a> will be used. -</p> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--column-span-column"></a><h3>The <code class="literal">"column-span-column"</code> property</h3> -<pre class="programlisting"> "column-span-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -If this is set to a non-negative value, it must be the index of a column -of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> in the model. -</p> -<p> -The values of that column are used to determine how many columns a value -in the list will span. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--entry-text-column"></a><h3>The <code class="literal">"entry-text-column"</code> property</h3> -<pre class="programlisting"> "entry-text-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The column in the combo box's model to associate with strings from the entry -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> = <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--focus-on-click"></a><h3>The <code class="literal">"focus-on-click"</code> property</h3> -<pre class="programlisting"> "focus-on-click" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre> -<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"> -<a name="GtkComboBox--has-entry"></a><h3>The <code class="literal">"has-entry"</code> property</h3> -<pre class="programlisting"> "has-entry" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre> -<p> -Whether the combo box has an entry. -</p> -<p>Default value: FALSE</p> -<p class="since">Since 2.24</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--has-frame"></a><h3>The <code class="literal">"has-frame"</code> property</h3> -<pre class="programlisting"> "has-frame" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre> -<p> -The has-frame property controls whether a frame -is drawn around the entry. -</p> -<p>Default value: TRUE</p> -<p class="since">Since 2.6</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--id-column"></a><h3>The <code class="literal">"id-column"</code> property</h3> -<pre class="programlisting"> "id-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -The column in the combo box's model that provides string -IDs for the values in the model, if != -1. -</p> -<p>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--model"></a><h3>The <code class="literal">"model"</code> property</h3> -<pre class="programlisting"> "model" <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>* : Read / Write</pre> -<p> -The model from which the combo box takes the values shown -in the list. -</p> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--popup-fixed-width"></a><h3>The <code class="literal">"popup-fixed-width"</code> property</h3> -<pre class="programlisting"> "popup-fixed-width" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre> -<p> -Whether the popup's width should be a fixed width matching the -allocated width of the combo box. -</p> -<p>Default value: TRUE</p> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--popup-shown"></a><h3>The <code class="literal">"popup-shown"</code> property</h3> -<pre class="programlisting"> "popup-shown" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></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>Default value: FALSE</p> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--row-span-column"></a><h3>The <code class="literal">"row-span-column"</code> property</h3> -<pre class="programlisting"> "row-span-column" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<p> -If this is set to a non-negative value, it must be the index of a column -of type <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> in the model. -</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>Allowed values: >= G_MAXULONG</p> -<p>Default value: -1</p> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--tearoff-title"></a><h3>The <code class="literal">"tearoff-title"</code> property</h3> -<pre class="programlisting"> "tearoff-title" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre> -<p> -A title that may be displayed by the window manager -when the popup is torn-off. -</p> -<p>Default value: NULL</p> -<p class="since">Since 2.10</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--wrap-width"></a><h3>The <code class="literal">"wrap-width"</code> property</h3> -<pre class="programlisting"> "wrap-width" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre> -<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>Allowed values: >= 0</p> -<p>Default value: 0</p> -<p class="since">Since 2.4</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkComboBox.style-property-details"></a><h2>Style Property Details</h2> -<div class="refsect2"> -<a name="GtkComboBox--s-appears-as-list"></a><h3>The <code class="literal">"appears-as-list"</code> style property</h3> -<pre class="programlisting"> "appears-as-list" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre> -<p>Whether dropdowns should look like lists rather than menus.</p> -<p>Default value: FALSE</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--s-arrow-scaling"></a><h3>The <code class="literal">"arrow-scaling"</code> style property</h3> -<pre class="programlisting"> "arrow-scaling" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read</pre> -<p> -Sets the amount of space used up by the combobox arrow, -proportional to the font size. -</p> -<p>Allowed values: [0,2]</p> -<p>Default value: 1</p> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--s-arrow-size"></a><h3>The <code class="literal">"arrow-size"</code> style property</h3> -<pre class="programlisting"> "arrow-size" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read</pre> -<p> -Sets the minimum size of the arrow in the combo box. Note -that the arrow size is coupled to the font size, so in case -a larger font is used, the arrow will be larger than set -by arrow size. -</p> -<p>Allowed values: >= 0</p> -<p>Default value: 15</p> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox--s-shadow-type"></a><h3>The <code class="literal">"shadow-type"</code> style property</h3> -<pre class="programlisting"> "shadow-type" <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> : Read</pre> -<p> -Which kind of shadow to draw around the combo box. -</p> -<p>Default value: GTK_SHADOW_NONE</p> -<p class="since">Since 2.12</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkComboBox.signal-details"></a><h2>Signal Details</h2> -<div class="refsect2"> -<a name="GtkComboBox-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3> -<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, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></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 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>. -It will also be emitted while typing into the entry of a combo box -with an entry. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td> -<td>the object which received the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox-format-entry-text"></a><h3>The <code class="literal">"format-entry-text"</code> signal</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>* user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre> -<p> -For combo boxes that are created with an entry (See GtkComboBox:has-entry). -</p> -<p> -A signal which allows you to change how the text displayed in a combo box's -entry is displayed. -</p> -<p> -Connect a signal handler which returns an allocated string representing -<em class="parameter"><code>path</code></em>. That string will then be used to set the text in the combo box's entry. -The default signal handler uses the text from the GtkComboBox::entry-text-column -model column. -</p> -<p> -Here's an example signal handler which fetches data from the model and -displays it in the entry. -</p> -<div class="informalexample"> - <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> - <tbody> - <tr> - <td class="listing_lines" align="right"><pre>1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18</pre></td> - <td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar">gchar</a></span><span class="symbol">*</span> -<span class="function">format_entry_text_callback</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkComboBox</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">combo</span><span class="symbol">,</span> -<span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">path</span><span class="symbol">,</span> -<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span> -<span class="cbracket">{</span> -<span class="normal"> </span><span class="usertype">GtkTreeIter</span><span class="normal"> iter</span><span class="symbol">;</span> -<span class="normal"> </span><span class="usertype">GtkTreeModel</span><span class="normal"> model</span><span class="symbol">;</span> -<span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> value</span><span class="symbol">;</span> -<span class="normal"> </span> -<span class="normal"> model </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkComboBox.html#gtk-combo-box-get-model">gtk_combo_box_get_model</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">combo</span><span class="symbol">);</span> - -<span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get-iter-from-string">gtk_tree_model_get_iter_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> path</span><span class="symbol">);</span> -<span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">model</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span> -<span class="normal"> THE_DOUBLE_VALUE_COLUMN</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&</span><span class="normal">value</span><span class="symbol">,</span> -<span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span> - -<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%g"</span><span class="symbol">,</span><span class="normal"> value</span><span class="symbol">);</span> -<span class="cbracket">}</span></pre></td> - </tr> - </tbody> - </table> -</div> - -<p> -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>combo</code></em> :</span></p></td> -<td>the object which received the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td> -<td>the GtkTreePath string from the combo box's current model to format text for</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly allocated string representing <em class="parameter"><code>path</code></em> -for the current GtkComboBox model. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.4</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox-move-active"></a><h3>The <code class="literal">"move-active"</code> signal</h3> -<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, - <a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll_type, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -The ::move-active signal is a -<a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted to move the active selection. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td> -<td>the object that received the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>scroll_type</code></em> :</span></p></td> -<td>a <a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox-popdown"></a><h3>The <code class="literal">"popdown"</code> signal</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *button, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -The ::popdown signal is a -<a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted to popdown the combo box list. -</p> -<p> -The default bindings for this signal are Alt+Up and Escape. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>button</code></em> :</span></p></td> -<td>the object which received the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkComboBox-popup"></a><h3>The <code class="literal">"popup"</code> signal</h3> -<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, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre> -<p> -The ::popup signal is a -<a class="link" href="gtk3-Bindings.html#keybinding-signals">keybinding signal</a> -which gets emitted to popup the combo box list. -</p> -<p> -The default binding for this signal is Alt+Down. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td> -<td>the object that received the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 2.12</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkComboBox.see-also"></a><h2>See Also</h2> -<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> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18.1</div> -</body> -</html>
\ No newline at end of file |