struct Gio::Application::NameLostSignal
- Gio::Application::NameLostSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
The ::name-lost signal is emitted only on the registered primary instance when a new instance has taken over. This can only happen if the application is using the %G_APPLICATION_ALLOW_REPLACEMENT flag.
The default handler for this signal calls g_application_quit().
Defined in:
lib/gi-crystal/src/auto/gio-2.0/application.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Bool)) : GObject::SignalConnection
- #connect(handler : Proc(Bool), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gio::Application, Bool), *, after : Bool = false) : GObject::SignalConnection
- #emit : Nil
-
#name : String
The signal name
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(handler : Proc(Gio::Application, Bool), *, after : Bool = false) : GObject::SignalConnection
#