Top |
GladeWidgetActionDef *
glade_widget_action_def_new (const gchar *path
);
void
glade_widget_action_def_free (GladeWidgetActionDef *action
);
Frees a GladeWidgetActionDef.
GladeWidgetActionDef *
glade_widget_action_def_clone (GladeWidgetActionDef *action
);
void glade_widget_action_def_set_important (GladeWidgetActionDef *action
,gboolean important
);
void glade_widget_action_def_set_label (GladeWidgetActionDef *action
,const gchar *label
);
void glade_widget_action_def_set_stock (GladeWidgetActionDef *action
,const gchar *stock
);
struct GladeWidgetActionDef { const gchar *id; /* The identifier of this action in the action tree */ gchar *path; /* Full action path */ gchar *label; /* A translated label to show in the UI for this action */ gchar *stock; /* If set, this stock item will be shown in the UI along side * the label */ gboolean important; /* If this action is important */ GList *actions;/* Recursive list of child actions */ };