GdkDrawingContext

#GdkDrawingContext is an object that represents the current drawing state of a #GdkWindow.

It's possible to use a #GdkDrawingContext to draw on a #GdkWindow via rendering API like Cairo or OpenGL.

A #GdkDrawingContext can only be created by calling gdk.window.Window.beginDrawFrame and will be valid until a call to gdk.window.Window.endDrawFrame.

#GdkDrawingContext is available since GDK 3.22

struct GdkDrawingContext