Gnome::Gtk4::N-Requisition
#------------------------------------------------------------------------------- #--[Class Description]---------------------------------------------------------- #-------------------------------------------------------------------------------
Description
A Gnome::Gtk4::N-Requisition represents the desired size of a widget. See [GtkWidget’s geometry management section](class.Widget.html#height-for-width-geometry-management) for more information.
#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------
Class initialization
new
:native-object
Create an object using a native object from an object of the same type found elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object() :$native-object! )
#-------------------------------------------------------------------------------
new-requisition
Allocates a new Gnome::Gtk4::N-Requisition.
The struct is initialized to zero.
method new-requisition ( --> Gnome::Gtk4::Requisition )
#------------------------------------------------------------------------------- #--[Methods]-------------------------------------------------------------------- #-------------------------------------------------------------------------------
Methods
#-------------------------------------------------------------------------------
copy
Copies a Gnome::Gtk4::N-Requisition.
method copy (--> N-Object )
Return value; a copy of $requisition.
#-------------------------------------------------------------------------------
free
Frees a Gnome::Gtk4::N-Requisition.
method free ( )