Package ch.bailu.gtk.glib
Schnittstelle OptionGroup.OnTranslateFunc
- Umschließende Klasse:
OptionGroup
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungonTranslateFunc
(CallbackHandler __self, Str str, Pointer data) The type of functions which are used to translate user-visible
strings, for <option>--help</option> output.
-
Methodendetails
-
onTranslateFunc
The type of functions which are used to translate user-visible
strings, for <option>--help</option> output.- Parameter:
str
- the untranslated stringdata
- user data specified when installing the function, e.g. in g_option_group_set_translate_func()- Gibt zurück:
- a translation of the string for the current locale. The returned string is owned by GLib and must not be freed.
-