gtk.toggle_action_entry
Module for [ToggleActionEntry] class
class ToggleActionEntry
Types 1
classToggleActionEntry
#GtkToggleActionEntry structs are used with [gtk.action_group.ActionGroup.addToggleActions] to construct toggle actions.
Fields
GtkToggleActionEntry _cInstanceMethods
void * _cPtr()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.void isActive(bool propval) @propertySet `isActive` field. Params: propval = The initial state of the toggle action.