Package: gdk

Accessor gdk:surface-width

Lambda List

gdk:surface-width (object)

Syntax

(gdk:surface-width object) => width
(setf (gdk:surface-width object) width)

Arguments

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

Details

Accessor of the width slot of the gdk:surface class. The gdk:surface-width function 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

2024-1-8