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.

@FunctionalInterface public static interface OptionGroup.OnOptionParseFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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 #GOptionContext
      group - The group to which the function belongs
      user_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()