Method

GtkActionGroupset_translation_domain

deprecated: 3.10 since: 2.4

Declaration [src]

void
gtk_action_group_set_translation_domain (
  GtkActionGroup* action_group,
  const gchar* domain
)

Description [src]

Sets the translation domain and uses g_dgettext() for translating the label and tooltip of GtkActionEntrys added by gtk_action_group_add_actions().

If you’re not using gettext() for localization, see gtk_action_group_set_translate_func().

Available since: 2.4

Deprecated since: 3.10

Please do not use it in newly written code.

Parameters

domain

Type: const gchar*

The translation domain to use for g_dgettext() calls, or NULL to use the domain set with textdomain()

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.