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.
statusicon
s strictly system tray. use window.seticonfromfile()
, not setdefaulticonfromfile()
.
Comments
Post a Comment