struct Gtk::Window::CloseRequestSignal

Overview

Emitted when the user clicks on the close button of the window.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/window.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, detail = nil) new

Instance Method Detail

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

def connect(handler : Proc(Bool), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gtk::Window, Bool), *, after : Bool = false) : GObject::SignalConnection #

def emit : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name