get_requisition


Description:

[ Version ( deprecated = true , since = "2.20" , deprecated_since = "3.0" ) ]
public Requisition get_requisition ()

Warning: get_requisition is deprecated since "3.0".

Retrieves the widget’s requisition.

Note:

The Requisition 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.

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 queue_resize instead of queue_draw).

Normally, size_request should be used.

Parameters:

this

a Widget

requisition

a pointer to a Requisition to copy to