struct Gio::Application::CommandLineSignal

Overview

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.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/application.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : Nil | String = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Gio::ApplicationCommandLine, Int32)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gio::ApplicationCommandLine, Int32), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gio::Application, Gio::ApplicationCommandLine, Int32), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(command_line : Gio::ApplicationCommandLine) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]