About all my projects
Gnome::Gtk4::N-Requisition

Gnome::Gtk4::N-Requisition

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

new

:native-object

Create an object using a native object from 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

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