gtk.action_entry

Module for [ActionEntry] class

Types 1

#GtkActionEntry structs are used with [gtk.action_group.ActionGroup.addActions] to construct actions.

Fields
GtkActionEntry _cInstance
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.actiongroup.ActionGroup.setTranslationDomain]. If @label is null, the label of ...
void label(string propval) @propertySet `label` field. Params: propval = The label for the action. This field should typically be marked for translation, see [gtk.actiongroup.ActionGroup.setTranslationDomain]. If @label is null, the ...
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.
Constructors
this(void * ptr, Flag!"Take" take)