Gtk.Requisition - Structures - Gtk 3.0 (original) (raw)
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 Gtk.Requisition-struct represents the desired size of a widget. SeeGtkWidget’s geometry management section for more information.
Returns:
a new empty Gtk.Requisition. The newly allocated Gtk.Requisition should be freed with Gtk.Requisition.free().
Return type:
Allocates a new Gtk.Requisition-struct and initializes its elements to zero.
New in version 3.0.
Returns:
a copy of self
Return type:
Copies a Gtk.Requisition.
Frees a Gtk.Requisition.