Package ch.bailu.gtk.glib
Interface OptionGroup.OnOptionParseFunc
- 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 TypeMethodDescriptionboolean
onOptionParseFunc
(CallbackHandler __self, ch.bailu.gtk.glib.OptionContext context, OptionGroup group, Pointer user_data) The type of function that can be called before and after parsing.
-
Method Details
-
onOptionParseFunc
boolean onOptionParseFunc(CallbackHandler __self, @Nonnull ch.bailu.gtk.glib.OptionContext context, @Nonnull OptionGroup group, @Nullable Pointer user_data) The type of function that can be called before and after parsing.- Parameters:
context
- The active #GOptionContextgroup
- The group to which the function belongsuser_data
- User data added to the #GOptionGroup containing the option when it was created with g_option_group_new()- Returns:
- %TRUE if the function completed successfully, %FALSE if an error occurred, in which case @error should be set with g_set_error()
-