summaryrefslogtreecommitdiff
path: root/gtk/gtkactiongroup.h
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2003-08-24 23:11:14 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-08-24 23:11:14 +0000
commitbfa5c5aa4e8f3d72499b4dea946eb4c5dfaf1b45 (patch)
treee27c5a6765925b48db8da1396a0fd5a20cd273eb /gtk/gtkactiongroup.h
parent32c6a944cfc5db7f59ee6232a8d76c04a27e908e (diff)
downloadgtk+-bfa5c5aa4e8f3d72499b4dea946eb4c5dfaf1b45.tar.gz
Hooks for translation of label and tooltip in GtkActionGroupEntries.
2003-08-25 Matthias Clasen <maclas@gmx.de> * gtk/gtkactiongroup.[hc] (gtk_action_group_set_translate_func, gtk_action_group_set_translation_domain): Hooks for translation of label and tooltip in GtkActionGroupEntries. (#120620)
Diffstat (limited to 'gtk/gtkactiongroup.h')
-rw-r--r--gtk/gtkactiongroup.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/gtkactiongroup.h b/gtk/gtkactiongroup.h
index 1489006d85..6036f2e0e7 100644
--- a/gtk/gtkactiongroup.h
+++ b/gtk/gtkactiongroup.h
@@ -31,6 +31,7 @@
#define __GTK_ACTION_GROUP_H__
#include <gtk/gtkaction.h>
+#include <gtk/gtkitemfactory.h> /* for GtkTranslateFunc */
#define GTK_TYPE_ACTION_GROUP (gtk_action_group_get_type ())
#define GTK_ACTION_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION_GROUP, GtkActionGroup))
@@ -106,4 +107,12 @@ void gtk_action_group_add_actions (GtkActionGroup *action_grou
GtkActionGroupEntry *entries,
guint n_entries);
+void gtk_action_group_set_translate_func (GtkActionGroup *action_group,
+ GtkTranslateFunc func,
+ gpointer data,
+ GtkDestroyNotify notify);
+
+void gtk_action_group_set_translation_domain (GtkActionGroup *action_group,
+ const gchar *domain);
+
#endif /* __GTK_ACTION_GROUP_H__ */