Application.addOnCommandLine

The ::command-line signal is emitted on the primary instance when a commandline is not handled locally. See Application.run and the gio.ApplicationCommandLine documentation for more information.

  1. gulong addOnCommandLine(int delegate(Scoped!ApplicationCommandLine, Application) dlg, ConnectFlags connectFlags)
  2. gulong addOnCommandLine(int delegate(ApplicationCommandLine, Application) dlg, ConnectFlags connectFlags)
    class Application
    gulong
    addOnCommandLine
    (,
    ConnectFlags connectFlags = cast(ConnectFlags)0
    )

Return Value

Type: gulong

An integer that is set as the exit status for the calling process. See Application.commandLineSetExitStatus.