gtkWidgetGetSizeRequest

Share:

Description

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

Usage

1

Arguments

object

a GtkWidget

Value

A list containing the following elements:

width

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

height

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

Author(s)

Derived by RGtkGen from GTK+ documentation

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.