Creates a new #GtkToggleAction object. To add the action to a #GtkActionGroup and set the accelerator for the action, call gtk.action_group.ActionGroup.addActionWithAccel.
Connect to Toggled signal.
Returns the checked state of the toggle action.
Returns whether the action should have proxies like a radio action.
Returns this, for use in with statements.
Sets the checked state on the toggle action.
Sets whether the action should have proxies like a radio action.
Emits the “toggled” signal on the toggle action.
Get active property.
Set active property.
Get drawAsRadio property.
Set drawAsRadio property.
Get builder for gtk.toggle_action.ToggleAction
Returns this, for use in with statements.
Get builder for gtk.action.Action
Get actionGroup property.
Set actionGroup property.
Get alwaysShowImage property.
Set alwaysShowImage property.
Get gicon property.
Set gicon property.
Get hideIfEmpty property.
Set hideIfEmpty property.
Get iconName property.
Set iconName property.
Get isImportant property.
Set isImportant property.
Get label property.
Set label property.
Get name property.
Get sensitive property.
Set sensitive property.
Get shortLabel property.
Set shortLabel property.
Get stockId property.
Set stockId property.
Get tooltip property.
Set tooltip property.
Get visible property.
Set visible property.
Get visibleHorizontal property.
Set visibleHorizontal property.
Get visibleOverflown property.
Set visibleOverflown property.
Get visibleVertical property.
Set visibleVertical property.
Emits the “activate” signal on the specified action, if it isn't insensitive. This gets called by the proxy widgets when they get activated.
Disable activation signals from the action
Installs the accelerator for action if action has an accel path and group. See gtk.action.Action.setAccelPath and gtk.action.Action.setAccelGroup
This function is intended for use by action implementations to create icons displayed in the proxy widgets.
If action provides a #GtkMenu widget as a submenu for the menu item or the toolbar item it creates, this function returns an instance of that menu.
Creates a menu item widget that proxies for the given action.
Creates a toolbar item widget that proxies for the given action.
Undoes the effect of one call to gtk.action.Action.connectAccelerator.
Returns the accel closure for this action.
Returns the accel path for this action.
Returns whether action's menu item proxies will always show their image, if available.
Gets the gicon of action.
Gets the icon name of action.
Checks whether action is important or not
Gets the label text of action.
Returns the name of the action.
Returns the proxy widgets for an action. See also gtk.activatable.Activatable.getRelatedAction.
Returns whether the action itself is sensitive. Note that this doesn’t necessarily mean effective sensitivity. See gtk.action.Action.isSensitive for that.
Gets the short label text of action.
Gets the stock id of action.
Gets the tooltip text of action.
Returns whether the action itself is visible. Note that this doesn’t necessarily mean effective visibility. See gtk.action.Action.isSensitive for that.
Checks whether action is visible when horizontal
Checks whether action is visible when horizontal
Returns whether the action is effectively sensitive.
Returns whether the action is effectively visible.
Sets the #GtkAccelGroup in which the accelerator for this action will be installed.
Sets the accel path for this action. All proxy widgets associated with the action will have this accel path, so that their accelerators are consistent.
Sets whether action's menu item proxies will ignore the #GtkSettings:gtk-menu-images setting and always show their image, if available.
Sets the icon of action.
Sets the icon name on action
Sets whether the action is important, this attribute is used primarily by toolbar items to decide whether to show a label or not.
Sets the label of action.
Sets the :sensitive property of the action to sensitive. Note that this doesn’t necessarily mean effective sensitivity. See gtk.action.Action.isSensitive
for that.
Sets a shorter label text on action.
Sets the stock id on action
Sets the tooltip text on action
Sets the :visible property of the action to visible. Note that this doesn’t necessarily mean effective visibility. See gtk.action.Action.isVisible
for that.
Sets whether action is visible when horizontal
Sets whether action is visible when vertical
Reenable activation signals from the action
Connect to Activate signal.
A #GtkToggleAction corresponds roughly to a #GtkCheckMenuItem. It has an “active” state specifying whether the action has been checked or not.