Widget.getPreferredWidthForHeight
void getPreferredWidthForHeight(int height, out int minimumWidth, out int naturalWidth)Retrieves a widget’s minimum and natural width if it would be given the specified height.
The returned request will be modified by the GtkWidgetClass::adjust_size_request virtual method and by any #GtkSizeGroups that have been applied. That is, the returned request is the one that should be used for layout, not necessarily the one returned by the widget itself.
Parameters
height | the height which is available for allocation |
minimumWidth | location for storing the minimum width, or null |
naturalWidth | location for storing the natural width, or null |