ActionGroup.setTranslationDomain

Sets the translation domain and uses glib.global.dgettext for translating the label and tooltip of #GtkActionEntrys added by gtk.action_group.ActionGroup.addActions.

If you’re not using gettext() for localization, see gtk.action_group.ActionGroup.setTranslateFunc.

class ActionGroup
void
setTranslationDomain
(
string domain = null
)

Parameters

domain string

the translation domain to use for glib.global.dgettext calls, or null to use the domain set with textdomain()