procedure Destroy (Data : in out User_Data_Type)
type Gtk_Translate_Func is access function
(Path : UTF8_String;
Func_Data : User_Data_Type) return UTF8_String;
The function used to translate messages in e.g. Gtk.Icon_Factory.Gtk_Icon_Factory and Gtk.Action_Group.Gtk_Action_Group.
The id of the message. In Gtk.Action_Group.Gtk_Action_Group this will be a label or tooltip from a Gtk_Action_Entry.
user data passed in when registering the function
the translated message
procedure Set_Translate_Func
(Action_Group : not null access Gtk.Action_Group.Gtk_Action_Group_Record'Class;
Func : Gtk_Translate_Func;
Data : User_Data_Type)
Sets a function to be used for translating the Label and Tooltip of Gtk_Action_Entrys added by gtk_action_group_add_actions. If you're using gettext, it is enough to set the translation domain with Gtk.Action_Group.Set_Translation_Domain. Since: gtk+ 2.4 Deprecated since 3.10, 1
a Gtk_Translate_Func
data to be passed to Func and Notify
type User_Data_Type (<>) is private;