Package: gdk

Function gdk:paintable-intrinsic-width

Lambda List

gdk:paintable-intrinsic-width (paintable)

Arguments

paintable -- a gdk:paintable object

Return Value

The integer with the the intrinsic width of paintable or 0 if none.

Details

Gets the preferred width the paintable would like to be displayed at. Consumers of this interface can use this to reserve enough space to draw the paintable.

This is a purely informational value and does not in any way limit the values that may be passed to the gdk:paintable-snapshot function.

If the paintable does not have a preferred width, it returns 0. Negative values are never returned.
 

See also

2024-5-5