Struct

GtkActionEntry

deprecated: 3.10 

Description [src]

struct GtkActionEntry {
  const gchar* name;
  const gchar* stock_id;
  const gchar* label;
  const gchar* accelerator;
  const gchar* tooltip;
  GCallback callback;
}

GtkActionEntry structs are used with gtk_action_group_add_actions() to construct actions.

Structure members
name

The name of the action.

stock_id

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

label

The label for the action. This field should typically be marked for translation, see gtk_action_group_set_translation_domain(). If label is NULL, the label of the stock item with id stock_id is used.

accelerator

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

tooltip

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.

Deprecated since: 3.10.

Please do not use it in newly written code.