struct Gtk::Application::QueryEndSignal

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.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(Nil)) : GObject::SignalConnection #

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

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

[View source]
def emit : Nil #

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

The signal name


[View source]