Package: gdk

Function gdk:draw-context-is-in-frame

Lambda List

gdk:draw-context-is-in-frame (context)

Arguments

context -- a gdk:draw-context object

Return Value

True if the draw context is between the gdk:draw-context-begin-frame and gdk:draw-context-end-frame function calls.

Details

Returns true if context is in the process of drawing to its surface after a call to the gdk:draw-context-begin-frame function and not yet having called the gdk:draw-context-end-frame function. In this situation, drawing commands may be effecting the contents of a surface of the context.

Warning

This function is deprecated since 4.16. Drawing directly to the surface is no longer recommended. Use the gsk:render-node and gsk:renderer API.
 

See also

#2024-11-7