GtkToggleAction {RGtk2} | R Documentation |
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)
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
GtkToggleAction
struct contains only
private members and should not be accessed directly.
gtkToggleAction
is the equivalent of gtkToggleActionNew
.
The (toggleaction, user.data)
toggleaction
GtkToggleAction
] the object which received the signal.user.data
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. Default value: FALSE
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkToggleAction.html