Package: gtk
Function gtk:widget-preferred-height-and-baseline-for-width
Lambda Listgtk:widget-preferred-height-and-baseline-for-width (widget width) ArgumentsReturn Value min-height -- an integer with the minimum height, or nil nat-height -- an integer with the natural height, or nil min-baseline -- an integer with the baseline for the minimum height, or nil nat-baseline -- an integer with the baseline for the natural height, or nil Details
Retrieves the minimum and natural height of the widget and the corresponding
baselines if it would be given the specified width, or the default height
if width is -1.
The baselines may be -1 which means that no baseline is requested for this
widget. The returned request will be modified by the adjust_size_request and adjust_baseline_request virtual methods and by any gtk:size-group objects 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. | See also |
#2023-3-8