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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -