summaryrefslogtreecommitdiff
path: root/gtk/gtkradioaction.h
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-01-07 21:54:33 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-01-07 21:54:33 +0000
commita11e45a1ebc9574ea3a60f6bc031affecd088208 (patch)
tree943f86d4e5a2fe931d447710bfb59593eabffc6d /gtk/gtkradioaction.h
parent8f5b438e6b3eb37af60b368b9bda366fc23f2d42 (diff)
downloadgtk+-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/gtkradioaction.h')
-rw-r--r--gtk/gtkradioaction.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/gtk/gtkradioaction.h b/gtk/gtkradioaction.h
index 3617a239b2..b1de074c5d 100644
--- a/gtk/gtkradioaction.h
+++ b/gtk/gtkradioaction.h
@@ -67,12 +67,17 @@ struct _GtkRadioActionClass
void (*_gtk_reserved4) (void);
};
-GType gtk_radio_action_get_type (void);
+GType gtk_radio_action_get_type (void);
+GtkRadioAction *gtk_radio_action_new (const gchar *name,
+ const gchar *label,
+ const gchar *tooltip,
+ const gchar *stock_id,
+ gint value);
+GSList *gtk_radio_action_get_group (GtkRadioAction *action);
+void gtk_radio_action_set_group (GtkRadioAction *action,
+ GSList *group);
+gint gtk_radio_action_get_current_value (GtkRadioAction *action);
-GSList *gtk_radio_action_get_group (GtkRadioAction *action);
-void gtk_radio_action_set_group (GtkRadioAction *action,
- GSList *group);
-gint gtk_radio_action_get_current_value (GtkRadioAction *action);
G_END_DECLS