struct Gtk::Requisition
- Gtk::Requisition
- Struct
- Value
- Object
Overview
A Gtk::Requisition
represents the desired size of a widget. See
Gtk::Widget’s geometry management section for
more information.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/requisition.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGtk::Requisition, _transfer : GICrystal::Transfer)
- .new(width : Int32? = nil, height : Int32? = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #==(other : self) : Bool
- #copy : Gtk::Requisition
- #free : Nil
- #height(*args, **options)
- #height(*args, **options, &)
- #height=(arg)
- #width(*args, **options)
- #width(*args, **options, &)
- #width=(arg)