Gtk.Requisition

Fields

Name

Type

Access

Description

height

int

r/w

the widget’s desired height

width

int

r/w

the widget’s desired width

Methods

class

new ()

copy ()

free ()

Details

class Gtk.Requisition

A GtkRequisition represents the desired size of a widget. See GtkWidget’s geometry management section for more information.

classmethod new()[source]
Returns:

a new empty GtkRequisition. The newly allocated GtkRequisition should be freed with [method`Gtk`.Requisition.free]

Return type:

Gtk.Requisition

Allocates a new GtkRequisition.

The struct is initialized to zero.

copy()[source]
Returns:

a copy of self

Return type:

Gtk.Requisition

Copies a GtkRequisition.

free()[source]

Frees a GtkRequisition.