Widget.getRequestMode

Gets whether the widget prefers a height-for-width layout or a width-for-height layout.

#GtkBin widgets generally propagate the preference of their child, container widgets need to request something either in context of their children or in context of their allocation capabilities.

class Widget
getRequestMode
()

Return Value

The #GtkSizeRequestMode preferred by @widget.

Meta