Widget.getSizeRequest

Gets the size request that was explicitly set for the widget using gtk_widget_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_widget_set_size_request(). To get the size a widget will actually use, call gtk_widget_size_request() instead of this function.

class Widget
void
getSizeRequest
(
out int width
,
out int height
)

Parameters

width int

return location for width, or NULL. out[allow-none]

height int

return location for height, or NULL. out[allow-none]

Meta