ActionGroup.setTranslateFunc

Sets a function to be used for translating the label and tooltip of #GtkActionEntrys added by gtk.action_group.ActionGroup.addActions.

If you’re using gettext(), it is enough to set the translation domain with gtk.action_group.ActionGroup.setTranslationDomain.

class ActionGroup
void
setTranslateFunc

Parameters

func gtk.types.TranslateFunc

a #GtkTranslateFunc