:right-sidebar: True Requisition =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: Requisition(**kwargs) :no-contents-entry: A ``GtkRequisition`` represents the desired size of a widget. See `GtkWidget’s geometry management section `__ for more information. Constructors ------------ .. rst-class:: interim-class .. class:: Requisition :no-index: .. classmethod:: new() -> ~gi.repository.Gtk.Requisition Allocates a new ``GtkRequisition``\. The struct is initialized to zero. Methods ------- .. rst-class:: interim-class .. class:: Requisition :no-index: .. method:: free() -> None Frees a ``GtkRequisition``\. Fields ------ .. rst-class:: interim-class .. class:: Requisition :no-index: .. attribute:: height The widget’s desired height .. attribute:: width The widget’s desired width