GtkToggleActionEntry

#GtkToggleActionEntry structs are used with gtk_action_group_add_toggle_actions() to construct toggle actions.

Members

Variables

accelerator
const(char)* accelerator;

The accelerator for the action, in the format understood by gtk_accelerator_parse().

callback
GCallback callback;

The function to call when the action is activated.

isActive
bool isActive;

The initial state of the toggle action.

label
const(char)* label;

The label for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain().

name
const(char)* name;

The name of the action.

stockId
const(char)* stockId;

The stock id for the action, or the name of an icon from the icon theme.

tooltip
const(char)* tooltip;

The tooltip for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain().

Meta