[Gtk-sharp-list] Drawing - Mouse Input
Adam Tauno Williams
awilliam at whitemice.org
Sat Feb 28 09:54:20 EST 2009
> I'm planning to create a simple tool for drawing mazes/labyrinth. Is
> it possible for a gtk drawing area to receive mouse input? My idea is
> to logically divide the drawing-area into a number of sqares. By
> performing a click on the drawing area one should then be able to
> blacken the square, creating a wall. Would a gtk drawing area work out
> for this? Which widget would you use?
Yes, DrawingArea is the correct widget for drawing or building entirely
custom widgets.
--
OpenGroupware developer: awilliam at whitemice.org
<http://whitemiceconsulting.blogspot.com/>
More information about the Gtk-sharp-list
mailing list