onCommandLine

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

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().