Widget.getRequisition

void getRequisition(out gtk.requisition.Requisition requisition)

Retrieves the widget’s requisition.

This function should only be used by widget implementations in order to figure whether the widget’s requisition has actually changed after some internal state change (so that they can call [gtk.widget.Widget.queueResize] instead of [gtk.widget.Widget.queueDraw]).

Normally, [gtk.widget.Widget.sizeRequest] should be used.

Parameters

requisitiona pointer to a #GtkRequisition to copy to

Deprecated

The #GtkRequisition cache on the widget was

removed, If you need to cache sizes across requests and allocations, add an explicit cache to the widget in question instead.