Package ch.bailu.gtk.glib
Interface OptionGroup.OnTranslateFunc
- Enclosing class:
- OptionGroup
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiononTranslateFunc
(CallbackHandler __self, Str str, Pointer user_data) The type of functions which are used to translate user-visible
strings, for <option>--help</option> output.
-
Method Details
-
onTranslateFunc
The type of functions which are used to translate user-visible
strings, for <option>--help</option> output.- Parameters:
str
- the untranslated stringuser_data
- user data specified when installing the function, e.g. in g_option_group_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.
-