GOptionArgFunc

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

alias GOptionArgFunc = int function(const(char)* optionName, const(char)* value, void* data, GError** err)

Return Value

TRUE if the option was successfully parsed, FALSE if an error occurred, in which case error should be set with g_set_error()

Throws

GException on failure.