Gtk.Requisition¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
height |
r/w |
the widget’s desired height |
|
width |
r/w |
the widget’s desired width |
Methods¶
class |
|
|
|
|
Details¶
- class Gtk.Requisition¶
A
Gtk.Requisition
-struct represents the desired size of a widget. See GtkWidget’s geometry management section for more information.- classmethod new()[source]¶
- Returns:
a new empty
Gtk.Requisition
. The newly allocatedGtk.Requisition
should be freed withGtk.Requisition.free
().- Return type:
Allocates a new
Gtk.Requisition
-struct and initializes its elements to zero.New in version 3.0.
- copy()[source]¶
- Returns:
a copy of self
- Return type:
Copies a
Gtk.Requisition
.
- free()[source]¶
Frees a
Gtk.Requisition
.