1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>New features</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
8
<link rel="up" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
9
<link rel="prev" href="migrating-GtkCombo.html" title="Migrating from GtkCombo to GtkComboBoxEntry">
10
<link rel="next" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
<td><a accesskey="p" href="migrating-GtkCombo.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
<td><a accesskey="u" href="gtk-migrating-GtkComboBox.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
20
<td><a accesskey="n" href="gtk-migrating-GtkIconView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
24
<a name="new-features-GtkComboBox"></a>New features</h2></div></div></div>
26
The new widgets have more to offer than a mere combination of the
27
features of <a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a> and <a class="link" href="GtkCombo.html" title="GtkCombo"><span class="type">GtkCombo</span></a>. Notable new features
30
<div class="variablelist"><table border="0" class="variablelist">
32
<col align="left" valign="top">
37
<td><p><span class="term">Grid mode</span></p></td>
38
<td><p>Sometimes it is preferable to display the available
39
options not in a linear list, but in a grid. A typical example
40
would be a "color combo" where the individual items are small
41
square color swatches. The new widgets support gridded display
43
<a class="link" href="GtkComboBox.html#gtk-combo-box-set-wrap-width" title="gtk_combo_box_set_wrap_width ()"><code class="function">gtk_combo_box_set_wrap_width()</code></a>,
44
<a class="link" href="GtkComboBox.html#gtk-combo-box-set-row-span-column" title="gtk_combo_box_set_row_span_column ()"><code class="function">gtk_combo_box_set_row_span_column()</code></a> and
45
<a class="link" href="GtkComboBox.html#gtk-combo-box-set-column-span-column" title="gtk_combo_box_set_column_span_column ()"><code class="function">gtk_combo_box_set_column_span_column()</code></a>.
49
<td><p><span class="term">Display of icons</span></p></td>
50
<td><p>An often-heard complaint about <a class="link" href="GtkOptionMenu.html" title="GtkOptionMenu"><span class="type">GtkOptionMenu</span></a> is that
51
the icons which appear in the image menu items in its menu are not
52
displayed in the button showing the selected item. This limitation
53
has been removed in <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a>; the selected item appears in the
54
same way as the options in the popup.
58
<td><p><span class="term">Full tree model power</span></p></td>
60
Since the new widgets are built around the same models that are
61
used for <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>, all of the powerful machinery of tree models
62
and cell renderers can be used.
72
Generated by GTK-Doc V1.18</div>
b'\\ No newline at end of file'