Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Signals Properties Author(s) References
An action which can be toggled between two states
gtkToggleActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)
gtkToggleActionToggled(object)
gtkToggleActionSetActive(object, is.active)
gtkToggleActionGetActive(object)
gtkToggleActionSetDrawAsRadio(object, draw.as.radio)
gtkToggleActionGetDrawAsRadio(object)
gtkToggleAction(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)
1 2 3 4 | GObject
+----GtkAction
+----GtkToggleAction
+----GtkRadioAction
|
GtkToggleAction implements
GtkBuildable
.
A GtkToggleAction
corresponds roughly to a GtkCheckMenuItem
. It has an
"active" state specifying whether the action has been checked or not.
GtkToggleAction
The GtkToggleAction
struct contains only
private members and should not be accessed directly.
gtkToggleAction
is the equivalent of gtkToggleActionNew
.
toggled(toggleaction, user.data)
undocumented
toggleaction
the object which received the signal.
user.data
user data set when the signal handler was connected.
active
[logical : Read / Write]If the toggle action should be active in or not. Default value: FALSE Since 2.10
draw-as-radio
[logical : Read / Write]Whether the proxies for this action look like radio action proxies.
This is an appearance property and thus only applies if
"use-action-appearance"
is TRUE
.
Default value: FALSE
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkToggleAction.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.