GdkX11.X11Display.prototype.set_window_scale
function set_window_scale(scale: Number(gint)): void { // Gjs wrapper for gdk_x11_display_set_window_scale() }
Forces a specific window scale for all windows on this display, instead of using the default or user configured scale. This is can be used to disable scaling support by setting scale to 1, or to programmatically set the window scale.
Once the scale is set by this call it will not change in response to later user configuration changes.
Since 3.10
- scale
The new scale value