I have a working wxpython app (a simple ssh/rdesktop launcher). I would like to add 3 new features but I don't know where to start with.
1.- When the app starts, or when the users clicks on the standard frame "Minimize" button, I would like the app to minimize to a system-tray icon (I'm running gnome).
2.- When the user left or right clicks the icon, the app should "un-minimize".
3.- When the user presses a hotkey (let's say CTRL+ALT+S), the app sould "un-minimize".
A simple example with an empty window would be appreciated.
PS: Must the icon be loaded from an external ico file? My app is a "single file" .py application ; can I load the resource from the .py itself, from the .ico data in a list/array or similar?