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 | 
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 allocated- Gtk.Requisitionshould be freed with- Gtk.Requisition.free().- Return type: - Gtk.Requisition- 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: - Gtk.Requisition- Copies a - Gtk.Requisition.
 - 
free()[source]¶
- Frees a - Gtk.Requisition.
 
- 
classmethod