gtk.toggle_action_entry

Module for [ToggleActionEntry] class

Types 1

#GtkToggleActionEntry structs are used with [gtk.action_group.ActionGroup.addToggleActions] to construct toggle actions.

Fields
Methods
void * _cPtr()
string name() @propertyGet `name` field. Returns: The name of the action.
void name(string propval) @propertySet `name` field. Params: propval = The name of the action.
string stockId() @propertyGet `stockId` field. Returns: The stock id for the action, or the name of an icon from the icon theme.
void stockId(string propval) @propertySet `stockId` field. Params: propval = The stock id for the action, or the name of an icon from the icon theme.
string label() @propertyGet `label` field. Returns: The label for the action. This field should typically be marked for translation, see [gtk.action_group.ActionGroup.setTranslationDomain].
void label(string propval) @propertySet `label` field. Params: propval = The label for the action. This field should typically be marked for translation, see [gtk.action_group.ActionGroup.setTranslationDomain].
string accelerator() @propertyGet `accelerator` field. Returns: The accelerator for the action, in the format understood by [gtk.global.acceleratorParse].
void accelerator(string propval) @propertySet `accelerator` field. Params: propval = The accelerator for the action, in the format understood by [gtk.global.acceleratorParse].
string tooltip() @propertyGet `tooltip` field. Returns: The tooltip for the action. This field should typically be marked for translation, see [gtk.action_group.ActionGroup.setTranslationDomain].
void tooltip(string propval) @propertySet `tooltip` field. Params: propval = The tooltip for the action. This field should typically be marked for translation, see [gtk.action_group.ActionGroup.setTranslationDomain].
GCallback callback() @propertyGet `callback` field. Returns: The function to call when the action is activated.
void callback(GCallback propval) @propertySet `callback` field. Params: propval = The function to call when the action is activated.
bool isActive() @propertyGet `isActive` field. Returns: The initial state of the toggle action.
void isActive(bool propval) @propertySet `isActive` field. Params: propval = The initial state of the toggle action.
Constructors
this(void * ptr, Flag!"Take" take)