get_intrinsic_width


Description:

public virtual int get_intrinsic_width ()

Gets the preferred width the this 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 [method@Gdk.Paintable.snapshot].

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

Parameters:

this

a `GdkPaintable`

Returns:

the intrinsic width of this or 0 if none.