ToggleAction.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string name, string label = null, string tooltip = null, string stockId = null)

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].

Parameters

nameA unique name for the action
labelThe label displayed in menu items and on buttons, or null
tooltipA tooltip for the action, or null
stockIdThe stock icon to display in widgets representing the action, or null

Returns

a new #GtkToggleAction