[Gtk-sharp-list] custom widget
lists at miketech.net
Wed Mar 8 11:21:41 EST 2006
hm I wanted to write such a component on my own to learn Gtk# a bit more
With DrawingArea I got it working. Is this here the right way to do it?
public class PaintWidget : Gtk.DrawingArea
public PaintWidget() : base()
Events = (Gdk.EventMask)Gdk.EventMask.ButtonPressMask;
protected override bool OnButtonPressEvent(Gdk.EventButton evnt)
Or is there a better way?
More information about the Gtk-sharp-list