Gtk.Application.Invoke((_,__) =>
{
entry.Text = "New text";
});
On Sat, Nov 16, 2013 at 1:51 PM, fabiocberg <[email protected]> wrote:
> 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.
> _______________________________________________
> Gtk-sharp-list maillist - [email protected]
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list