struct Gtk::Requisition

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.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

[View source]
def self.new(data : LibGtk::Requisition, _transfer : GICrystal::Transfer) #

[View source]
def self.new(width : Int32 | Nil = nil, height : Int32 | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


[View source]

Instance Method Detail

def ==(other : self) : Bool #

[View source]
def copy : Gtk::Requisition #

[View source]
def free : Nil #

[View source]
def height(*args, **options) #

[View source]
def height(*args, **options, &) #

[View source]
def height=(arg) #

[View source]
def width(*args, **options) #

[View source]
def width(*args, **options, &) #

[View source]
def width=(arg) #

[View source]