Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

I am trying to implement drawing concept like line,rectangle,pencil and brush tool in Gtk.Textview . Is it possible to draw into Gtk.textview?

Thanks in Advance...

share|improve this question
@zignd : this questions is ontopic here – Tachyons Dec 6 '12 at 12:16
Try gdk(Gimp drawing toolkit) – Tachyons Dec 6 '12 at 12:17
Not GDK, you should use Cairo for drawing in GTK. – Timo Dec 6 '12 at 12:31
@Timo : sorry for mistake, BTW post it as answer :) – Tachyons Dec 6 '12 at 13:01
@Tachyons: it's not really an answer, just a hint. Maybe I'll try later on how to draw stuff on a textview. If time permits... – Timo Dec 6 '12 at 13:11

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.