Package: gdk
Accessor gdk:monitor-scale
Lambda Listgdk:monitor-scale (object) SyntaxArgumentsDetails The accessor for the scale slot gets the internal scale
factor that maps from monitor coordinates to device pixels. This can be used if you want to create pixel based data for a particular monitor, but most of the time you are drawing to a surface where it is better to use the gdk:surface-scale function instead. Since 4.14 | See also |
2026-07-30