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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-05-04 12:24:25 UTC
  • mfrom: (1.1.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20070504122425-0m8midgzrp40y8w2
Tags: 2.10.12-1ubuntu1
* Sync with Debian
* New upstream version:
  Fixed bugs:
  - 379414 file chooser warnings when changing path in the entry
  - 418585 GtkFileChooserDefault sizing code is not DPI independent
  - 419568 Crash in search if start with special letter
  - 435062 build dies with icon cache validation
  - 379399 Segfault to call gtk_print_operation_run twice.
  - 387889 cups backend has problems when there are too many printers
  - 418531 invalid read to gtkicontheme.c gtk_icon_theme_lookup_icon...
  - 423916 crash in color scheme code
  - 424042 Segmentation fault while quickly pressing Alt+arrows
  - 415260 Protect against negative indices when setting values in G...
  - 419171 XGetVisualInfo() may not set nxvisuals
  - 128852 Gdk cursors don't look good on win32
  - 344657 Ctrl-H doesn't toggle "Show Hidden Files" setting
  - 345345 PrintOperation::paginate is not emitted for class handler
  - 347567 GtkPrintOperation::end-print is not emitted if it's cance...
  - 369112 gtk_ui_manager_add_ui should accept unnamed separator
  - 392015 Selected menu item invisible on Windows Vista
  - 399253 MS-Windows Theme Bottom Tab placement rendering glitches
  - 399425 gtk_input_dialog_fill_axes() adds child to gtkscrolledwin...
  - 403251 [patch] little memory leak in GtkPrintJob
  - 403267 [patch] memory leak in GtkPageSetupUnixDialog
  - 403470 MS-Windows Theme tab placement other than on top leaks a ...
  - 404506 Windows system fonts that have multi-byte font names cann...
  - 405089 Incorrect window placement for GtkEventBox private window
  - 405515 Minor leak in gtkfilesystemmodel.c
  - 405539 gdk_pixbuf_save() for PNG saver can return FALSE without ...
  - 415681 gdk_window_clear_area includes an extra line and column o...
  - 418219 GtkRecentChooser should apply filter before sorting and c...
  - 418403 Scroll to printer after selecting it from settings
  - 421985 _gtk_print_operation_platform_backend_launch_preview
  - 421990 gtk_print_job_get_surface
  - 421993 gtk_print_operation_init
  - 423064 Conditional jump or move depends on uninitialised value(s...
  - 423722 Fix printing header in gtk-demo
  - 424168 gtk_print_operation_run on async preview
  - 425655 Don't install gtk+-unix-print-2.0.pc on non-UNIX platforms
  - 425786 GDK segfaults if XineramaQueryScreens fails
  - 428665 Lpr Backend gets stuck in infinite loop during gtk_enumer...
  - 429902 GtkPrintOperation leaks cairo contextes
  - 431997 First delay of GdkPixbufAnimationIter is wrong
  - 433242 Inconsistent scroll arrow position calculations
  - 433972 Placing gtk.Expander inside a gtk.TextView() changes gtk....
  - 434261 _gtk_toolbar_elide_underscores incorrectly handles some s...
  - 383354 ctrl-L should make 'Location' entry disappear
  - 418673 gtk_recent_manager_add_item
  - 429732 gtk_accel_group_finalize accesses invalid memory
  - 435028 WM_CLIENT_LEADER is wrong on the leader_window
  - 431067 Background of the header window is not updated
  - 338843 add recent files support inside the ui manager
  - 148535 add drop shadow to menus, tooltips, etc. under Windows XP
* debian/control.in:
  - Conflicts on ubuntulooks (<= 0.9.11-1)
* debian/patches/15_default-fallback-icon-theme.patch:
  - patch from Debian, fallback on gnome icon theme

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
5
<title>GtkToggleAction</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
 
7
<link rel="start" href="index.html" title="GTK+ Reference Manual">
 
8
<link rel="up" href="Actions.html" title="Action-based menus and toolbars">
 
9
<link rel="prev" href="GtkAction.html" title="GtkAction">
 
10
<link rel="next" href="GtkRadioAction.html" title="GtkRadioAction">
 
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="part" href="gtk.html" title="Part&#160;I.&#160;GTK+ Overview">
 
14
<link rel="part" href="gtkbase.html" title="Part&#160;II.&#160;GTK+ Core Reference">
 
15
<link rel="part" href="gtkobjects.html" title="Part&#160;III.&#160;GTK+ Widgets and Objects">
 
16
<link rel="chapter" href="ch01.html" title="Object Hierarchy">
 
17
<link rel="chapter" href="ch02.html" title="Widget Gallery">
 
18
<link rel="chapter" href="WindowWidgets.html" title="Windows">
 
19
<link rel="chapter" href="DisplayWidgets.html" title="Display Widgets">
 
20
<link rel="chapter" href="ButtonWidgets.html" title="Buttons and Toggles">
 
21
<link rel="chapter" href="NumericEntry.html" title="Numeric/Text Data Entry">
 
22
<link rel="chapter" href="TextWidgetObjects.html" title="Multiline Text Editor">
 
23
<link rel="chapter" href="TreeWidgetObjects.html" title="Tree, List and Icon Grid Widgets">
 
24
<link rel="chapter" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
 
25
<link rel="chapter" href="Actions.html" title="Action-based menus and toolbars">
 
26
<link rel="chapter" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
 
27
<link rel="chapter" href="LayoutContainers.html" title="Layout Containers">
 
28
<link rel="chapter" href="Ornaments.html" title="Ornaments">
 
29
<link rel="chapter" href="ScrollingWidgets.html" title="Scrolling">
 
30
<link rel="chapter" href="Printing.html" title="Printing">
 
31
<link rel="chapter" href="MiscObjects.html" title="Miscellaneous">
 
32
<link rel="chapter" href="AbstractObjects.html" title="Abstract Base Classes">
 
33
<link rel="chapter" href="PlugSocket.html" title="Cross-process Embedding">
 
34
<link rel="chapter" href="SpecialObjects.html" title="Special-purpose features">
 
35
<link rel="chapter" href="RecentDocuments.html" title="Recently Used Documents">
 
36
<link rel="chapter" href="DeprecatedObjects.html" title="Deprecated">
 
37
<link rel="part" href="migrating.html" title="Part&#160;IV.&#160;Migrating from Previous Versions of GTK+">
 
38
<link rel="chapter" href="gtk-migrating-checklist.html" title="Migration Checklist">
 
39
<link rel="chapter" href="gtk-migrating-GtkFileChooser.html" title="Migrating from GtkFileSelection to GtkFileChooser">
 
40
<link rel="chapter" href="gtk-migrating-GtkAction.html" title="Migrating from old menu and toolbar systems to GtkAction">
 
41
<link rel="chapter" href="gtk-migrating-GtkComboBox.html" title="Migrating from GtkOptionMenu and GtkCombo to GtkComboBox and GtkComboBoxEntry">
 
42
<link rel="chapter" href="gtk-migrating-GtkIconView.html" title="Migrating from GnomeIconList to GtkIconView">
 
43
<link rel="chapter" href="gtk-migrating-GtkAboutDialog.html" title="Migrating from GnomeAbout to GtkAboutDialog">
 
44
<link rel="chapter" href="gtk-migrating-GtkColorButton.html" title="Migrating from GnomeColorPicker to GtkColorButton">
 
45
<link rel="chapter" href="gtk-migrating-GtkAssistant.html" title="Migrating from GnomeDruid to GtkAssistant">
 
46
<link rel="chapter" href="gtk-migrating-GtkRecentChooser.html" title="Migrating from EggRecent to GtkRecentChooser">
 
47
<link rel="chapter" href="gtk-migrating-GtkLinkButton.html" title="Migrating from GnomeHRef to GtkLinkButton">
 
48
<link rel="part" href="pt05.html" title="Part&#160;V.&#160;GTK+ Tools">
 
49
<link rel="glossary" href="glossary.html" title="Glossary">
 
50
<link rel="index" href="ix01.html" title="Index">
 
51
<link rel="index" href="ix02.html" title="Index of deprecated symbols">
 
52
<link rel="index" href="ix03.html" title="Index of new symbols in 2.2">
 
53
<link rel="index" href="ix04.html" title="Index of new symbols in 2.4">
 
54
<link rel="index" href="ix05.html" title="Index of new symbols in 2.6">
 
55
<link rel="index" href="ix06.html" title="Index of new symbols in 2.8">
 
56
<link rel="index" href="ix07.html" title="Index of new symbols in 2.10">
 
57
</head>
 
58
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
59
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
60
<tr valign="middle">
 
61
<td><a accesskey="p" href="GtkAction.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
62
<td><a accesskey="u" href="Actions.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
63
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
64
<th width="100%" align="center">GTK+ Reference Manual</th>
 
65
<td><a accesskey="n" href="GtkRadioAction.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
66
</tr>
 
67
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id3444650" class="shortcut">Top</a>
 
68
                  &#160;|&#160;
 
69
                  <a href="#id3444970" class="shortcut">Description</a>
 
70
                  &#160;|&#160;
 
71
                  <a href="#id3444851" class="shortcut">Object Hierarchy</a>
 
72
                  &#160;|&#160;
 
73
                  <a href="#id3444890" class="shortcut">Properties</a>
 
74
                  &#160;|&#160;
 
75
                  <a href="#id3444942" class="shortcut">Signals</a></nobr></td></tr>
 
76
</table>
 
77
<div class="refentry" lang="en">
 
78
<a name="GtkToggleAction"></a><div class="titlepage"></div>
 
79
<div class="refnamediv"><table width="100%"><tr>
 
80
<td valign="top">
 
81
<h2>
 
82
<a name="id3444650"></a><span class="refentrytitle">GtkToggleAction</span>
 
83
</h2>
 
84
<p>GtkToggleAction &#8212; An action which can be toggled between two states</p>
 
85
</td>
 
86
<td valign="top" align="right"></td>
 
87
</tr></table></div>
 
88
<div class="refsynopsisdiv">
 
89
<h2>Synopsis</h2>
 
90
<pre class="synopsis">
 
91
 
 
92
#include &lt;gtk/gtk.h&gt;
 
93
 
 
94
 
 
95
                    <a href="GtkToggleAction.html#GtkToggleAction-struct">GtkToggleAction</a>;
 
96
<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a>*    <a href="GtkToggleAction.html#gtk-toggle-action-new">gtk_toggle_action_new</a>               (const gchar *name,
 
97
                                                         const gchar *label,
 
98
                                                         const gchar *tooltip,
 
99
                                                         const gchar *stock_id);
 
100
void                <a href="GtkToggleAction.html#gtk-toggle-action-toggled">gtk_toggle_action_toggled</a>           (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action);
 
101
void                <a href="GtkToggleAction.html#gtk-toggle-action-set-active">gtk_toggle_action_set_active</a>        (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action,
 
102
                                                         gboolean is_active);
 
103
gboolean            <a href="GtkToggleAction.html#gtk-toggle-action-get-active">gtk_toggle_action_get_active</a>        (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action);
 
104
void                <a href="GtkToggleAction.html#gtk-toggle-action-set-draw-as-radio">gtk_toggle_action_set_draw_as_radio</a> (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action,
 
105
                                                         gboolean draw_as_radio);
 
106
gboolean            <a href="GtkToggleAction.html#gtk-toggle-action-get-draw-as-radio">gtk_toggle_action_get_draw_as_radio</a> (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action);
 
107
 
 
108
 
 
109
</pre>
 
110
</div>
 
111
<div class="refsect1" lang="en">
 
112
<a name="id3444851"></a><h2>Object Hierarchy</h2>
 
113
<pre class="synopsis">
 
114
 
 
115
  GObject
 
116
   +----<a href="GtkAction.html" title="GtkAction">GtkAction</a>
 
117
         +----GtkToggleAction
 
118
               +----<a href="GtkRadioAction.html" title="GtkRadioAction">GtkRadioAction</a>
 
119
</pre>
 
120
</div>
 
121
<div class="refsect1" lang="en">
 
122
<a name="id3444890"></a><h2>Properties</h2>
 
123
<pre class="synopsis">
 
124
 
 
125
  "<a href="GtkToggleAction.html#GtkToggleAction--active">active</a>"                   gboolean              : Read / Write
 
126
  "<a href="GtkToggleAction.html#GtkToggleAction--draw-as-radio">draw-as-radio</a>"            gboolean              : Read / Write
 
127
</pre>
 
128
</div>
 
129
<div class="refsect1" lang="en">
 
130
<a name="id3444942"></a><h2>Signals</h2>
 
131
<pre class="synopsis">
 
132
 
 
133
  "<a href="GtkToggleAction.html#GtkToggleAction-toggled">toggled</a>"                                        : Run First
 
134
</pre>
 
135
</div>
 
136
<div class="refsect1" lang="en">
 
137
<a name="id3444970"></a><h2>Description</h2>
 
138
<p>
 
139
A <a href="GtkToggleAction.html" title="GtkToggleAction"><span class="type">GtkToggleAction</span></a> corresponds roughly to a <a href="GtkCheckMenuItem.html" title="GtkCheckMenuItem"><span class="type">GtkCheckMenuItem</span></a>. It has an
 
140
"active" state specifying whether the action has been checked or not.
 
141
</p>
 
142
</div>
 
143
<div class="refsect1" lang="en">
 
144
<a name="id3445002"></a><h2>Details</h2>
 
145
<div class="refsect2" lang="en">
 
146
<a name="id3445012"></a><h3>
 
147
<a name="GtkToggleAction-struct"></a>GtkToggleAction</h3>
 
148
<a class="indexterm" name="id3445026"></a><pre class="programlisting">typedef struct _GtkToggleAction GtkToggleAction;</pre>
 
149
<p>
 
150
The <span class="structname">GtkToggleAction</span> struct contains only 
 
151
private members and should not be accessed directly.
 
152
</p>
 
153
</div>
 
154
<hr>
 
155
<div class="refsect2" lang="en">
 
156
<a name="id3445047"></a><h3>
 
157
<a name="gtk-toggle-action-new"></a>gtk_toggle_action_new ()</h3>
 
158
<a class="indexterm" name="id3445061"></a><pre class="programlisting"><a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a>*    gtk_toggle_action_new               (const gchar *name,
 
159
                                                         const gchar *label,
 
160
                                                         const gchar *tooltip,
 
161
                                                         const gchar *stock_id);</pre>
 
162
<p>
 
163
Creates a new <a href="GtkToggleAction.html" title="GtkToggleAction"><span class="type">GtkToggleAction</span></a> object. To add the action to
 
164
a <a href="GtkActionGroup.html" title="GtkActionGroup"><span class="type">GtkActionGroup</span></a> and set the accelerator for the action,
 
165
call <a href="GtkActionGroup.html#gtk-action-group-add-action-with-accel"><code class="function">gtk_action_group_add_action_with_accel()</code></a>.</p>
 
166
<p>
 
167
 
 
168
</p>
 
169
<div class="variablelist"><table border="0">
 
170
<col align="left" valign="top">
 
171
<tbody>
 
172
<tr>
 
173
<td><span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
 
174
<td> A unique name for the action
 
175
</td>
 
176
</tr>
 
177
<tr>
 
178
<td><span class="term"><em class="parameter"><code>label</code></em>&#160;:</span></td>
 
179
<td> The label displayed in menu items and on buttons
 
180
</td>
 
181
</tr>
 
182
<tr>
 
183
<td><span class="term"><em class="parameter"><code>tooltip</code></em>&#160;:</span></td>
 
184
<td> A tooltip for the action
 
185
</td>
 
186
</tr>
 
187
<tr>
 
188
<td><span class="term"><em class="parameter"><code>stock_id</code></em>&#160;:</span></td>
 
189
<td> The stock icon to display in widgets representing the action
 
190
</td>
 
191
</tr>
 
192
<tr>
 
193
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
194
<td> a new <a href="GtkToggleAction.html" title="GtkToggleAction"><span class="type">GtkToggleAction</span></a>
 
195
 
 
196
</td>
 
197
</tr>
 
198
</tbody>
 
199
</table></div>
 
200
<p class="since">Since  2.4
 
201
</p>
 
202
</div>
 
203
<hr>
 
204
<div class="refsect2" lang="en">
 
205
<a name="id3445234"></a><h3>
 
206
<a name="gtk-toggle-action-toggled"></a>gtk_toggle_action_toggled ()</h3>
 
207
<a class="indexterm" name="id3445250"></a><pre class="programlisting">void                gtk_toggle_action_toggled           (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action);</pre>
 
208
<p>
 
209
Emits the "toggled" signal on the toggle action.</p>
 
210
<p>
 
211
 
 
212
</p>
 
213
<div class="variablelist"><table border="0">
 
214
<col align="left" valign="top">
 
215
<tbody><tr>
 
216
<td><span class="term"><em class="parameter"><code>action</code></em>&#160;:</span></td>
 
217
<td> the action object
 
218
</td>
 
219
</tr></tbody>
 
220
</table></div>
 
221
<p class="since">Since  2.4
 
222
</p>
 
223
</div>
 
224
<hr>
 
225
<div class="refsect2" lang="en">
 
226
<a name="id3445307"></a><h3>
 
227
<a name="gtk-toggle-action-set-active"></a>gtk_toggle_action_set_active ()</h3>
 
228
<a class="indexterm" name="id3445323"></a><pre class="programlisting">void                gtk_toggle_action_set_active        (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action,
 
229
                                                         gboolean is_active);</pre>
 
230
<p>
 
231
Sets the checked state on the toggle action.</p>
 
232
<p>
 
233
 
 
234
</p>
 
235
<div class="variablelist"><table border="0">
 
236
<col align="left" valign="top">
 
237
<tbody>
 
238
<tr>
 
239
<td><span class="term"><em class="parameter"><code>action</code></em>&#160;:</span></td>
 
240
<td> the action object
 
241
</td>
 
242
</tr>
 
243
<tr>
 
244
<td><span class="term"><em class="parameter"><code>is_active</code></em>&#160;:</span></td>
 
245
<td> whether the action should be checked or not
 
246
</td>
 
247
</tr>
 
248
</tbody>
 
249
</table></div>
 
250
<p class="since">Since  2.4
 
251
</p>
 
252
</div>
 
253
<hr>
 
254
<div class="refsect2" lang="en">
 
255
<a name="id3445404"></a><h3>
 
256
<a name="gtk-toggle-action-get-active"></a>gtk_toggle_action_get_active ()</h3>
 
257
<a class="indexterm" name="id3445419"></a><pre class="programlisting">gboolean            gtk_toggle_action_get_active        (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action);</pre>
 
258
<p>
 
259
Returns the checked state of the toggle action.</p>
 
260
<p>
 
261
 
 
262
</p>
 
263
<div class="variablelist"><table border="0">
 
264
<col align="left" valign="top">
 
265
<tbody>
 
266
<tr>
 
267
<td><span class="term"><em class="parameter"><code>action</code></em>&#160;:</span></td>
 
268
<td> the action object
 
269
</td>
 
270
</tr>
 
271
<tr>
 
272
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
273
<td> the checked state of the toggle action
 
274
 
 
275
</td>
 
276
</tr>
 
277
</tbody>
 
278
</table></div>
 
279
<p class="since">Since  2.4
 
280
</p>
 
281
</div>
 
282
<hr>
 
283
<div class="refsect2" lang="en">
 
284
<a name="id3445488"></a><h3>
 
285
<a name="gtk-toggle-action-set-draw-as-radio"></a>gtk_toggle_action_set_draw_as_radio ()</h3>
 
286
<a class="indexterm" name="id3445504"></a><pre class="programlisting">void                gtk_toggle_action_set_draw_as_radio (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action,
 
287
                                                         gboolean draw_as_radio);</pre>
 
288
<p>
 
289
Sets whether the action should have proxies like a radio action.</p>
 
290
<p>
 
291
 
 
292
</p>
 
293
<div class="variablelist"><table border="0">
 
294
<col align="left" valign="top">
 
295
<tbody>
 
296
<tr>
 
297
<td><span class="term"><em class="parameter"><code>action</code></em>&#160;:</span></td>
 
298
<td> the action object
 
299
</td>
 
300
</tr>
 
301
<tr>
 
302
<td><span class="term"><em class="parameter"><code>draw_as_radio</code></em>&#160;:</span></td>
 
303
<td> whether the action should have proxies like a radio 
 
304
   action
 
305
</td>
 
306
</tr>
 
307
</tbody>
 
308
</table></div>
 
309
<p class="since">Since  2.4
 
310
</p>
 
311
</div>
 
312
<hr>
 
313
<div class="refsect2" lang="en">
 
314
<a name="id3445585"></a><h3>
 
315
<a name="gtk-toggle-action-get-draw-as-radio"></a>gtk_toggle_action_get_draw_as_radio ()</h3>
 
316
<a class="indexterm" name="id3445602"></a><pre class="programlisting">gboolean            gtk_toggle_action_get_draw_as_radio (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *action);</pre>
 
317
<p>
 
318
Returns whether the action should have proxies like a radio action.</p>
 
319
<p>
 
320
 
 
321
</p>
 
322
<div class="variablelist"><table border="0">
 
323
<col align="left" valign="top">
 
324
<tbody>
 
325
<tr>
 
326
<td><span class="term"><em class="parameter"><code>action</code></em>&#160;:</span></td>
 
327
<td> the action object
 
328
</td>
 
329
</tr>
 
330
<tr>
 
331
<td><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
 
332
<td> whether the action should have proxies like a radio action.
 
333
 
 
334
</td>
 
335
</tr>
 
336
</tbody>
 
337
</table></div>
 
338
<p class="since">Since  2.4
 
339
</p>
 
340
</div>
 
341
</div>
 
342
<div class="refsect1" lang="en">
 
343
<a name="id3445672"></a><h2>Property Details</h2>
 
344
<div class="refsect2" lang="en">
 
345
<a name="id3445682"></a><h3>
 
346
<a name="GtkToggleAction--active"></a>The "<code class="literal">active</code>" property</h3>
 
347
<a class="indexterm" name="id3445699"></a><pre class="programlisting">  "active"                   gboolean              : Read / Write</pre>
 
348
<p>
 
349
If the toggle action should be active in or not.</p>
 
350
<p>
 
351
 
 
352
</p>
 
353
<p>Default value: FALSE</p>
 
354
<p>Since  2.10
 
355
</p>
 
356
</div>
 
357
<hr>
 
358
<div class="refsect2" lang="en">
 
359
<a name="id3445736"></a><h3>
 
360
<a name="GtkToggleAction--draw-as-radio"></a>The "<code class="literal">draw-as-radio</code>" property</h3>
 
361
<a class="indexterm" name="id3445752"></a><pre class="programlisting">  "draw-as-radio"            gboolean              : Read / Write</pre>
 
362
<p>Whether the proxies for this action look like radio action proxies.</p>
 
363
<p>Default value: FALSE</p>
 
364
</div>
 
365
</div>
 
366
<div class="refsect1" lang="en">
 
367
<a name="id3445781"></a><h2>Signal Details</h2>
 
368
<div class="refsect2" lang="en">
 
369
<a name="id3445791"></a><h3>
 
370
<a name="GtkToggleAction-toggled"></a>The "toggled" signal</h3>
 
371
<a class="indexterm" name="id3445802"></a><pre class="programlisting">void                user_function                      (<a href="GtkToggleAction.html" title="GtkToggleAction">GtkToggleAction</a> *toggleaction,
 
372
                                                        gpointer         user_data)         : Run First</pre>
 
373
<p>
 
374
 
 
375
</p>
 
376
<div class="variablelist"><table border="0">
 
377
<col align="left" valign="top">
 
378
<tbody>
 
379
<tr>
 
380
<td><span class="term"><em class="parameter"><code>toggleaction</code></em>&#160;:</span></td>
 
381
<td>the object which received the signal.
 
382
 
 
383
</td>
 
384
</tr>
 
385
<tr>
 
386
<td><span class="term"><em class="parameter"><code>user_data</code></em>&#160;:</span></td>
 
387
<td>user data set when the signal handler was connected.</td>
 
388
</tr>
 
389
</tbody>
 
390
</table></div>
 
391
</div>
 
392
</div>
 
393
</div>
 
394
</body>
 
395
</html>