ActionGroup.setTranslationDomain

void setTranslationDomain(string domain = null)

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

Parameters

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