struct Gtk::Overlay::GetChildPositionSignal
- Gtk::Overlay::GetChildPositionSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted to determine the position and size of any overlay child widgets.
A handler for this signal should fill allocation with the desired position and size for widget, relative to the 'main' child of overlay.
The default handler for this signal uses the widget's
halign and valign properties to determine the position
and gives the widget its natural size (except that an
alignment of %GTK_ALIGN_FILL will cause the overlay to
be full-width/height). If the main child is a
Gtk::ScrolledWindow
, the overlays are placed relative
to its contents.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/overlay.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Gtk::Widget, Bool)) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::Widget, Bool), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gtk::Overlay, Gtk::Widget, Bool), *, after : Bool = false) : GObject::SignalConnection
- #emit(widget : Gtk::Widget) : 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(*, after : Bool = false, &block : Proc(Gtk::Widget, Bool)) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::Widget, Bool), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gtk::Overlay, Gtk::Widget, Bool), *, after : Bool = false) : GObject::SignalConnection
#