Package: gio

Function gio:application-command-line-options-dict

Lambda List

gio:application-command-line-options-dict (cmdline)

Arguments

cmdline -- a g:application-command-line instance

Return Value

The g:variant-dict instance with the options.

Details

Gets the options that were passed to the g:application-command-line instance. If you did not override the local_command_line() virtual function then these are the same options that were parsed according to the options entries added to the application with the g:application-add-main-option-entries function and possibly modified from your "handle-local-options" signal handler.

If no options were sent then an empty dictionary is returned so that you do not need to check for nil.
 

See also

#2025-2-3