Gtk.Widget.prototype.get_requisition

function get_requisition():void {
    // Gjs wrapper for gtk_widget_get_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.queue_resize instead of Gtk.queue_draw).

Normally, Gtk.size_request should be used.

Since 2.20