[Gtk-sharp-list] Text input in drawing area

Piotr Zurek p.zurek at gmail.com
Mon Jan 11 16:58:58 EST 2010


Hi guys,

I'm looking for a bit of advice here. There's this project that I've
been playing with from time to time for a few years now - a mind
mapping app written in C#, using Gtk# and Cairo [1]. At this point all
the drawing is done in a DrawingArea and I'm quite happy with the
result (some screenshots: [2]). There is however one thing that I
can't figure out. Editing of the text is done through an external
widget outside of the mind map view, because I simply have no idea how
do embed or overlay another widget over a DrawingArea. That'a where I
need advice. Is DrawingArea a good choice here? Should I consider
using another technology altogether (like Clutter or Moonlight?).
Let's say that I would like to take what I have [3] and get and
editable text entry field on top of it [4]. What do you reckon? Can
someone suggest an approach or better yet a similar project that does
it already?

Thanks,
Piotr

[1] - http://www.psycho-project.com
[2] - http://www.flickr.com/photos/piotrzurek/sets/72157600085637804/
[3] - http://dl.dropbox.com/u/118505/psycho_ui.png
[4] - http://dl.dropbox.com/u/118505/psycho_editing_mockup.png


More information about the Gtk-sharp-list mailing list