class Gtk::RequestedSize
- Gtk::RequestedSize
- Reference
- Object
Overview
Represents a request of a screen object in a given orientation. These
are primarily used in container implementations when allocating a natural
size for children calling. See #distribute_natural_allocation
.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/requested_size.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGtk::RequestedSize, transfer : GICrystal::Transfer)
- .new(minimum_size : Int32? = nil, natural_size : Int32? = nil)
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #data : Pointer(Void)?
- #data!
- #minimum_size : Int32
- #minimum_size=(value : Int32)
- #natural_size : Int32
- #natural_size=(value : Int32)
- #to_unsafe
Constructor Detail
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.