ActionGroup.setTranslateFunc

Sets a function to be used for translating the label and tooltip of GtkActionEntrys added by Action.groupAddActions.

If you’re using gettext(), it is enough to set the translation domain with Action.groupSetTranslationDomain.

class ActionGroup
void
setTranslateFunc

Parameters

func 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