[Gtk-sharp-list] drawable and clickable widgets?

muell_muell_@gmx.net muell_muell_@gmx.net
Mon, 06 Dec 2004 11:59:10 +0100


hi,

i need a widget that can draw something and can handle mouse-clicks on 
itself.
i found out, that the following widgets can draw something (during 
GdkWindow property and in the ExposeEvent):
- Gtk.Window
- Gtk.ScrolledWindow
- Gtk.Fixed
- Gtk.Frame
- Gtk.DrawingArea

and the following widgets can handle mouse-button-clicks (with 
this.ButtonPressEvent and this.Event = EventMask.ButtonPressMark):
- Gtk.Window
- Gtk.DrawableArea

therefore i thing the best solution for a widget that should draw 
something and notice mouse-clicks is teh Gtk.DrawingArea?