Retrieves a Cairo context to be used to draw on the GdkSurface of @context.
A call to [method@Gdk.DrawContext.begin_frame] with this @context must have been done or this function will return %NULL.
The returned context is guaranteed to be valid until [method@Gdk.DrawContext.end_frame] is called.
a Cairo context to be used to draw the contents of the GdkSurface. %NULL is returned when @context is not drawing.
See Implementation
Retrieves a Cairo context to be used to draw on the GdkSurface of @context.
A call to [method@Gdk.DrawContext.begin_frame] with this @context must have been done or this function will return %NULL.
The returned context is guaranteed to be valid until [method@Gdk.DrawContext.end_frame] is called.