connectCommandLine

fun connectCommandLine(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (commandLine: ApplicationCommandLine) -> Int): <Error class: unknown class>

The ::command-line signal is emitted on the primary instance when a commandline is not handled locally. See g_application_run() and the #GApplicationCommandLine documentation for more information.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: commandLine a #GApplicationCommandLine representing the passed commandline. Returns An integer that is set as the exit status for the calling process. See g_application_command_line_set_exit_status().