TranslateFunc


Description:

public delegate unowned string TranslateFunc (string str)

The type of functions which are used to translate user-visible strings, for <option>--help</option> output.

Parameters:

str

the untranslated string

data

user data specified when installing the function, e.g. in set_translate_func

Returns:

a translation of the string for the current locale. The returned string is owned by GLib and must not be freed.


Namespace: GLib
Package: glib-2.0