Tray question

Ruslan Spivak wrote:

Hello.

I have wxPython application so that when i minimize it, it goes into system tray(windows). I need to do it on Event(pressing button 'Connect', so that after Connection application goes into tray). Can anybody give an advice how to implement it.

See wxTaskbarIcon and its usage in the demo. To make an app show up only in the tray then you need to catch the EVT_MINIMIZE and/or EVT_CLOSE events and then Hide() the frame and also create the wxTaskbarIcon if you havn't already.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!