ToggleAction.this
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
name | A unique name for the action |
label | The label displayed in menu items and on buttons, or null |
tooltip | A tooltip for the action, or null |
stockId | The stock icon to display in widgets representing the action, or null |
Returns
a new #GtkToggleAction