[Gtk-sharp-list] OnPaint method

Sergio Rubio sergio.rubio@hispalinux.es
Tue, 5 Apr 2005 20:08:52 +0200


Hi,
I wonder if adding something like

protected virtual void OnPaint (Graphics g)
{
 //...
}

to the Widget class (Graphics from System.Drawing.Graphics) could be possible 
so the user doesn't have to do:

Graphics g = Gtk.DotNet.Graphics.FromDrawable (EventExpose.Window);

Does it make sense to the Gtk# core developers?

Regards,
Rubio.