Struct

GtkToggleActionEntry

deprecated: 3.10

Description [src]

structGtkToggleActionEntry{
constgchar*name;
constgchar*stock_id;
constgchar*label;
constgchar*accelerator;
constgchar*tooltip;
GCallbackcallback;
gbooleanis_active;
}

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

Structure members
name: const gchar*

The name of the action.

stock_id: const gchar*

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

label: const gchar*

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

accelerator: const gchar*

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

tooltip: const gchar*

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

callback:

The function to call when the action is activated.

is_active: gboolean

The initial state of the toggle action.

Deprecated since: 3.10.

Please do not use it in newly written code.

AltStyle によって変換されたページ (->オリジナル) /