« Return to Thread: Update statusIcon gtk pixbuf

Re: Update statusIcon gtk pixbuf

by lordphoenix-3 :: Rate this Message:

Reply to Author | View in Thread

Le Fri, 29 May 2009 13:11:29 -0700 (PDT),
SomeIrishGuy <dave@...> a écrit :

>
> i presume i've done something to the main thread (cross invocation
> exception), but i cant find any documentation on how to invoke a
> change managed by a delegate for this event.
in Elapsed event of timer you must do :

Gtk.Application.Invoke(delegate{
        //change your icon here
});


_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@...
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

signature.asc (204 bytes) Download Attachment

 « Return to Thread: Update statusIcon gtk pixbuf