get_request_mode


Description:

[ Version ( since = "3.0" ) ]
public virtual SizeRequestMode get_request_mode ()

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

Bin 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.

Parameters:

this

a Widget instance

Returns:

The SizeRequestMode preferred by this.