get_refresh_rate


Description:

[ Version ( since = "3.22" ) ]
public int get_refresh_rate ()

Gets the refresh rate of the monitor, if available.

The value is in milli-Hertz, so a refresh rate of 60Hz is returned as 60000.

Parameters:

this

a Monitor

Returns:

the refresh rate in milli-Hertz, or 0




2022 vala-language.org