struct Gtk::Application::QueryEndSignal
- Gtk::Application::QueryEndSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when the session manager is about to end the session.
This signal is only emitted if [property@Gtk.Application:register-session]
is TRUE
. Applications can connect to this signal and call
Gtk::Application#inhibit
with GTK_APPLICATION_INHIBIT_LOGOUT
to delay the end of the session until state has been saved.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/application.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::Application, Nil), *, 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(Gtk::Application, Nil), *, after : Bool = false) : GObject::SignalConnection
#