Package: gtk

Accessor gtk-widget-scale-factor

Lambda List

gtk-widget-scale-factor (object)

Syntax

(gtk-widget-scale-factor object) => scale

Arguments

object -- a gtk-widget object
scale -- an integer with the scale factor

Details

The gtk-widget-scale-factor slot access function retrieves the internal scale factor that maps from window coordinates to the actual device pixels. On traditional systems this is 1, on high density outputs, it can be a higher value (typically 2).
 

See also

2021-9-15