Package ch.bailu.gtk.gio
Interface Application.OnCommandLine
- Enclosing class:
- Application
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionint
onCommandLine
(ApplicationCommandLine command_line) The ::command-line signal is emitted on the primary instance when
a commandline is not handled locally.
-
Method Details
-
onCommandLine
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:
command_line
- 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().
-