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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -