ActionGroup.setTranslateFunc

void setTranslateFunc(gtk.types.TranslateFunc func)

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].

Parameters

funca #GtkTranslateFunc