Method

GdkDrawContextis_in_frame

deprecated: 4.16 

Declaration [src]

gboolean
gdk_draw_context_is_in_frame (
  GdkDrawContext* context
)

Description [src]

Returns TRUE if context is in the process of drawing to its surface.

This is the case between calls to gdk_draw_context_begin_frame() and gdk_draw_context_end_frame(). In this situation, drawing commands may be effecting the contents of the contexts surface.

Deprecated since: 4.16

Drawing directly to the surface is no longer recommended. Use GskRenderNode and GskRenderer.

Return value

Type: gboolean

TRUE if the context is between gdk_draw_context_begin_frame() and gdk_draw_context_end_frame() calls.