Gtk.Widget.prototype.get_request_mode
function get_request_mode():Gtk.SizeRequestMode { // Gjs wrapper for gtk_widget_get_request_mode() }
Gets whether the widget prefers a height-for-width layout or a width-for-height layout.
<note><para>Gtk.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.</para></note>
Since 3.0
- Returns
The Gtk.SizeRequestMode preferred by widget.