ApplicationCommandLine.getOptionsDict

Gets the options there were passed to Application.commandLine.

If you did not override local_command_line() then these are the same options that were parsed according to the GOptionEntrys added to the application with Application.addMainOptionEntries and possibly modified from your GApplication::handle-local-options handler.

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

class ApplicationCommandLine
getOptionsDict
()

Return Value

a glib.VariantDict with the options

Meta

Since

2.40