Package: gtk

Function gtk-style-context-frame-clock

Lambda List

gtk-style-context-frame-clock (context)

Syntax

(gtk-style-context-frame-clock context) => clock
(setf (gtk-style-context-frame-clock context) clock)

Arguments

context -- a gtk-style-context object
clock -- a gdk-frame-clock object

Details

Accessor of the gdk-frame-clock object of the style context.

The gtk-style-context-frame-clock function returns the frame clock to which the style context is attached. The (setf gtk-style-context-frame-clock) function attaches the style context to the given frame clock.

The frame clock is used for the timing of animations. If you are using a style context returned from the gtk-widget-style-context function, you do not need to call this yourself.

Note

This function is equivalent to the gtk-style-context-paint-clock slot access function.
 

See also

2021-11-26