Gtk.Widget::get_preferred_width

function vfunc_get_preferred_width():void {
}

Retrieves a widget's initial minimum and natural width.

<note><para>This call is specific to height-for-width requests.</para></note>

The returned request will be modified by the GtkWidgetClass::adjust_size_request virtual method and by any Gtk.SizeGroup<!-- -->s 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.

Since 3.0