FrameTimings.getRefreshInterval

Gets the natural interval between presentation times for the display that this frame was displayed on.

Frame presentation usually happens during the “vertical blanking interval”.

class FrameTimings
long
getRefreshInterval
()

Return Value

Type: long

the refresh interval of the display, in microseconds, or 0 if the refresh interval is not available. See [method@Gdk.FrameTimings.get_complete].

Meta