New upstream version 3.22.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<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.25.1 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -94,7 +94,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -110,7 +110,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -126,7 +126,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -142,7 +142,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkComboBox.html#gtk-combo-box-get-active" title="gtk_combo_box_get_active ()">gtk_combo_box_get_active</a> <span class="c_punctuation">()</span>
|
||||
@ -158,7 +158,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -174,7 +174,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -189,7 +189,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -197,7 +197,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -277,7 +277,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -292,7 +292,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkComboBox.html#gtk-combo-box-get-title" title="gtk_combo_box_get_title ()">gtk_combo_box_get_title</a> <span class="c_punctuation">()</span>
|
||||
@ -308,7 +308,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -332,7 +332,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -348,7 +348,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -364,7 +364,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<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> <span class="c_punctuation">()</span>
|
||||
@ -383,18 +383,18 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--active" title="The “active” property">active</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--active-id" title="The “active-id” property">active-id</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--add-tearoffs" title="The “add-tearoffs” property">add-tearoffs</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -410,27 +410,27 @@
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--column-span-column" title="The “column-span-column” property">column-span-column</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--entry-text-column" title="The “entry-text-column” property">entry-text-column</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title="The “has-entry” property">has-entry</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--has-frame" title="The “has-frame” property">has-frame</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--id-column" title="The “id-column” property">id-column</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -441,28 +441,28 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--popup-fixed-width" title="The “popup-fixed-width” property">popup-fixed-width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--popup-shown" title="The “popup-shown” property">popup-shown</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--row-span-column" title="The “row-span-column” property">row-span-column</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--tearoff-title" title="The “tearoff-title” property">tearoff-title</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--wrap-width" title="The “wrap-width” property">wrap-width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -479,17 +479,17 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--s-appears-as-list" title="The “appears-as-list” style property">appears-as-list</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></td>
|
||||
<td class="property_type"><span class="type">gfloat</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--s-arrow-scaling" title="The “arrow-scaling” style property">arrow-scaling</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkComboBox.html#GtkComboBox--s-arrow-size" title="The “arrow-size” style property">arrow-size</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
@ -513,28 +513,28 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkComboBox.html#GtkComboBox-changed" title="The “changed” signal">changed</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*</td>
|
||||
<span class="returnvalue">gchar</span>*</td>
|
||||
<td class="signal_name"><a class="link" href="GtkComboBox.html#GtkComboBox-format-entry-text" title="The “format-entry-text” signal">format-entry-text</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkComboBox.html#GtkComboBox-move-active" title="The “move-active” signal">move-active</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
||||
<td class="signal_flags">Action</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
||||
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkComboBox.html#GtkComboBox-popdown" title="The “popdown” signal">popdown</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
||||
<td class="signal_flags">Action</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkComboBox.html#GtkComboBox-popup" title="The “popup” signal">popup</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
||||
<td class="signal_flags">Action</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -560,8 +560,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkComboBox.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
||||
@ -616,13 +616,13 @@ an entry.</p>
|
||||
5
|
||||
6
|
||||
7</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">combobox
|
||||
├── box<span class="gtkdoc opt">.</span>linked
|
||||
│ ╰── button<span class="gtkdoc opt">.</span>combo
|
||||
│ ╰── box
|
||||
│ ├── cellview
|
||||
│ ╰── arrow
|
||||
╰── window<span class="gtkdoc opt">.</span>popup</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">combobox</span>
|
||||
<span class="normal">├── box</span><span class="symbol">.</span><span class="normal">linked</span>
|
||||
<span class="normal">│ ╰── button</span><span class="symbol">.</span><span class="normal">combo</span>
|
||||
<span class="normal">│ ╰── box</span>
|
||||
<span class="normal">│ ├── cellview</span>
|
||||
<span class="normal">│ ╰── arrow</span>
|
||||
<span class="normal">╰── window</span><span class="symbol">.</span><span class="normal">popup</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -643,13 +643,13 @@ an arrow.</p>
|
||||
5
|
||||
6
|
||||
7</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting">combobox
|
||||
├── box<span class="gtkdoc opt">.</span>linked
|
||||
│ ├── entry<span class="gtkdoc opt">.</span>combo
|
||||
│ ╰── button<span class="gtkdoc opt">.</span>combo
|
||||
│ ╰── box
|
||||
│ ╰── arrow
|
||||
╰── window<span class="gtkdoc opt">.</span>popup</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">combobox</span>
|
||||
<span class="normal">├── box</span><span class="symbol">.</span><span class="normal">linked</span>
|
||||
<span class="normal">│ ├── entry</span><span class="symbol">.</span><span class="normal">combo</span>
|
||||
<span class="normal">│ ╰── button</span><span class="symbol">.</span><span class="normal">combo</span>
|
||||
<span class="normal">│ ╰── box</span>
|
||||
<span class="normal">│ ╰── arrow</span>
|
||||
<span class="normal">╰── window</span><span class="symbol">.</span><span class="normal">popup</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -803,7 +803,7 @@ gtk_combo_box_new_with_area_and_entry (<em class="parameter"><code><a class="lin
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_combo_box_get_wrap_width (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
|
||||
<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
|
||||
@ -834,7 +834,7 @@ is in table mode.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> 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
|
||||
@ -867,7 +867,7 @@ in a table.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_combo_box_get_row_span_column (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
|
||||
<p>Returns the column with row span information for <em class="parameter"><code>combo_box</code></em>
|
||||
.</p>
|
||||
@ -897,7 +897,7 @@ gtk_combo_box_get_row_span_column (<em class="parameter"><code><a class="link" h
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> row_span</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> 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>
|
||||
.
|
||||
@ -930,7 +930,7 @@ an item should span.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
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>
|
||||
@ -960,7 +960,7 @@ gtk_combo_box_get_column_span_column (<em class="parameter"><code><a class="link
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> column_span</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> 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>
|
||||
@ -993,7 +993,7 @@ how many columns an item should span.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-combo-box-get-active"></a><h3>gtk_combo_box_get_active ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_combo_box_get_active (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
|
||||
<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
|
||||
@ -1027,7 +1027,7 @@ or -1 if there’s no active item.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> index_</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> 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>
|
||||
@ -1059,7 +1059,7 @@ no active item</p></td>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_combo_box_get_active_iter (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>,
|
||||
<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>
|
||||
@ -1082,7 +1082,7 @@ Otherwise, <em class="parameter"><code>iter</code></em>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>iter</p></td>
|
||||
<td class="parameter_description"><p> A <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>. </p></td>
|
||||
<td class="parameter_description"><p>A <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1090,8 +1090,8 @@ Otherwise, <em class="parameter"><code>iter</code></em>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-get-active-iter.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
||||
was set, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em>
|
||||
was set, <code class="literal">FALSE</code> otherwise</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.4</p>
|
||||
</div>
|
||||
@ -1104,7 +1104,7 @@ gtk_combo_box_set_active_iter (<em class="parameter"><code><a class="link" href=
|
||||
<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="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
is <code class="literal">NULL</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-set-active-iter.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1121,7 +1121,7 @@ unsets the active item if <em class="parameter"><code>iter</code></em>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>iter</p></td>
|
||||
<td class="parameter_description"><p> The <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>The <a class="link" href="GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a>, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><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>
|
||||
@ -1132,7 +1132,7 @@ unsets the active item if <em class="parameter"><code>iter</code></em>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
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
|
||||
@ -1164,13 +1164,13 @@ for values from.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id_column</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> 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="../gobject/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>.</p>
|
||||
must be of type <code class="literal">G_TYPE_STRING</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-set-id-column.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1199,7 +1199,7 @@ to get string IDs for values from</p></td>
|
||||
<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="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
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
|
||||
@ -1211,7 +1211,7 @@ 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="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> ID value, then <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
||||
no row is active, or if the active row has a <code class="literal">NULL</code> ID value, then <code class="literal">NULL</code>
|
||||
is returned.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-get-active-id.parameters"></a><h4>Parameters</h4>
|
||||
@ -1230,7 +1230,7 @@ is returned.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-get-active-id.returns"></a><h4>Returns</h4>
|
||||
<p> the ID of the active row, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>the ID of the active row, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -1238,18 +1238,18 @@ is returned.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
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="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *active_id</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *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="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. Rows having
|
||||
a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> ID string cannot be made active by this function.</p>
|
||||
is <code class="literal">NULL</code>. Rows having
|
||||
a <code class="literal">NULL</code> 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="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
row has the given ID then the function does nothing and returns <code class="literal">FALSE</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-set-active-id.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1266,7 +1266,7 @@ row has the given ID then the function does nothing and returns <a href="../glib
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>active_id</p></td>
|
||||
<td class="parameter_description"><p> the ID of the row to select, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>the ID of the row to select, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><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>
|
||||
@ -1274,10 +1274,10 @@ row has the given ID then the function does nothing and returns <a href="../glib
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-set-active-id.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/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="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
||||
<p> <code class="literal">TRUE</code> if a row with a matching ID was found. If a <code class="literal">NULL</code>
|
||||
<em class="parameter"><code>active_id</code></em>
|
||||
was given to unset the active row, the function
|
||||
always returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
always returns <code class="literal">TRUE</code>.</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
@ -1305,7 +1305,7 @@ gtk_combo_box_get_model (<em class="parameter"><code><a class="link" href="GtkCo
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-get-model.returns"></a><h4>Returns</h4>
|
||||
<p> A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> which was passed
|
||||
<p>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> which was passed
|
||||
during construction. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1320,7 +1320,7 @@ gtk_combo_box_set_model (<em class="parameter"><code><a class="link" href="GtkCo
|
||||
<p>Sets the model used by <em class="parameter"><code>combo_box</code></em>
|
||||
to be <em class="parameter"><code>model</code></em>
|
||||
. Will unset a previously set
|
||||
model (if applicable). If model is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then it will unset the model.</p>
|
||||
model (if applicable). If model is <code class="literal">NULL</code>, 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>
|
||||
@ -1340,7 +1340,7 @@ cell renderers for the new model.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>model</p></td>
|
||||
<td class="parameter_description"><p> A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>. </p></td>
|
||||
<td class="parameter_description"><p>A <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>. </p></td>
|
||||
<td class="parameter_annotations"><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>
|
||||
@ -1353,12 +1353,12 @@ cell renderers for the new model.</p>
|
||||
<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="../gdk4/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a> *device</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GdkDevice</span> *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="../gdk4/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevices</span></a> able to send events to it.</p>
|
||||
are the only <span class="type">GdkDevices</span> able to send events to it.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-popup-for-device.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1375,7 +1375,7 @@ are the only <a href="../gdk4/GdkDevice.html#GdkDevice-struct"><span class="type
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>device</p></td>
|
||||
<td class="parameter_description"><p>a <a href="../gdk4/GdkDevice.html#GdkDevice-struct"><span class="type">GdkDevice</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GdkDevice</span></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1462,7 +1462,7 @@ applications should have little use for it.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-get-popup-accessible.returns"></a><h4>Returns</h4>
|
||||
<p> the accessible object corresponding
|
||||
<p>the accessible object corresponding
|
||||
to the combo box’s popup. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1502,11 +1502,11 @@ gtk_combo_box_get_row_separator_func (<em class="parameter"><code><a class="link
|
||||
<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="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
|
||||
<em class="parameter"><code><span class="type">GDestroyNotify</span> 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="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, no separators are drawn. This is the default value.</p>
|
||||
function is <code class="literal">NULL</code>, no separators are drawn. This is the default value.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-set-row-separator-func.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1528,14 +1528,14 @@ function is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="l
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>data</p></td>
|
||||
<td class="parameter_description"><p> user data to pass to <em class="parameter"><code>func</code></em>
|
||||
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>func</code></em>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><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 class="parameter_name"><p>destroy</p></td>
|
||||
<td class="parameter_description"><p> destroy notifier for <em class="parameter"><code>data</code></em>
|
||||
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>destroy notifier for <em class="parameter"><code>data</code></em>
|
||||
, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><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>
|
||||
@ -1548,7 +1548,7 @@ function is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="l
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> add_tearoffs</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> add_tearoffs</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_combo_box_set_add_tearoffs</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Sets whether the popup menu should have a tearoff
|
||||
menu item.</p>
|
||||
@ -1568,7 +1568,7 @@ menu item.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>add_tearoffs</p></td>
|
||||
<td class="parameter_description"><p><a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to add tearoff menu items</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to add tearoff menu items</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1579,7 +1579,7 @@ menu item.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_combo_box_get_add_tearoffs (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_combo_box_get_add_tearoffs</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the current value of the :add-tearoffs property.</p>
|
||||
@ -1608,7 +1608,7 @@ gtk_combo_box_get_add_tearoffs (<em class="parameter"><code><a class="link" href
|
||||
<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="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_combo_box_set_title</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Sets the menu’s title in tearoff mode.</p>
|
||||
<div class="refsect3">
|
||||
@ -1638,7 +1638,7 @@ gtk_combo_box_set_title (<em class="parameter"><code><a class="link" href="GtkCo
|
||||
<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="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_combo_box_get_title (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_combo_box_get_title</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
<p>Gets the current title of the menu in tearoff mode. See
|
||||
@ -1670,7 +1670,7 @@ string which must not be freed.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_click</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> focus_on_click</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_combo_box_set_focus_on_click</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-set-focus-on-click" title="gtk_widget_set_focus_on_click ()"><code class="function">gtk_widget_set_focus_on_click()</code></a> instead</p>
|
||||
@ -1707,7 +1707,7 @@ with the mouse</p></td>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_combo_box_get_focus_on_click (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_combo_box_get_focus_on_click</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -1732,7 +1732,7 @@ with the mouse. See <a class="link" href="GtkComboBox.html#gtk-combo-box-set-foc
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-get-focus-on-click.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the combo box grabs focus when it is
|
||||
<p> <code class="literal">TRUE</code> if the combo box grabs focus when it is
|
||||
clicked with the mouse.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.6</p>
|
||||
@ -1805,7 +1805,7 @@ the model has one item to be selected.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_combo_box_get_has_entry (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
|
||||
<p>Returns whether the combo box has an entry.</p>
|
||||
<div class="refsect3">
|
||||
@ -1835,17 +1835,17 @@ gtk_combo_box_get_has_entry (<em class="parameter"><code><a class="link" href="G
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> text_column</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> 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="../gobject/gobject-Type-Information.html#G-TYPE-STRING:CAPS"><code class="literal">G_TYPE_STRING</code></a>.</p>
|
||||
must be of type <code class="literal">G_TYPE_STRING</code>.</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="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title="The “has-entry” property"><span class="type">“has-entry”</span></a> as <code class="literal">TRUE</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-set-entry-text-column.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1875,7 +1875,7 @@ the internal entry</p></td>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_combo_box_get_entry_text_column (<em class="parameter"><code><a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo_box</code></em>);</pre>
|
||||
<p>Returns the column which <em class="parameter"><code>combo_box</code></em>
|
||||
is using to get the strings
|
||||
@ -1907,7 +1907,7 @@ from to display in the internal entry.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> fixed</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> 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="refsect3">
|
||||
@ -1937,7 +1937,7 @@ matching the allocated width of the combo box.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
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>
|
||||
@ -1958,7 +1958,7 @@ the allocated width of the combo box.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-combo-box-get-popup-fixed-width.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the popup uses a fixed width</p>
|
||||
<p> <code class="literal">TRUE</code> if the popup uses a fixed width</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
</div>
|
||||
@ -2011,7 +2011,7 @@ displayed in a combo box’s entry is displayed.</p></td>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “active” <span class="type">gint</span></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
|
||||
@ -2025,7 +2025,7 @@ where <code class="literal">path</code> is the <a class="link" href="GtkTreeMode
|
||||
<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="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “active-id” <span class="type">gchar</span> *</pre>
|
||||
<p>The value of the ID column of the active row.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -2034,7 +2034,7 @@ where <code class="literal">path</code> is the <a class="link" href="GtkTreeMode
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “add-tearoffs” <span class="type">gboolean</span></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>
|
||||
@ -2066,9 +2066,9 @@ a horizontally oriented <a class="link" href="GtkCellAreaBox.html" title="GtkCel
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “column-span-column” <span class="type">gint</span></pre>
|
||||
<p>If this is set to a non-negative value, it must be the index of a column
|
||||
of type <a href="../gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> in the model. The value in that column for each item
|
||||
of type <code class="literal">G_TYPE_INT</code> in the model. The value in that column for each item
|
||||
will determine how many columns that item will span in the popup.
|
||||
Therefore, values in this column must be greater than zero, and the sum of
|
||||
an item’s column position + span should not exceed <a class="link" href="GtkComboBox.html#GtkComboBox--wrap-width" title="The “wrap-width” property"><span class="type">“wrap-width”</span></a>.</p>
|
||||
@ -2080,9 +2080,9 @@ an item’s column position + span should not exceed <a class="link" href="GtkCo
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “entry-text-column” <span class="type">gint</span></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="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
if the combo was created with <a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title="The “has-entry” property"><span class="type">“has-entry”</span></a> = <code class="literal">TRUE</code>.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
<p>Default value: -1</p>
|
||||
@ -2091,7 +2091,7 @@ if the combo was created with <a class="link" href="GtkComboBox.html#GtkComboBox
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “has-entry” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the combo box has an entry.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -2100,7 +2100,7 @@ if the combo was created with <a class="link" href="GtkComboBox.html#GtkComboBox
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “has-frame” <span class="type">gboolean</span></pre>
|
||||
<p>The has-frame property controls whether a frame
|
||||
is drawn around the entry.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -2110,7 +2110,7 @@ is drawn around the entry.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “id-column” <span class="type">gint</span></pre>
|
||||
<p>The column in the combo box's model that provides string
|
||||
IDs for the values in the model, if != -1.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -2130,7 +2130,7 @@ in the list.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “popup-fixed-width” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the popup's width should be a fixed width matching the
|
||||
allocated width of the combo box.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -2140,7 +2140,7 @@ allocated width of the combo box.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “popup-shown” <span class="type">gboolean</span></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>
|
||||
@ -2151,9 +2151,9 @@ it allows you to connect to notify::popup-shown.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “row-span-column” <span class="type">gint</span></pre>
|
||||
<p>If this is set to a non-negative value, it must be the index of a column
|
||||
of type <a href="../gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><code class="literal">G_TYPE_INT</code></a> in the model. The value in that column for each item
|
||||
of type <code class="literal">G_TYPE_INT</code> in the model. The value in that column for each item
|
||||
will determine how many rows that item will span in the popup. Therefore,
|
||||
values in this column must be greater than zero.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -2164,7 +2164,7 @@ values in this column must be greater than zero.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “tearoff-title” <span class="type">gchar</span> *</pre>
|
||||
<p>A title that may be displayed by the window manager
|
||||
when the popup is torn-off.</p>
|
||||
<div class="warning"><p><code class="literal">GtkComboBox:tearoff-title</code> has been deprecated since version 3.10 and should not be used in newly-written code.</p></div>
|
||||
@ -2175,7 +2175,7 @@ when the popup is torn-off.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “wrap-width” <span class="type">gint</span></pre>
|
||||
<p>If wrap-width is set to a positive value, items in the popup will be laid
|
||||
out along multiple columns, starting a new row on reaching the wrap width.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -2188,7 +2188,7 @@ out along multiple columns, starting a new row on reaching the wrap width.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<pre class="programlisting"> “appears-as-list” <span class="type">gboolean</span></pre>
|
||||
<p>Whether dropdowns should look like lists rather than menus.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Default value: FALSE</p>
|
||||
@ -2196,7 +2196,7 @@ out along multiple columns, starting a new row on reaching the wrap width.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a></pre>
|
||||
<pre class="programlisting"> “arrow-scaling” <span class="type">gfloat</span></pre>
|
||||
<p>Sets the amount of space used up by the combobox arrow,
|
||||
proportional to the font size.</p>
|
||||
<div class="warning">
|
||||
@ -2211,7 +2211,7 @@ proportional to the font size.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “arrow-size” <span class="type">gint</span></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
|
||||
@ -2247,7 +2247,7 @@ by arrow size.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</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
|
||||
@ -2276,16 +2276,16 @@ with an entry.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<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="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a>*
|
||||
<pre class="programlisting"><span class="returnvalue">gchar</span>*
|
||||
user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *combo,
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path,
|
||||
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gchar</span> *path,
|
||||
<span class="type">gpointer</span> user_data)</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>
|
||||
@ -2318,24 +2318,24 @@ displays it in the entry.</p>
|
||||
16
|
||||
17
|
||||
18</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static</span> gchar<span class="gtkdoc opt">*</span>
|
||||
<span class="function">format_entry_text_callback</span> <span class="gtkdoc opt">(</span>GtkComboBox <span class="gtkdoc opt">*</span>combo<span class="gtkdoc opt">,</span>
|
||||
<span class="gtkdoc kwb">const</span> gchar <span class="gtkdoc opt">*</span>path<span class="gtkdoc opt">,</span>
|
||||
gpointer user_data<span class="gtkdoc opt">)</span>
|
||||
<span class="gtkdoc opt">{</span>
|
||||
GtkTreeIter iter<span class="gtkdoc opt">;</span>
|
||||
GtkTreeModel model<span class="gtkdoc opt">;</span>
|
||||
gdouble value<span class="gtkdoc opt">;</span>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> gchar</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>
|
||||
|
||||
model <span class="gtkdoc opt">=</span> <span class="function"><a href="GtkComboBox.html#gtk-combo-box-get-model">gtk_combo_box_get_model</a></span> <span class="gtkdoc opt">(</span>combo<span class="gtkdoc opt">);</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="function"><a href="GtkTreeModel.html#gtk-tree-model-get-iter-from-string">gtk_tree_model_get_iter_from_string</a></span> <span class="gtkdoc opt">(</span>model<span class="gtkdoc opt">, &</span>iter<span class="gtkdoc opt">,</span> path<span class="gtkdoc opt">);</span>
|
||||
<span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span> <span class="gtkdoc opt">(</span>model<span class="gtkdoc opt">, &</span>iter<span class="gtkdoc opt">,</span>
|
||||
THE_DOUBLE_VALUE_COLUMN<span class="gtkdoc opt">, &</span>value<span class="gtkdoc opt">,</span>
|
||||
<span class="gtkdoc opt">-</span><span class="number">1</span><span class="gtkdoc opt">);</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"> 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="keyword">return</span> <span class="function"><a href="../glib/glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span> <span class="gtkdoc opt">(</span><span class="string">"%g"</span><span class="gtkdoc opt">,</span> value<span class="gtkdoc opt">);</span>
|
||||
<span class="gtkdoc opt">}</span></pre></td>
|
||||
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="function">g_strdup_printf</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>
|
||||
@ -2371,11 +2371,11 @@ displays it in the entry.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="GtkComboBox-format-entry-text.returns"></a><h4>Returns</h4>
|
||||
<p> a newly allocated string representing <em class="parameter"><code>path</code></em>
|
||||
<p>a newly allocated string representing <em class="parameter"><code>path</code></em>
|
||||
for the current GtkComboBox model. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p>Flags: Run Last</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -2384,7 +2384,7 @@ for the current GtkComboBox model. </p>
|
||||
<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="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::move-active signal is a
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted to move the active selection.</p>
|
||||
@ -2415,15 +2415,15 @@ which gets emitted to move the active selection.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
<p>Flags: Action</p>
|
||||
<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="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
user_function (<a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> *button,
|
||||
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::popdown signal is a
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted to popdown the combo box list.</p>
|
||||
@ -2450,7 +2450,7 @@ which gets emitted to popdown the combo box list.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
<p>Flags: Action</p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -2458,7 +2458,7 @@ which gets emitted to popdown the combo box list.</p>
|
||||
<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="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::popup signal is a
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted to popup the combo box list.</p>
|
||||
@ -2485,7 +2485,7 @@ which gets emitted to popup the combo box list.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
<p>Flags: Action</p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -2495,6 +2495,6 @@ which gets emitted to popup the combo box list.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25.1</div>
|
||||
<hr>Generated by GTK-Doc V1.27</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user