[Mono-dev] Linux: How to set app icon?

mattgreer matt.e.greer at gmail.com
Sat May 25 19:53:30 UTC 2013


I figured this out. Setting the Win32 ico file does give the exe itself an
icon. But what really needs the icon is the game's window.

I ended up doing essentially this 

((OpenTKGameWindow)Game.Window).Window.Icon = new Icon("Game.ico", 128,
128);

And made sure Game.ico got copied to the output directory.



--
View this message in context: http://mono.1490590.n4.nabble.com/Linux-How-to-set-app-icon-tp4659775p4659776.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list