Ryan Lortie 0e671286fc GApplication: parse command line options
Add support for parsing command line options with GApplication.

You can add GOptionGroup and GOptionEntry using two new APIs:
g_application_add_option_group() and
g_application_add_main_option_entries().

Also add a "handle-local-options" signal that allows handling of
commandline arguments in the local process without having to override
local_command_line.

As a special feature, you can have a %NULL @arg_data in a GOptionEntry
which will cause the argument to be stored in a GVariantDict.  This
dictionary is available for inspection and modification by the
"handle-local-options" signal and can be forwarded to the primary
instance in cases of command line invocation (where it can be fetched
using g_application_command_line_get_options()).

https://bugzilla.gnome.org/show_bug.cgi?id=721977
2014-02-06 12:02:53 +00:00
..
2013-10-17 10:12:27 -04:00
2012-08-03 23:36:45 -04:00
2013-11-06 11:26:53 -05:00
2013-11-06 11:26:53 -05:00
2013-05-04 21:03:00 -04:00
2011-12-08 18:05:12 -05:00
2011-12-08 18:05:12 -05:00
2013-01-01 10:25:07 -05:00
2013-12-29 14:20:13 -06:00