set_window_scale


Description:

[ Version ( since = "3.10" ) ]
public void set_window_scale (int 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.

Parameters:

this

the display

scale

The new scale value




2022 vala-language.org