Method

GdkMonitorget_refresh_rate

since: 3.22

Declaration [src]

int
gdk_monitor_get_refresh_rate (
  GdkMonitor* monitor
)

Description [src]

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.

Available since: 3.22

Return value

Type: int

The refresh rate in milli-Hertz, or 0.