Gtk.Widget.prototype.get_size_request

function get_size_request():void {
    // Gjs wrapper for gtk_widget_get_size_request()
}

Gets the size request that was explicitly set for the widget using Gtk.set_size_request. A value of -1 stored in width or height indicates that that dimension has not been set explicitly and the natural requisition of the widget will be used intead. See Gtk.set_size_request. To get the size a widget will actually request, call Gtk.Widget.prototype.get_preferred_size instead of this function.