GdkDrawContext

Base class for objects implementing different rendering methods.

gdk.draw_context.DrawContext is the base object used by contexts implementing different rendering methods, such as gdk.cairo_context.CairoContext or gdk.glcontext.GLContext. It provides shared functionality between those contexts.

You will always interact with one of those subclasses.

A gdk.draw_context.DrawContext is always associated with a single toplevel surface.

struct GdkDrawContext