[Gtk-sharp-list] Update statusIcon gtk pixbuf
SomeIrishGuy
dave at feeditout.com
Fri May 29 16:11:29 EDT 2009
private StatusIcon trayIcon;
in the constructor i have
Constructor
{
this.trayIcon = new StatusIcon(getStatusIconPixbuf());
......
}
private Pixbuf getStatusIconPixbuf() // returns a generated pixbuf
{
.......
}
this works fine, but i would like to be able to change the pixbuf
icon in the statusmenu at periodical intervals using a timer
i seems to cause havok though, as the menu no longer draws correctly and the
pixbuf just goes blank
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.
Thanks.
Dave.
mono 2.4
gtk#2.12.8
--
View this message in context: http://www.nabble.com/Update-statusIcon-gtk-pixbuf-tp23786268p23786268.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list
mailing list