struct Gtk::Widget::MapSignal
- Gtk::Widget::MapSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when @widget is going to be mapped.
A widget is mapped when the widget is visible (which is controlled with
Gtk::Widget#visible
) and all its parents up to the toplevel widget
are also visible.
The ::map signal can be used to determine whether a widget will be drawn,
for instance it can resume an animation that was stopped during the
emission of Gtk::Widget::#unmap
.
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 : String? = nil)
new
Instance Method Detail
def connect(handler : Proc(Gtk::Widget, Nil), *, after : Bool = false) : GObject::SignalConnection
#