[Gtk-sharp-list] Newbie question: how to Invalidate screen in gtk#/C#?

Wolfgang Silbermayr wolfgang.silbermayr at gmail.com
Sun Sep 23 08:58:29 UTC 2012


Am 2012-09-23 09:26, schrieb iltelko:
> I am trying to redraw the screen, I am using Gtk.Window and Gtk.TreeView.
> 
> I am more familiar with windows and Windows.Forms and invalidate()-function
> which redraws the screen. How to do the same in gtk#?

You can use either the QueueDraw() method [0] or the QueueDrawArea()
method [1] of the Gtk.Widget.

Wolfgang.

----

[0] http://docs.go-mono.com/?link=M%3aGtk.Widget.QueueDraw
[1] http://docs.go-mono.com/?link=M%3aGtk.Widget.QueueDrawArea


More information about the Gtk-sharp-list mailing list