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

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkImageMenuItem.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:
51
51
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *image</code></em>);
52
52
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-get-image" title="gtk_image_menu_item_get_image ()">gtk_image_menu_item_get_image</a>       (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>);
53
53
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-new" title="gtk_image_menu_item_new ()">gtk_image_menu_item_new</a>             (<em class="parameter"><code><span class="type">void</span></code></em>);
54
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-new-from-stock" title="gtk_image_menu_item_new_from_stock ()">gtk_image_menu_item_new_from_stock</a>  (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
 
54
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-new-from-stock" title="gtk_image_menu_item_new_from_stock ()">gtk_image_menu_item_new_from_stock</a>  (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
55
55
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);
56
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-new-with-label" title="gtk_image_menu_item_new_with_label ()">gtk_image_menu_item_new_with_label</a>  (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
 
56
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-new-with-label" title="gtk_image_menu_item_new_with_label ()">gtk_image_menu_item_new_with_label</a>  (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
57
57
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-new-with-mnemonic" title="gtk_image_menu_item_new_with_mnemonic ()">gtk_image_menu_item_new_with_mnemonic</a>
58
 
                                                        (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
59
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-get-use-stock" title="gtk_image_menu_item_get_use_stock ()">gtk_image_menu_item_get_use_stock</a>   (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>);
 
58
                                                        (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
 
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-get-use-stock" title="gtk_image_menu_item_get_use_stock ()">gtk_image_menu_item_get_use_stock</a>   (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>);
60
60
<span class="returnvalue">void</span>                <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-set-use-stock" title="gtk_image_menu_item_set_use_stock ()">gtk_image_menu_item_set_use_stock</a>   (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>,
61
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_stock</code></em>);
62
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-get-always-show-image" title="gtk_image_menu_item_get_always_show_image ()">gtk_image_menu_item_get_always_show_image</a>
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_stock</code></em>);
 
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-get-always-show-image" title="gtk_image_menu_item_get_always_show_image ()">gtk_image_menu_item_get_always_show_image</a>
63
63
                                                        (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>);
64
64
<span class="returnvalue">void</span>                <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-set-always-show-image" title="gtk_image_menu_item_set_always_show_image ()">gtk_image_menu_item_set_always_show_image</a>
65
65
                                                        (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>,
66
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> always_show</code></em>);
 
66
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> always_show</code></em>);
67
67
<span class="returnvalue">void</span>                <a class="link" href="GtkImageMenuItem.html#gtk-image-menu-item-set-accel-group" title="gtk_image_menu_item_set_accel_group ()">gtk_image_menu_item_set_accel_group</a> (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>,
68
68
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);
69
69
</pre>
71
71
<div class="refsect1" title="Object Hierarchy">
72
72
<a name="GtkImageMenuItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
73
73
<pre class="synopsis">
74
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
75
 
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
74
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
75
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
76
76
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
77
77
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
78
78
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
92
92
<a name="GtkImageMenuItem.properties"></a><h2>Properties</h2>
93
93
<pre class="synopsis">
94
94
  "<a class="link" href="GtkImageMenuItem.html#GtkImageMenuItem--accel-group" title='The "accel-group" property'>accel-group</a>"              <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a>*        : Write
95
 
  "<a class="link" href="GtkImageMenuItem.html#GtkImageMenuItem--always-show-image" title='The "always-show-image" property'>always-show-image</a>"        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
 
95
  "<a class="link" href="GtkImageMenuItem.html#GtkImageMenuItem--always-show-image" title='The "always-show-image" property'>always-show-image</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
96
96
  "<a class="link" href="GtkImageMenuItem.html#GtkImageMenuItem--image" title='The "image" property'>image</a>"                    <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read / Write
97
 
  "<a class="link" href="GtkImageMenuItem.html#GtkImageMenuItem--use-stock" title='The "use-stock" property'>use-stock</a>"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
 
97
  "<a class="link" href="GtkImageMenuItem.html#GtkImageMenuItem--use-stock" title='The "use-stock" property'>use-stock</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct
98
98
</pre>
99
99
</div>
100
100
<div class="refsect1" title="Description">
184
184
<hr>
185
185
<div class="refsect2" title="gtk_image_menu_item_new_from_stock ()">
186
186
<a name="gtk-image-menu-item-new-from-stock"></a><h3>gtk_image_menu_item_new_from_stock ()</h3>
187
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          gtk_image_menu_item_new_from_stock  (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
 
187
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          gtk_image_menu_item_new_from_stock  (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
188
188
                                                         <em class="parameter"><code><a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> *accel_group</code></em>);</pre>
189
189
<p>
190
190
Creates a new <a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> containing the image and text from a 
193
193
</p>
194
194
<p>
195
195
If you want this menu item to have changeable accelerators, then pass in
196
 
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for accel_group. Next call <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-accel-path" title="gtk_menu_item_set_accel_path ()"><code class="function">gtk_menu_item_set_accel_path()</code></a> with an
 
196
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for accel_group. Next call <a class="link" href="GtkMenuItem.html#gtk-menu-item-set-accel-path" title="gtk_menu_item_set_accel_path ()"><code class="function">gtk_menu_item_set_accel_path()</code></a> with an
197
197
appropriate path for the menu item, use <a class="link" href="gtk-Stock-Items.html#gtk-stock-lookup" title="gtk_stock_lookup ()"><code class="function">gtk_stock_lookup()</code></a> to look up the
198
198
standard accelerator for the stock item, and if one is found, call
199
199
<a class="link" href="gtk-Accelerator-Maps.html#gtk-accel-map-add-entry" title="gtk_accel_map_add_entry ()"><code class="function">gtk_accel_map_add_entry()</code></a> to register it.
208
208
</tr>
209
209
<tr>
210
210
<td><p><span class="term"><em class="parameter"><code>accel_group</code></em> :</span></p></td>
211
 
<td>the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> to add the menu items accelerator to,
212
 
  or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
211
<td> the <a class="link" href="gtk-Keyboard-Accelerators.html#GtkAccelGroup"><span class="type">GtkAccelGroup</span></a> to add the menu items 
 
212
  accelerator to, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
213
213
</td>
214
214
</tr>
215
215
<tr>
223
223
<hr>
224
224
<div class="refsect2" title="gtk_image_menu_item_new_with_label ()">
225
225
<a name="gtk-image-menu-item-new-with-label"></a><h3>gtk_image_menu_item_new_with_label ()</h3>
226
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          gtk_image_menu_item_new_with_label  (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
 
226
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          gtk_image_menu_item_new_with_label  (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
227
227
<p>
228
228
Creates a new <a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> containing a label.
229
229
</p>
247
247
<div class="refsect2" title="gtk_image_menu_item_new_with_mnemonic ()">
248
248
<a name="gtk-image-menu-item-new-with-mnemonic"></a><h3>gtk_image_menu_item_new_with_mnemonic ()</h3>
249
249
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          gtk_image_menu_item_new_with_mnemonic
250
 
                                                        (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
 
250
                                                        (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
251
251
<p>
252
252
Creates a new <a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> containing a label. The label
253
253
will be created using <a class="link" href="GtkLabel.html#gtk-label-new-with-mnemonic" title="gtk_label_new_with_mnemonic ()"><code class="function">gtk_label_new_with_mnemonic()</code></a>, so underscores
273
273
<hr>
274
274
<div class="refsect2" title="gtk_image_menu_item_get_use_stock ()">
275
275
<a name="gtk-image-menu-item-get-use-stock"></a><h3>gtk_image_menu_item_get_use_stock ()</h3>
276
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_image_menu_item_get_use_stock   (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>);</pre>
 
276
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_image_menu_item_get_use_stock   (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>);</pre>
277
277
<p>
278
278
Checks whether the label set in the menuitem is used as a
279
279
stock id to select the stock item for the item.
288
288
</tr>
289
289
<tr>
290
290
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
291
 
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the label set in the menuitem is used as a
 
291
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the label set in the menuitem is used as a
292
292
    stock id to select the stock item for the item
293
293
 
294
294
</td>
301
301
<div class="refsect2" title="gtk_image_menu_item_set_use_stock ()">
302
302
<a name="gtk-image-menu-item-set-use-stock"></a><h3>gtk_image_menu_item_set_use_stock ()</h3>
303
303
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_image_menu_item_set_use_stock   (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>,
304
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_stock</code></em>);</pre>
 
304
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_stock</code></em>);</pre>
305
305
<p>
306
 
If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the label set in the menuitem is used as a
 
306
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the label set in the menuitem is used as a
307
307
stock id to select the stock item for the item.
308
308
</p>
309
309
<div class="variablelist"><table border="0">
317
317
<tr>
318
318
<td><p><span class="term"><em class="parameter"><code>use_stock</code></em> :</span></p></td>
319
319
<td>
320
 
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menuitem should use a stock item
 
320
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menuitem should use a stock item
321
321
</td>
322
322
</tr>
323
323
</tbody>
327
327
<hr>
328
328
<div class="refsect2" title="gtk_image_menu_item_get_always_show_image ()">
329
329
<a name="gtk-image-menu-item-get-always-show-image"></a><h3>gtk_image_menu_item_get_always_show_image ()</h3>
330
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_image_menu_item_get_always_show_image
 
330
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_image_menu_item_get_always_show_image
331
331
                                                        (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>);</pre>
332
332
<p>
333
333
Returns whether the menu item will ignore the <a class="link" href="GtkSettings.html#GtkSettings--gtk-menu-images" title='The "gtk-menu-images" property'><span class="type">"gtk-menu-images"</span></a>
343
343
</tr>
344
344
<tr>
345
345
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
346
 
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu item will always show the image
 
346
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menu item will always show the image
347
347
 
348
348
</td>
349
349
</tr>
356
356
<a name="gtk-image-menu-item-set-always-show-image"></a><h3>gtk_image_menu_item_set_always_show_image ()</h3>
357
357
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_image_menu_item_set_always_show_image
358
358
                                                        (<em class="parameter"><code><a class="link" href="GtkImageMenuItem.html" title="GtkImageMenuItem"><span class="type">GtkImageMenuItem</span></a> *image_menu_item</code></em>,
359
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> always_show</code></em>);</pre>
 
359
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> always_show</code></em>);</pre>
360
360
<p>
361
 
If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the menu item will ignore the <a class="link" href="GtkSettings.html#GtkSettings--gtk-menu-images" title='The "gtk-menu-images" property'><span class="type">"gtk-menu-images"</span></a> 
 
361
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the menu item will ignore the <a class="link" href="GtkSettings.html#GtkSettings--gtk-menu-images" title='The "gtk-menu-images" property'><span class="type">"gtk-menu-images"</span></a> 
362
362
setting and always show the image, if available.
363
363
</p>
364
364
<p>
376
376
<tr>
377
377
<td><p><span class="term"><em class="parameter"><code>always_show</code></em> :</span></p></td>
378
378
<td>
379
 
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menuitem should always show the image
 
379
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the menuitem should always show the image
380
380
</td>
381
381
</tr>
382
382
</tbody>
429
429
<hr>
430
430
<div class="refsect2" title='The "always-show-image" property'>
431
431
<a name="GtkImageMenuItem--always-show-image"></a><h3>The <code class="literal">"always-show-image"</code> property</h3>
432
 
<pre class="programlisting">  "always-show-image"        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
 
432
<pre class="programlisting">  "always-show-image"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
433
433
<p>
434
 
If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the menu item will ignore the <a class="link" href="GtkSettings.html#GtkSettings--gtk-menu-images" title='The "gtk-menu-images" property'><span class="type">"gtk-menu-images"</span></a>
 
434
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the menu item will ignore the <a class="link" href="GtkSettings.html#GtkSettings--gtk-menu-images" title='The "gtk-menu-images" property'><span class="type">"gtk-menu-images"</span></a>
435
435
setting and always show the image, if available.
436
436
</p>
437
437
<p>
450
450
<hr>
451
451
<div class="refsect2" title='The "use-stock" property'>
452
452
<a name="GtkImageMenuItem--use-stock"></a><h3>The <code class="literal">"use-stock"</code> property</h3>
453
 
<pre class="programlisting">  "use-stock"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
 
453
<pre class="programlisting">  "use-stock"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write / Construct</pre>
454
454
<p>
455
 
If <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the label set in the menuitem is used as a
 
455
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the label set in the menuitem is used as a
456
456
stock id to select the stock item for the item.
457
457
</p>
458
458
<p>Default value: FALSE</p>