LayoutManager.measure

void measure(gtk.widget.Widget widget, gtk.types.Orientation orientation, int forSize, out int minimum, out int natural, out int minimumBaseline, out int naturalBaseline)

Measures the size of the widget using manager, for the given orientation and size.

See the [gtk.widget.Widget] documentation on layout management for more details.

Parameters

widgetthe [gtk.widget.Widget] using manager
orientationthe orientation to measure
forSizeSize for the opposite of orientation; for instance, if the orientation is [gtk.types.Orientation.Horizontal], this is the height of the widget; if the orientation is [gtk.types.Orientation.Vertical], this is the width of the widget. This allows to measure the height for the given width, and the width for the given height. Use -1 if the size is not known
minimumthe minimum size for the given size and orientation
naturalthe natural, or preferred size for the given size and orientation
minimumBaselinethe baseline position for the minimum size
naturalBaselinethe baseline position for the natural size