diff options
author | Matthias Clasen <maclas@gmx.de> | 2004-01-07 21:54:33 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-01-07 21:54:33 +0000 |
commit | a11e45a1ebc9574ea3a60f6bc031affecd088208 (patch) | |
tree | 943f86d4e5a2fe931d447710bfb59593eabffc6d /gtk/gtkaction.h | |
parent | 8f5b438e6b3eb37af60b368b9bda366fc23f2d42 (diff) | |
download | gtk+-a11e45a1ebc9574ea3a60f6bc031affecd088208.tar.gz |
Add creation functions for actions.
Wed Jan 7 22:20:20 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_action_new):
* gtk/gtktoggleaction.h:
* gtk/gtktoggleaction.c (gtk_toggle_action_new):
* gtk/gtkradioaction.h:
* gtk/gtkradioaction.c (gtk_radio_action_new): Add creation
functions for actions.
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
(gtk_action_group_add_toggle_actions_full):
(gtk_action_group_add_radio_actions_full): and use the
new functions here. (#125322, Patch by Jeff Frank)
Diffstat (limited to 'gtk/gtkaction.h')
-rw-r--r-- | gtk/gtkaction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkaction.h b/gtk/gtkaction.h index e855052d67..34cec2cda3 100644 --- a/gtk/gtkaction.h +++ b/gtk/gtkaction.h @@ -81,6 +81,10 @@ struct _GtkActionClass }; GType gtk_action_get_type (void); +GtkAction *gtk_action_new (const gchar *name, + const gchar *label, + const gchar *tooltip, + const gchar *stock_id); const gchar* gtk_action_get_name (GtkAction *action); void gtk_action_activate (GtkAction *action); GtkWidget* gtk_action_create_icon (GtkAction *action, |