Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

  1. pygame
  2. pyglet
  3. pycairo
share|improve this question
2  
Maybe this question would fit better in StackOverflow. – Yamaneko Dec 6 '12 at 5:03

I don't know if the packages you listed would work, but I remember using gtk.gdk.Pixmap() and gtk.DrawingArea() to draw.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.