Gets the size request that was explicitly set for the widget using 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 Widget.setSizeRequest. To get the size a widget will actually request, call Widget.getPreferredSize instead of this function.

class Widget
out int width
out int height


width int

return location for width, or NULL

height int

return location for height, or NULL