struct Gtk::Widget::DestroySignal
- Gtk::Widget::DestroySignal
- GObject::Signal
- Struct
- Value
- Object
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.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::Widget, 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::Widget, Nil), *, after : Bool = false) : GObject::SignalConnection
#