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

« back to all changes in this revision

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

Import upstream version 2.17.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GtkCheckMenuItem</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.74.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
7
<link rel="home" href="index.html" title="GTK+ Reference Manual">
8
8
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
9
9
<link rel="prev" href="GtkRadioMenuItem.html" title="GtkRadioMenuItem">
49
49
<link rel="chapter" href="gtk-migrating-GtkBuilder.html" title="Migrating from libglade to GtkBuilder">
50
50
<link rel="chapter" href="gtk-migrating-tooltips.html" title="Migrating from GtkTooltips to GtkTooltip">
51
51
<link rel="chapter" href="gtk-migrating-entry-icons.html" title="Migrating from SexyIconEntry to GtkEntry">
 
52
<link rel="chapter" href="gtk-migrating-label-links.html" title="Migrating from SexyUrlLabel to GtkLabel">
 
53
<link rel="chapter" href="gtk-migrating-ClientSideWindows.html" title="Migrating to client-side windows">
52
54
<link rel="part" href="pt05.html" title="Part V. GTK+ Tools">
53
55
<link rel="glossary" href="glossary.html" title="Glossary">
54
56
<link rel="index" href="api-index-full.html" title="Index of all symbols">
61
63
<link rel="index" href="api-index-2-12.html" title="Index of new symbols in 2.12">
62
64
<link rel="index" href="api-index-2-14.html" title="Index of new symbols in 2.14">
63
65
<link rel="index" href="api-index-2-16.html" title="Index of new symbols in 2.16">
 
66
<link rel="index" href="api-index-2-18.html" title="Index of new symbols in 2.18">
64
67
</head>
65
68
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
66
69
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
87
90
                <a href="#GtkCheckMenuItem.signals" class="shortcut">Signals</a>
88
91
</td></tr>
89
92
</table>
90
 
<div class="refentry" lang="en">
 
93
<div class="refentry" title="GtkCheckMenuItem">
91
94
<a name="GtkCheckMenuItem"></a><div class="titlepage"></div>
92
95
<div class="refnamediv"><table width="100%"><tr>
93
96
<td valign="top">
96
99
</td>
97
100
<td valign="top" align="right"></td>
98
101
</tr></table></div>
99
 
<div class="refsynopsisdiv">
 
102
<div class="refsynopsisdiv" title="Synopsis">
100
103
<a name="GtkCheckMenuItem.synopsis"></a><h2>Synopsis</h2>
101
104
<pre class="synopsis">
102
105
 
144
147
                                                        (<a class="link" href="GtkCheckMenuItem.html" title="GtkCheckMenuItem">GtkCheckMenuItem</a> *check_menu_item);
145
148
</pre>
146
149
</div>
147
 
<div class="refsect1" lang="en">
 
150
<div class="refsect1" title="Object Hierarchy">
148
151
<a name="GtkCheckMenuItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
149
152
<pre class="synopsis">
150
153
  <a
163
166
                                                   +----<a class="link" href="GtkRadioMenuItem.html" title="GtkRadioMenuItem">GtkRadioMenuItem</a>
164
167
</pre>
165
168
</div>
166
 
<div class="refsect1" lang="en">
 
169
<div class="refsect1" title="Implemented Interfaces">
167
170
<a name="GtkCheckMenuItem.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
168
171
<p>
169
172
GtkCheckMenuItem implements
170
173
 <a class="link" href="GtkActivatable.html" title="GtkActivatable">GtkActivatable</a>,  AtkImplementorIface and  <a class="link" href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
171
174
</div>
172
 
<div class="refsect1" lang="en">
 
175
<div class="refsect1" title="Properties">
173
176
<a name="GtkCheckMenuItem.properties"></a><h2>Properties</h2>
174
177
<pre class="synopsis">
175
178
  "<a class="link" href="GtkCheckMenuItem.html#GtkCheckMenuItem--active" title='The "active" property'>active</a>"                   <a
183
186
>gboolean</a>              : Read / Write
184
187
</pre>
185
188
</div>
186
 
<div class="refsect1" lang="en">
 
189
<div class="refsect1" title="Style Properties">
187
190
<a name="GtkCheckMenuItem.style-properties"></a><h2>Style Properties</h2>
188
191
<pre class="synopsis">
189
192
  "<a class="link" href="GtkCheckMenuItem.html#GtkCheckMenuItem--s-indicator-size" title='The "indicator-size" style property'>indicator-size</a>"           <a
191
194
>gint</a>                  : Read
192
195
</pre>
193
196
</div>
194
 
<div class="refsect1" lang="en">
 
197
<div class="refsect1" title="Signals">
195
198
<a name="GtkCheckMenuItem.signals"></a><h2>Signals</h2>
196
199
<pre class="synopsis">
197
200
  "<a class="link" href="GtkCheckMenuItem.html#GtkCheckMenuItem-toggled" title='The "toggled" signal'>toggled</a>"                                        : Run First
198
201
</pre>
199
202
</div>
200
 
<div class="refsect1" lang="en">
 
203
<div class="refsect1" title="Description">
201
204
<a name="GtkCheckMenuItem.description"></a><h2>Description</h2>
202
205
<p>
203
206
A <a class="link" href="GtkCheckMenuItem.html" title="GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a> is a menu item that maintains the state of a boolean
210
213
toggles the value.
211
214
</p>
212
215
</div>
213
 
<div class="refsect1" lang="en">
 
216
<div class="refsect1" title="Details">
214
217
<a name="GtkCheckMenuItem.details"></a><h2>Details</h2>
215
 
<div class="refsect2" lang="en">
 
218
<div class="refsect2" title="GtkCheckMenuItem">
216
219
<a name="GtkCheckMenuItem-struct"></a><h3>GtkCheckMenuItem</h3>
217
220
<pre class="programlisting">typedef struct _GtkCheckMenuItem GtkCheckMenuItem;</pre>
218
221
<p>
237
240
</p>
238
241
</div>
239
242
<hr>
240
 
<div class="refsect2" lang="en">
 
243
<div class="refsect2" title="gtk_check_menu_item_new ()">
241
244
<a name="gtk-check-menu-item-new"></a><h3>gtk_check_menu_item_new ()</h3>
242
245
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_check_menu_item_new             (void);</pre>
243
246
<p>
253
256
</table></div>
254
257
</div>
255
258
<hr>
256
 
<div class="refsect2" lang="en">
 
259
<div class="refsect2" title="gtk_check_menu_item_new_with_label ()">
257
260
<a name="gtk-check-menu-item-new-with-label"></a><h3>gtk_check_menu_item_new_with_label ()</h3>
258
261
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_check_menu_item_new_with_label  (const <a
259
262
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
278
281
</table></div>
279
282
</div>
280
283
<hr>
281
 
<div class="refsect2" lang="en">
 
284
<div class="refsect2" title="gtk_check_menu_item_new_with_mnemonic ()">
282
285
<a name="gtk-check-menu-item-new-with-mnemonic"></a><h3>gtk_check_menu_item_new_with_mnemonic ()</h3>
283
286
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>*          gtk_check_menu_item_new_with_mnemonic
284
287
                                                        (const <a
308
311
</table></div>
309
312
</div>
310
313
<hr>
311
 
<div class="refsect2" lang="en">
 
314
<div class="refsect2" title="gtk_check_menu_item_set_state">
312
315
<a name="gtk-check-menu-item-set-state"></a><h3>gtk_check_menu_item_set_state</h3>
313
316
<pre class="programlisting">#define     gtk_check_menu_item_set_state           gtk_check_menu_item_set_active
314
317
</pre>
315
 
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
318
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
316
319
<h3 class="title">Warning</h3>
317
320
<p><code class="literal">gtk_check_menu_item_set_state</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="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> instead.</p>
318
321
</div>
321
324
</p>
322
325
</div>
323
326
<hr>
324
 
<div class="refsect2" lang="en">
 
327
<div class="refsect2" title="gtk_check_menu_item_get_active ()">
325
328
<a name="gtk-check-menu-item-get-active"></a><h3>gtk_check_menu_item_get_active ()</h3>
326
329
<pre class="programlisting"><a
327
330
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
350
353
</table></div>
351
354
</div>
352
355
<hr>
353
 
<div class="refsect2" lang="en">
 
356
<div class="refsect2" title="gtk_check_menu_item_set_active ()">
354
357
<a name="gtk-check-menu-item-set-active"></a><h3>gtk_check_menu_item_set_active ()</h3>
355
358
<pre class="programlisting">void                gtk_check_menu_item_set_active      (<a class="link" href="GtkCheckMenuItem.html" title="GtkCheckMenuItem">GtkCheckMenuItem</a> *check_menu_item,
356
359
                                                         <a
376
379
</table></div>
377
380
</div>
378
381
<hr>
379
 
<div class="refsect2" lang="en">
 
382
<div class="refsect2" title="gtk_check_menu_item_set_show_toggle ()">
380
383
<a name="gtk-check-menu-item-set-show-toggle"></a><h3>gtk_check_menu_item_set_show_toggle ()</h3>
381
384
<pre class="programlisting">void                gtk_check_menu_item_set_show_toggle (<a class="link" href="GtkCheckMenuItem.html" title="GtkCheckMenuItem">GtkCheckMenuItem</a> *menu_item,
382
385
                                                         <a
383
386
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
384
387
>gboolean</a> always);</pre>
385
 
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
 
388
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
386
389
<h3 class="title">Warning</h3>
387
390
<p><code class="literal">gtk_check_menu_item_set_show_toggle</code> is deprecated and should not be used in newly-written code.</p>
388
391
</div>
408
411
</table></div>
409
412
</div>
410
413
<hr>
411
 
<div class="refsect2" lang="en">
 
414
<div class="refsect2" title="gtk_check_menu_item_toggled ()">
412
415
<a name="gtk-check-menu-item-toggled"></a><h3>gtk_check_menu_item_toggled ()</h3>
413
416
<pre class="programlisting">void                gtk_check_menu_item_toggled         (<a class="link" href="GtkCheckMenuItem.html" title="GtkCheckMenuItem">GtkCheckMenuItem</a> *check_menu_item);</pre>
414
417
<p>
424
427
</table></div>
425
428
</div>
426
429
<hr>
427
 
<div class="refsect2" lang="en">
 
430
<div class="refsect2" title="gtk_check_menu_item_get_inconsistent ()">
428
431
<a name="gtk-check-menu-item-get-inconsistent"></a><h3>gtk_check_menu_item_get_inconsistent ()</h3>
429
432
<pre class="programlisting"><a
430
433
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
453
456
</table></div>
454
457
</div>
455
458
<hr>
456
 
<div class="refsect2" lang="en">
 
459
<div class="refsect2" title="gtk_check_menu_item_set_inconsistent ()">
457
460
<a name="gtk-check-menu-item-set-inconsistent"></a><h3>gtk_check_menu_item_set_inconsistent ()</h3>
458
461
<pre class="programlisting">void                gtk_check_menu_item_set_inconsistent
459
462
                                                        (<a class="link" href="GtkCheckMenuItem.html" title="GtkCheckMenuItem">GtkCheckMenuItem</a> *check_menu_item,
490
493
</table></div>
491
494
</div>
492
495
<hr>
493
 
<div class="refsect2" lang="en">
 
496
<div class="refsect2" title="gtk_check_menu_item_set_draw_as_radio ()">
494
497
<a name="gtk-check-menu-item-set-draw-as-radio"></a><h3>gtk_check_menu_item_set_draw_as_radio ()</h3>
495
498
<pre class="programlisting">void                gtk_check_menu_item_set_draw_as_radio
496
499
                                                        (<a class="link" href="GtkCheckMenuItem.html" title="GtkCheckMenuItem">GtkCheckMenuItem</a> *check_menu_item,
519
522
<p class="since">Since 2.4</p>
520
523
</div>
521
524
<hr>
522
 
<div class="refsect2" lang="en">
 
525
<div class="refsect2" title="gtk_check_menu_item_get_draw_as_radio ()">
523
526
<a name="gtk-check-menu-item-get-draw-as-radio"></a><h3>gtk_check_menu_item_get_draw_as_radio ()</h3>
524
527
<pre class="programlisting"><a
525
528
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
548
551
<p class="since">Since 2.4</p>
549
552
</div>
550
553
</div>
551
 
<div class="refsect1" lang="en">
 
554
<div class="refsect1" title="Property Details">
552
555
<a name="GtkCheckMenuItem.property-details"></a><h2>Property Details</h2>
553
 
<div class="refsect2" lang="en">
 
556
<div class="refsect2" title='The "active" property'>
554
557
<a name="GtkCheckMenuItem--active"></a><h3>The <code class="literal">"active"</code> property</h3>
555
558
<pre class="programlisting">  "active"                   <a
556
559
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
559
562
<p>Default value: FALSE</p>
560
563
</div>
561
564
<hr>
562
 
<div class="refsect2" lang="en">
 
565
<div class="refsect2" title='The "draw-as-radio" property'>
563
566
<a name="GtkCheckMenuItem--draw-as-radio"></a><h3>The <code class="literal">"draw-as-radio"</code> property</h3>
564
567
<pre class="programlisting">  "draw-as-radio"            <a
565
568
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
568
571
<p>Default value: FALSE</p>
569
572
</div>
570
573
<hr>
571
 
<div class="refsect2" lang="en">
 
574
<div class="refsect2" title='The "inconsistent" property'>
572
575
<a name="GtkCheckMenuItem--inconsistent"></a><h3>The <code class="literal">"inconsistent"</code> property</h3>
573
576
<pre class="programlisting">  "inconsistent"             <a
574
577
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
577
580
<p>Default value: FALSE</p>
578
581
</div>
579
582
</div>
580
 
<div class="refsect1" lang="en">
 
583
<div class="refsect1" title="Style Property Details">
581
584
<a name="GtkCheckMenuItem.style-property-details"></a><h2>Style Property Details</h2>
582
 
<div class="refsect2" lang="en">
 
585
<div class="refsect2" title='The "indicator-size" style property'>
583
586
<a name="GtkCheckMenuItem--s-indicator-size"></a><h3>The <code class="literal">"indicator-size"</code> style property</h3>
584
587
<pre class="programlisting">  "indicator-size"           <a
585
588
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
589
592
<p>Default value: 13</p>
590
593
</div>
591
594
</div>
592
 
<div class="refsect1" lang="en">
 
595
<div class="refsect1" title="Signal Details">
593
596
<a name="GtkCheckMenuItem.signal-details"></a><h2>Signal Details</h2>
594
 
<div class="refsect2" lang="en">
 
597
<div class="refsect2" title='The "toggled" signal'>
595
598
<a name="GtkCheckMenuItem-toggled"></a><h3>The <code class="literal">"toggled"</code> signal</h3>
596
599
<pre class="programlisting">void                user_function                      (<a class="link" href="GtkCheckMenuItem.html" title="GtkCheckMenuItem">GtkCheckMenuItem</a> *checkmenuitem,
597
600
                                                        <a