Widget.getSizeRequest
void getSizeRequest(out int width, out int height)Gets the size request that was explicitly set for the widget using gtk.widget.Widget.setSizeRequest. 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 instead. See gtk.widget.Widget.setSizeRequest. To get the size a widget will actually request, call gtk.widget.Widget.getPreferredSize instead of this function.
Parameters
width | return location for width, or null |
height | return location for height, or null |