~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/gtk-gtkcheckmenuitem.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-06-11 12:19:30 UTC
  • mfrom: (1.11.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 175.
  • Revision ID: james.westby@ubuntu.com-20100611121930-n4pklvkoqdsg12vm
Tags: 2.21.2-1
* New upstream development release:
  + debian/rules,
    debian/libgtk2.0-0.symbols:
    - Update for new API symbols.
  + debian/patches/070_mandatory-relibtoolize.patch:
    - Regenerated for the new version.
  + debian/control.in:
    - Update GLib (build-) dependency to >= 2.25.8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
                    <a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem-struct" title="GtkCheckMenuItem">GtkCheckMenuItem</a>;
54
54
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-new" title="gtk_check_menu_item_new ()">gtk_check_menu_item_new</a>             (<em class="parameter"><code><span class="type">void</span></code></em>);
55
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-new-with-label" title="gtk_check_menu_item_new_with_label ()">gtk_check_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>);
 
55
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-new-with-label" title="gtk_check_menu_item_new_with_label ()">gtk_check_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>);
56
56
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-new-with-mnemonic" title="gtk_check_menu_item_new_with_mnemonic ()">gtk_check_menu_item_new_with_mnemonic</a>
57
 
                                                        (<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>);
 
57
                                                        (<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>);
58
58
#define             <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-set-state" title="gtk_check_menu_item_set_state">gtk_check_menu_item_set_state</a>
59
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-get-active" title="gtk_check_menu_item_get_active ()">gtk_check_menu_item_get_active</a>      (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</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="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-get-active" title="gtk_check_menu_item_get_active ()">gtk_check_menu_item_get_active</a>      (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>);
60
60
<span class="returnvalue">void</span>                <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-set-active" title="gtk_check_menu_item_set_active ()">gtk_check_menu_item_set_active</a>      (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_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> is_active</code></em>);
 
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> is_active</code></em>);
62
62
<span class="returnvalue">void</span>                <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-set-show-toggle" title="gtk_check_menu_item_set_show_toggle ()">gtk_check_menu_item_set_show_toggle</a> (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *menu_item</code></em>,
63
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> always</code></em>);
 
63
                                                         <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</code></em>);
64
64
<span class="returnvalue">void</span>                <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-toggled" title="gtk_check_menu_item_toggled ()">gtk_check_menu_item_toggled</a>         (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>);
65
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-get-inconsistent" title="gtk_check_menu_item_get_inconsistent ()">gtk_check_menu_item_get_inconsistent</a>
 
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-get-inconsistent" title="gtk_check_menu_item_get_inconsistent ()">gtk_check_menu_item_get_inconsistent</a>
66
66
                                                        (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>);
67
67
<span class="returnvalue">void</span>                <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-set-inconsistent" title="gtk_check_menu_item_set_inconsistent ()">gtk_check_menu_item_set_inconsistent</a>
68
68
                                                        (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>,
69
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);
 
69
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);
70
70
<span class="returnvalue">void</span>                <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-set-draw-as-radio" title="gtk_check_menu_item_set_draw_as_radio ()">gtk_check_menu_item_set_draw_as_radio</a>
71
71
                                                        (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>,
72
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> draw_as_radio</code></em>);
73
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-get-draw-as-radio" title="gtk_check_menu_item_get_draw_as_radio ()">gtk_check_menu_item_get_draw_as_radio</a>
 
72
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> draw_as_radio</code></em>);
 
73
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-get-draw-as-radio" title="gtk_check_menu_item_get_draw_as_radio ()">gtk_check_menu_item_get_draw_as_radio</a>
74
74
                                                        (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>);
75
75
</pre>
76
76
</div>
77
77
<div class="refsect1" title="Object Hierarchy">
78
78
<a name="gtk-gtkcheckmenuitem.object-hierarchy"></a><h2>Object Hierarchy</h2>
79
79
<pre class="synopsis">
80
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
81
 
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
80
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
81
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
82
82
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
83
83
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
84
84
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
98
98
<div class="refsect1" title="Properties">
99
99
<a name="gtk-gtkcheckmenuitem.properties"></a><h2>Properties</h2>
100
100
<pre class="synopsis">
101
 
  "<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem--active" title='The "active" property'>active</a>"                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
102
 
  "<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem--draw-as-radio" title='The "draw-as-radio" property'>draw-as-radio</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
103
 
  "<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem--inconsistent" title='The "inconsistent" property'>inconsistent</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
101
  "<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem--active" title='The "active" property'>active</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
102
  "<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem--draw-as-radio" title='The "draw-as-radio" property'>draw-as-radio</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
103
  "<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem--inconsistent" title='The "inconsistent" property'>inconsistent</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
104
104
</pre>
105
105
</div>
106
106
<div class="refsect1" title="Style Properties">
107
107
<a name="gtk-gtkcheckmenuitem.style-properties"></a><h2>Style Properties</h2>
108
108
<pre class="synopsis">
109
 
  "<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem--s-indicator-size" title='The "indicator-size" style property'>indicator-size</a>"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
 
109
  "<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem--s-indicator-size" title='The "indicator-size" style property'>indicator-size</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
110
110
</pre>
111
111
</div>
112
112
<div class="refsect1" title="Signals">
145
145
</colgroup>
146
146
<tbody><tr>
147
147
<td>
148
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> active;</td>
 
148
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> active;</td>
149
149
<td>TRUE if the check box is active.</td>
150
150
</tr></tbody>
151
151
</table></div>
171
171
<hr>
172
172
<div class="refsect2" title="gtk_check_menu_item_new_with_label ()">
173
173
<a name="gtk-check-menu-item-new-with-label"></a><h3>gtk_check_menu_item_new_with_label ()</h3>
174
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          gtk_check_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>
 
174
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          gtk_check_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>
175
175
<p>
176
176
Creates a new <a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> with a label.
177
177
</p>
195
195
<div class="refsect2" title="gtk_check_menu_item_new_with_mnemonic ()">
196
196
<a name="gtk-check-menu-item-new-with-mnemonic"></a><h3>gtk_check_menu_item_new_with_mnemonic ()</h3>
197
197
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          gtk_check_menu_item_new_with_mnemonic
198
 
                                                        (<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>
 
198
                                                        (<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>
199
199
<p>
200
200
Creates a new <a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> containing a label. The label
201
201
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
234
234
<hr>
235
235
<div class="refsect2" title="gtk_check_menu_item_get_active ()">
236
236
<a name="gtk-check-menu-item-get-active"></a><h3>gtk_check_menu_item_get_active ()</h3>
237
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_check_menu_item_get_active      (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>);</pre>
 
237
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_check_menu_item_get_active      (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>);</pre>
238
238
<p>
239
239
Returns whether the check menu item is active. See
240
240
<a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-set-active" title="gtk_check_menu_item_set_active ()"><code class="function">gtk_check_menu_item_set_active()</code></a>.
249
249
</tr>
250
250
<tr>
251
251
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
252
 
<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 is checked.
 
252
<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 is checked.
253
253
</td>
254
254
</tr>
255
255
</tbody>
259
259
<div class="refsect2" title="gtk_check_menu_item_set_active ()">
260
260
<a name="gtk-check-menu-item-set-active"></a><h3>gtk_check_menu_item_set_active ()</h3>
261
261
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_check_menu_item_set_active      (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>,
262
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_active</code></em>);</pre>
 
262
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> is_active</code></em>);</pre>
263
263
<p>
264
264
Sets the active state of the menu item's check box.
265
265
</p>
283
283
<div class="refsect2" title="gtk_check_menu_item_set_show_toggle ()">
284
284
<a name="gtk-check-menu-item-set-show-toggle"></a><h3>gtk_check_menu_item_set_show_toggle ()</h3>
285
285
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_check_menu_item_set_show_toggle (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *menu_item</code></em>,
286
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> always</code></em>);</pre>
 
286
                                                         <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</code></em>);</pre>
287
287
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
288
288
<h3 class="title">Warning</h3>
289
289
<p><code class="literal">gtk_check_menu_item_set_show_toggle</code> is deprecated and should not be used in newly-written code.</p>
328
328
<hr>
329
329
<div class="refsect2" title="gtk_check_menu_item_get_inconsistent ()">
330
330
<a name="gtk-check-menu-item-get-inconsistent"></a><h3>gtk_check_menu_item_get_inconsistent ()</h3>
331
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_check_menu_item_get_inconsistent
 
331
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_check_menu_item_get_inconsistent
332
332
                                                        (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>);</pre>
333
333
<p>
334
334
Retrieves the value set by <a class="link" href="gtk-gtkcheckmenuitem.html#gtk-check-menu-item-set-inconsistent" title="gtk_check_menu_item_set_inconsistent ()"><code class="function">gtk_check_menu_item_set_inconsistent()</code></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 inconsistent
 
346
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if inconsistent
347
347
</td>
348
348
</tr>
349
349
</tbody>
354
354
<a name="gtk-check-menu-item-set-inconsistent"></a><h3>gtk_check_menu_item_set_inconsistent ()</h3>
355
355
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_check_menu_item_set_inconsistent
356
356
                                                        (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>,
357
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
 
357
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
358
358
<p>
359
359
If the user has selected a range of elements (such as some text or
360
360
spreadsheet cells) that are affected by a boolean setting, and the
376
376
<tr>
377
377
<td><p><span class="term"><em class="parameter"><code>setting</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> to display an "inconsistent" third state check
 
379
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to display an "inconsistent" third state check
380
380
</td>
381
381
</tr>
382
382
</tbody>
387
387
<a name="gtk-check-menu-item-set-draw-as-radio"></a><h3>gtk_check_menu_item_set_draw_as_radio ()</h3>
388
388
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_check_menu_item_set_draw_as_radio
389
389
                                                        (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>,
390
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> draw_as_radio</code></em>);</pre>
 
390
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> draw_as_radio</code></em>);</pre>
391
391
<p>
392
392
Sets whether <em class="parameter"><code>check_menu_item</code></em> is drawn like a <a class="link" href="GtkRadioMenuItem.html" title="GtkRadioMenuItem"><span class="type">GtkRadioMenuItem</span></a>
393
393
</p>
411
411
<hr>
412
412
<div class="refsect2" title="gtk_check_menu_item_get_draw_as_radio ()">
413
413
<a name="gtk-check-menu-item-get-draw-as-radio"></a><h3>gtk_check_menu_item_get_draw_as_radio ()</h3>
414
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_check_menu_item_get_draw_as_radio
 
414
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_check_menu_item_get_draw_as_radio
415
415
                                                        (<em class="parameter"><code><a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *check_menu_item</code></em>);</pre>
416
416
<p>
417
417
Returns whether <em class="parameter"><code>check_menu_item</code></em> looks like a <a class="link" href="GtkRadioMenuItem.html" title="GtkRadioMenuItem"><span class="type">GtkRadioMenuItem</span></a>
439
439
<a name="gtk-gtkcheckmenuitem.property-details"></a><h2>Property Details</h2>
440
440
<div class="refsect2" title='The "active" property'>
441
441
<a name="GtkCheckMenuItem--active"></a><h3>The <code class="literal">"active"</code> property</h3>
442
 
<pre class="programlisting">  "active"                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
442
<pre class="programlisting">  "active"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
443
443
<p>Whether the menu item is checked.</p>
444
444
<p>Default value: FALSE</p>
445
445
</div>
446
446
<hr>
447
447
<div class="refsect2" title='The "draw-as-radio" property'>
448
448
<a name="GtkCheckMenuItem--draw-as-radio"></a><h3>The <code class="literal">"draw-as-radio"</code> property</h3>
449
 
<pre class="programlisting">  "draw-as-radio"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
449
<pre class="programlisting">  "draw-as-radio"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
450
450
<p>Whether the menu item looks like a radio menu item.</p>
451
451
<p>Default value: FALSE</p>
452
452
</div>
453
453
<hr>
454
454
<div class="refsect2" title='The "inconsistent" property'>
455
455
<a name="GtkCheckMenuItem--inconsistent"></a><h3>The <code class="literal">"inconsistent"</code> property</h3>
456
 
<pre class="programlisting">  "inconsistent"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
456
<pre class="programlisting">  "inconsistent"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
457
457
<p>Whether to display an "inconsistent" state.</p>
458
458
<p>Default value: FALSE</p>
459
459
</div>
462
462
<a name="gtk-gtkcheckmenuitem.style-property-details"></a><h2>Style Property Details</h2>
463
463
<div class="refsect2" title='The "indicator-size" style property'>
464
464
<a name="GtkCheckMenuItem--s-indicator-size"></a><h3>The <code class="literal">"indicator-size"</code> style property</h3>
465
 
<pre class="programlisting">  "indicator-size"           <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
 
465
<pre class="programlisting">  "indicator-size"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
466
466
<p>Size of check or radio indicator.</p>
467
467
<p>Allowed values: &gt;= 0</p>
468
468
<p>Default value: 13</p>
473
473
<div class="refsect2" title='The "toggled" signal'>
474
474
<a name="GtkCheckMenuItem-toggled"></a><h3>The <code class="literal">"toggled"</code> signal</h3>
475
475
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="gtk-gtkcheckmenuitem.html#GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> *checkmenuitem,
476
 
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>          user_data)          : Run First</pre>
 
476
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>          user_data)          : Run First</pre>
477
477
<p>
478
478
This signal is emitted when the state of the check box is changed.
479
479
</p>