[Gtk-sharp-list] Creating a widget

Miguel de Icaza miguel at ximian.com
Wed Jun 7 00:43:15 EDT 2006


Hello,

> 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...

Ah, we have some coverage for this on the Gtk# FAQ:

http://www.mono-project.com/FAQ:_Gtk#Custom_Widgets

Miguel


More information about the Gtk-sharp-list mailing list