c# - Gtk# task bar icon -


i can't find working example of how set task bar icon gtk# application.

i tested code on main method:

statusicon trayicon = new statusicon(new gdk.pixbuf("iconpath")); trayicon.visible = true; 

and:

gtk.window.setdefaulticonfromfile("iconpath"); 

without successful result.

statusicons strictly system tray. use window.seticonfromfile(), not setdefaulticonfromfile().


Comments

Popular posts from this blog

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

java - Callback from new thread to class from which thread was initiated -