Method
GtkWidgetget_requisition
Declaration [src]
void
gtk_widget_get_requisition (
GtkWidget* widget,
GtkRequisition* requisition
)
Description [src]
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_queue_resize()
instead of gtk_widget_queue_draw()).
Normally, gtk_widget_size_request()
should be used.
Available since: | 2.20 |
Deprecated since: | 3.0 |
The |
Parameters
requisition |
GtkRequisition |
A pointer to a |
|
The argument will be set by the function. | |
The data is owned by the caller of the function. |