struct Gtk::Widget::DestroySignal

Overview

Signals that all holders of a reference to the widget should release the reference that they hold.

May result in finalization of the widget if all references are released.

This signal is not suitable for saving widget state.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/widget.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 : String? = nil) new

Instance Method Detail

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

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

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

def emit : Nil #

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

The signal name