• 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
    Also add a "handle-local-options" signal that allows handling of
    commandline arguments in the local process without having to override
    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()).
Last commit
Last update
reference Loading commit data...
Makefile.am Loading commit data...
debugging.txt Loading commit data...
macros.txt Loading commit data...