get_options_dict


Description:

[ Version ( since = "2.40" ) ]
public unowned VariantDict get_options_dict ()

Gets the options there were passed to command_line.

If you did not override local_command_line then these are the same options that were parsed according to the OptionEntrys added to the application with add_main_option_entries and possibly modified from your GApplication:GApplicationCommandLine:handle-local-optionss handler.

If no options were sent then an empty dictionary is returned so that you don't need to check for null.

Parameters:

this

a ApplicationCommandLine

Returns:

a VariantDict with the options




2022 vala-language.org