~bratsche/ubuntu/maverick/gtk+2.0/menu-activation-fix

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkCellRendererCombo.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-06-11 11:48:48 UTC
  • mfrom: (1.11.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100611114848-dkrsp735aof0oqme
Tags: 2.21.2-0ubuntu1
* New upstream version:
  - The newly added gdk_drag_context_get_action function has been
    renamed to gdk_drag_context_get_selected_action to make the
    name less confusing.
  - Introspection annotations have been added in many places
  - New accessors for sealed struct members:
    gtk_viewport_get_view_window
    gdk_drag_context_get_source_window
  - Bug fixes:
    608218 GtkOffscreenWindow causes bad window with GtkEntry
    611709 Add gtk_statusbar_remove_all
    596428 GtkAssistant: Support ending with a progress page
    620511 Use g_source_set_name for all custom GSources in GTK+
    608537 Make the file chooser's sort arrows consistent (lp:#509656)
    620863 Unable to select GtkMenu item above the current one (lp: #590374)
* debian/control.in:
  - updated glib requirement
* debian/patches/065_build_introspection_file.patch:
  - dropped, the fix is in the new version
* debian/libgtk2.0-0.symbols:
  - new version update
* debian/patches/070_mandatory-relibtoolize.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
<div class="refsect1" title="Object Hierarchy">
54
54
<a name="GtkCellRendererCombo.object-hierarchy"></a><h2>Object Hierarchy</h2>
55
55
<pre class="synopsis">
56
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
57
 
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
56
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
57
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
58
58
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
59
59
               +----<a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer">GtkCellRenderer</a>
60
60
                     +----<a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText">GtkCellRendererText</a>
64
64
<div class="refsect1" title="Properties">
65
65
<a name="GtkCellRendererCombo.properties"></a><h2>Properties</h2>
66
66
<pre class="synopsis">
67
 
  "<a class="link" href="GtkCellRendererCombo.html#GtkCellRendererCombo--has-entry" title='The "has-entry" property'>has-entry</a>"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
67
  "<a class="link" href="GtkCellRendererCombo.html#GtkCellRendererCombo--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
68
68
  "<a class="link" href="GtkCellRendererCombo.html#GtkCellRendererCombo--model" title='The "model" property'>model</a>"                    <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>*         : Read / Write
69
 
  "<a class="link" href="GtkCellRendererCombo.html#GtkCellRendererCombo--text-column" title='The "text-column" property'>text-column</a>"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
 
69
  "<a class="link" href="GtkCellRendererCombo.html#GtkCellRendererCombo--text-column" title='The "text-column" property'>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
70
70
</pre>
71
71
</div>
72
72
<div class="refsect1" title="Signals">
111
111
<p>
112
112
Creates a new <a class="link" href="GtkCellRendererCombo.html" title="GtkCellRendererCombo"><span class="type">GtkCellRendererCombo</span></a>. 
113
113
Adjust how text is drawn using object properties. 
114
 
Object properties can be set globally (with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>). 
 
114
Object properties can be set globally (with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>). 
115
115
Also, with <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>, you can bind a property to a value 
116
116
in a <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>. For example, you can bind the "text" property 
117
117
on the cell renderer to a string value in the model, thus rendering 
133
133
<a name="GtkCellRendererCombo.property-details"></a><h2>Property Details</h2>
134
134
<div class="refsect2" title='The "has-entry" property'>
135
135
<a name="GtkCellRendererCombo--has-entry"></a><h3>The <code class="literal">"has-entry"</code> property</h3>
136
 
<pre class="programlisting">  "has-entry"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
136
<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</pre>
137
137
<p>
138
 
If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the cell renderer will include an entry and allow to enter
 
138
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the cell renderer will include an entry and allow to enter
139
139
values other than the ones in the popup list.
140
140
</p>
141
141
<p>Default value: TRUE</p>
154
154
<hr>
155
155
<div class="refsect2" title='The "text-column" property'>
156
156
<a name="GtkCellRendererCombo--text-column"></a><h3>The <code class="literal">"text-column"</code> property</h3>
157
 
<pre class="programlisting">  "text-column"              <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
 
157
<pre class="programlisting">  "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>
158
158
<p>
159
159
Specifies the model column which holds the possible values for the 
160
160
combo box. 
178
178
<div class="refsect2" title='The "changed" signal'>
179
179
<a name="GtkCellRendererCombo-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
180
180
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkCellRendererCombo.html" title="GtkCellRendererCombo"><span class="type">GtkCellRendererCombo</span></a> *combo,
181
 
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>                *path_string,
 
181
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>                *path_string,
182
182
                                                        <a class="link" href="GtkTreeModel.html#GtkTreeIter" title="GtkTreeIter"><span class="type">GtkTreeIter</span></a>          *new_iter,
183
 
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              user_data)        : Run Last</pre>
 
183
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              user_data)        : Run Last</pre>
184
184
<p>
185
185
This signal is emitted each time after the user selected an item in
186
186
the combo box, either by using the mouse or the arrow keys.  Contrary