Virtual Method

ValentApplicationPlugincommand_line

unstable since: 1.0

Declaration [src]

int
command_line (
  ValentApplicationPlugin* plugin,
  GApplicationCommandLine* command_line
)

Description [src]

Handle the given command-line options.

Implementations should override this method to handle command-line options, as a result of GApplication::command-line being emitted on the primary instance of the application.

Available since: 1.0

Parameters

command_line

Type: GApplicationCommandLine

A GApplicationCommandLine.

The data is owned by the caller of the method.

Return value

Type: int

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