[Gtk-sharp-list] Update Gtk.Entry from another thread

fabiocberg fabiocberg at gmail.com
Sat Nov 16 00:51:48 UTC 2013


Hi All,

I know that it should be simple, but I'm having problems to do this.

All I found on the internet, is to use this:
MethodInvoker action = delegate {
	entry.Text = "New text";
};
entry.Invoke(action);

But, in the "entry" object there is no such "Invoke" method.

So, how can I update the UI from another thread?

Thanks!



--
View this message in context: http://mono.1490590.n4.nabble.com/Update-Gtk-Entry-from-another-thread-tp4661323.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list