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
widget | the gtk.widget.Widget using manager |
orientation | the orientation to measure |
forSize | Size 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 |
minimum | the minimum size for the given size and orientation |
natural | the natural, or preferred size for the given size and orientation |
minimumBaseline | the baseline position for the minimum size |
naturalBaseline | the baseline position for the natural size |