Package: gdk

Function gdk:frame-clock-request-phase

Lambda List

gdk:frame-clock-request-phase (clock phase)

Arguments

clock -- a gdk:frame-clock object
phase -- a gdk:frame-clock-phase value with the phase that is requested

Details

Asks the frame clock to run a particular phase. The signal corresponding to the requested phase will be emitted the next time the frame clock processes. Multiple calls to the gdk:frame-clock-request-phase function will be combined together and only one frame processed. If you are displaying animated content and want to continually request the :update phase for a period of time, you should use the gdk:frame-clock-begin-updating function instead, since this allows GTK to adjust system parameters to get maximally smooth animations.
 

See also

#2024-7-12