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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -