Package: gtk
Function gtk-widget-preferred-size
Lambda Listgtk-widget-preferred-size (widget) ArgumentsReturn Value minimum-size -- a gtk-requisition instance with the minimum size, or nil natural-size -- a gtk-requisition instance with the the natural size, or nil Details
Retrieves the minimum and natural size of a widget, taking into account the
preference for height-for-width management of the widget. This is used to retrieve a suitable size by container widgets which do not impose any restrictions on the child placement. It can be used to deduce toplevel window and menu sizes as well as child widgets in free-form containers such as gtk-layout widget. Note | See also |
2021-9-21