[Gtk-sharp-list] Creating a widget

Miguel de Icaza miguel at ximian.com
Wed Jun 7 00:41:28 EDT 2006


> Is there any place where I could information on how to create a
> owner-draw widget? I mean, painting the surface by myself, and knowing
> where the user has clicked and so on. Is it possible to use
> System.Drawing methods in GTK#? (I'm moving from Windows Forms to GTK#).
> Or at least, please point me to which class should I derive from, which
> methods to override...

You can look at the `list.cs' widget in mono-tools/docbrowser on the
mono-tools package, it is a scalable list. 

There are also many custom widgets in Banshee and F-Spot.

It is probably a good subject for a tutorial.


More information about the Gtk-sharp-list mailing list