the contents of the #GdkWindow. The context is owned by the #GdkDrawingContext and should not be destroyed
DrawingContext.getCairoContext
cairo.context.Context getCairoContext()Retrieves a Cairo context to be used to draw on the #GdkWindow that created the #GdkDrawingContext.
The returned context is guaranteed to be valid as long as the #GdkDrawingContext is valid, that is between a call to [gdk.window.Window.beginDrawFrame] and [gdk.window.Window.endDrawFrame].
Returns
a Cairo context to be used to draw