Creates a new ToggleAction object. To add the action to a ActionGroup and set the accelerator for the action, call gtk.ActionGroup.ActionGroup.addActionWithAccel().
A unique name for the action
The label displayed in menu items and on buttons, or null
A tooltip for the action, or null
The stock icon to display in widgets representing the action, or null
ConstructionException GTK+ fails to create the object.
2.4
Creates a new ToggleAction object. To add the action to a ActionGroup and set the accelerator for the action, call gtk.ActionGroup.ActionGroup.addActionWithAccel().