Surface.getWidth

Returns the width of the given @surface.

Surface size is reported in ”application pixels”, not ”device pixels” (see [method@Gdk.Surface.get_scale_factor]).

class Surface
int
getWidth
()

Return Value

Type: int

The width of @surface

Meta