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() nothrowvoid name(string propval) @property nothrowSet `name` field. Params: propval = The name of the action.string stockId() @property nothrowGet `stockId` field. Returns: The stock id for the action, or the name of an icon from the icon theme.void stockId(string propval) @property nothrowSet `stockId` field. Params: propval = The stock id for the action, or the name of an icon from the icon theme.string label() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `accelerator` field. Returns: The accelerator for the action, in the format understood by [gtk.global.acceleratorParse].void accelerator(string propval) @property nothrowSet `accelerator` field. Params: propval = The accelerator for the action, in the format understood by [gtk.global.acceleratorParse].string tooltip() @property nothrowGet `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) @property nothrowSet `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() @property nothrowGet `callback` field. Returns: The function to call when the action is activated.void callback(GCallback propval) @property nothrowSet `callback` field. Params: propval = The function to call when the action is activated.bool isActive() @property nothrowGet `isActive` field. Returns: The initial state of the toggle action.void isActive(bool propval) @property nothrowSet `isActive` field. Params: propval = The initial state of the toggle action.