GLib.OptionParseFunc

function onOptionParseFunc(context: GLib.OptionContext, group: GLib.OptionGroup, data: void): Boolean {
}
  

The type of function that can be called before and after parsing.

context

The active GLib.OptionContext

group

The group to which the function belongs

data

User data added to the GLib.OptionGroup containing the option when it was created with GLib.OptionGroup.new

Returns

true if the function completed successfully, false if an error occurred, in which case @error should be set with GLib.set_error