[Mono-list] GtkDotnet and Invalidate()

Manuel Alejandro Cerón Estrada ceronman at gmail.com
Thu Jul 28 17:44:30 EDT 2005


Hello,

I'm writing a canvas applications in Gtk# using System.Drawing (via
GtkDotnet). I'm doing some animations and I need to improve
performance. In a Windows Forms Application, the way to do this is
using the Invalidate() method to say which part of the control needs
to be refreshed instead of refreshing all canvas, but I'm using Gtk#
and I don't have any Windows.Forms.Control object to use Invalidate().
So, my question is: How can I do the same thing that with Invalidate()
but using a Gtk.DrawingArea object?

Thanks for the help.

Manuel.
-- 
· Manuel Alejandro Cerón Estrada
· ceronman at gmail.com
· http://ceronman.blogspot.com


More information about the Mono-list mailing list