Package: gdk
Function gdk:paintable-compute-concrete-size
Lambda Listgdk:paintable-compute-concrete-size (paintable swidth sheight dwidth dheight) SyntaxArgumentsDetails
Applies the sizing algorithm outlined in
https://drafts.csswg.org/css-images-3/default-sizing to the given paintable.
See that link for more details. It is not necessary to call this function when both swidth and sheight are known, but it is useful to call this function in GtkWidget:measure implementations to compute the other dimension when only one dimension is given. | See also |
#2025-08-04