requestPhase

open fun requestPhase(phase: FrameClockPhase)

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_request_phase() will be combined together and only one frame processed. If you are displaying animated content and want to continually request the %GDK_FRAME_CLOCK_PHASE_UPDATE phase for a period of time, you should use method@Gdk.FrameClock.begin_updating instead, since this allows GTK to adjust system parameters to get maximally smooth animations.

Parameters

phase

the phase that is requested