FrameClock.requestPhase

Asks the frame clock to run a particular phase.

The signal corresponding the requested phase will be emitted the next time the frame clock processes. Multiple calls to gdk.frame_clock.FrameClock.requestPhase will be combined together and only one frame processed. If you are displaying animated content and want to continually request the gdk.types.FrameClockPhase.Update phase for a period of time, you should use gdk.frame_clock.FrameClock.beginUpdating instead, since this allows GTK to adjust system parameters to get maximally smooth animations.

class FrameClock
void
requestPhase

Parameters

phase gdk.types.FrameClockPhase

the phase that is requested