We are trying to implement the drawing tools like line, circle, pencil, brush and so on in gtk.
Is it possible to draw these things into the textview? Would one of these packages work for the project?
- pygame
- pyglet
- pycairo
We are trying to implement the drawing tools like line, circle, pencil, brush and so on in gtk.
Is it possible to draw these things into the textview? Would one of these packages work for the project?
I don't know if the packages you listed would work, but I remember using gtk.gdk.Pixmap() and gtk.DrawingArea() to draw.