OptionGroup.setTranslateFunc

Sets the function which is used to translate user-visible strings, for --help output. Different groups can use different GTranslateFuncs. If func is NULL, strings are not translated. If you are using gettext(), you only need to set the translation domain, see g_option_group_set_translation_domain(). Since 2.6

class OptionGroup
void
setTranslateFunc

Parameters

func GTranslateFunc

the GTranslateFunc, or NULL

data void*

user data to pass to func, or NULL

destroyNotify GDestroyNotify

a function which gets called to free data, or NULL

Meta