Package: gdk

Accessor gdk:surface-width

Lambda List

gdk:surface-width (object)

Syntax

(gdk:surface-width object) => width

Arguments

object -- a gdk:surface object
width -- an integer for the width of the surface

Details

The accessor for the width slot of the gdk:surface class returns the width of the given surface. Surface size is reported in "application pixels", not "device pixels". See the gdk:surface-scale-factor function.
 

See also

2025-08-02