struct Gdk::Surface::LayoutSignal
- Gdk::Surface::LayoutSignal
- GObject::Signal
- Struct
- Value
- Object
Overview
Emitted when the size of surface is changed, or when relayout should be performed.
Surface size is reported in ”application pixels”, not ”device pixels” (see gdk_surface_get_scale_factor()).
Defined in:
lib/gi-crystal/src/auto/gdk-4.0/surface.crInstance Method Summary
- #connect(*, after : Bool = false, &block : Proc(Int32, Int32, Nil)) : GObject::SignalConnection
- #connect(handler : Proc(Int32, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #connect(handler : Proc(Gdk::Surface, Int32, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
- #emit(width : Int32, height : Int32) : 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(Int32, Int32, Nil)) : GObject::SignalConnection
#
def connect(handler : Proc(Int32, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#
def connect(handler : Proc(Gdk::Surface, Int32, Int32, Nil), *, after : Bool = false) : GObject::SignalConnection
#