createContext

Creates a Cairo context for drawing to @window.

Note that calling cairo_reset_clip() on the resulting #cairo_t will produce undefined results, so avoid it at all costs.

createContext

Parameters

window Window

a #GdkWindow

Return: A newly created Cairo context. Free with cairo_destroy() when you are done drawing.

Meta