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) #

def self.new(data : LibGtk::Requisition, _transfer : GICrystal::Transfer) #

def self.new(width : Int32? = nil, height : Int32? = nil) #

Class Method Detail

def self.g_type : UInt64 #

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


Instance Method Detail

def ==(other : self) : Bool #

def copy : Gtk::Requisition #

def free : Nil #

def height(*args, **options) #

def height(*args, **options, &) #

def height=(arg) #

def width(*args, **options) #

def width(*args, **options, &) #

def width=(arg) #