[][src]Type Definition irssi_sys::GTranslateFunc

type GTranslateFunc = Option<unsafe extern "C" fn(str: *const gchar, data: gpointer) -> *const gchar>;

GTranslateFunc: @str: the untranslated string @data: user data specified when installing the function, e.g. in g_option_group_set_translate_func()

The type of functions which are used to translate user-visible strings, for output.

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