GTK3 Drawing area tutorial does not seem to exist? GTK3 Drawing area tutorial does not seem to exist? python-3.x python-3.x

GTK3 Drawing area tutorial does not seem to exist?


You basically connect to the ::draw signal and draw in the handler using pycairo. And use queue_draw/queue_draw_area() if you want to redraw.

See http://zetcode.com/gfx/pycairo/basicdrawing/ for examples