ActionGroup.setTranslateFunc

Warning gtk_action_group_set_translate_func is deprecated and should not be used in newly-written code. 3.10 Sets a function to be used for translating the label and tooltip of GtkActionEntrys 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 2.4

class ActionGroup
void
setTranslateFunc

Parameters

func GtkTranslateFunc

a GtkTranslateFunc

data void*

data to be passed to func and notify

notify GDestroyNotify

a GDestroyNotify function to be called when action_group is destroyed and when the translation function is changed again

Meta