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 OptionGroup.setTranslationDomain.

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