• Allison Karlitskaya's avatar
    GApplication: parse command line options · 0e671286
    Allison Karlitskaya authored
    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
    0e671286
Name
Last commit
Last update
..
gdbus-object-manager-example Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
gapplication.xml Loading commit data...
gdbus-codegen.xml Loading commit data...
gdbus.xml Loading commit data...
gio-docs.xml Loading commit data...
gio-querymodules.xml Loading commit data...
gio-sections.txt Loading commit data...
gio.types Loading commit data...
glib-compile-resources.xml Loading commit data...
glib-compile-schemas.xml Loading commit data...
gresource.xml Loading commit data...
gsettings.xml Loading commit data...
gvfs-overview.odg Loading commit data...
gvfs-overview.png Loading commit data...
menu-example.png Loading commit data...
menu-model.png Loading commit data...
migrating-gconf.xml Loading commit data...
migrating-gdbus.xml Loading commit data...
migrating-gnome-vfs.xml Loading commit data...
migrating-posix.xml Loading commit data...
overview.xml Loading commit data...
version.xml.in Loading commit data...