OptionArgFunc

The type of function to be passed as callback for G_OPTION_ARG_CALLBACK options.

alias OptionArgFunc = bool delegate
(
string optionName
,
string value
,)

Return Value

true if the option was successfully parsed, false if an error occurred, in which case error should be set with glib.global.setError