Hi All,
I have a question about wx.TaskBarIcon, please. Thanks!
My question:
When I read the wx document, it told me the wx.TaskBarIcon has the follows event handlings,
EVT_TASKBAR_MOVE(func)
Process a wxEVT_TASKBAR_MOVE event.
EVT_TASKBAR_LEFT_DOWN(func)
Process a wxEVT_TASKBAR_LEFT_DOWN event.
EVT_TASKBAR_LEFT_UP(func)
Process a wxEVT_TASKBAR_LEFT_UP event.
EVT_TASKBAR_RIGHT_DOWN(func)
Process a wxEVT_TASKBAR_RIGHT_DOWN event.
EVT_TASKBAR_RIGHT_UP(func)
Process a wxEVT_TASKBAR_RIGHT_UP event.
EVT_TASKBAR_LEFT_DCLICK(func)
Process a wxEVT_TASKBAR_LEFT_DCLICK event.
EVT_TASKBAR_RIGHT_DCLICK(func)
Process a wxEVT_TASKBAR_RIGHT_DCLICK event.
EVT_TASKBAR_CLICK(func)
Now, I want to create a small dialog when my mouse move into the icon in the ‘system tray’ , what can I do?
Which event handling do I used to bind?
Best Wishes,
Sylar Feng
The taskbar icon already displays a tooltip when mousing over it. I
just played with it a bit and didn't see a way to do this. It ignored
my EVT_MOTION binding on Windows XP. You're probably better off just
using the mouse click events to display a dialog.
···
On Sep 15, 6:27 am, "usr.root" <usr.r...@gmail.com> wrote:
Hi All,
I have a question about wx.TaskBarIcon, please. Thanks!
My question:
When I read the wx document, it told me the wx.TaskBarIcon has the follows event handlings,
EVT_TASKBAR_MOVE(func) Process a wxEVT_TASKBAR_MOVE event.
EVT_TASKBAR_LEFT_DOWN(func) Process a wxEVT_TASKBAR_LEFT_DOWN event.
EVT_TASKBAR_LEFT_UP(func) Process a wxEVT_TASKBAR_LEFT_UP event.
EVT_TASKBAR_RIGHT_DOWN(func) Process a wxEVT_TASKBAR_RIGHT_DOWN event.
EVT_TASKBAR_RIGHT_UP(func) Process a wxEVT_TASKBAR_RIGHT_UP event.
EVT_TASKBAR_LEFT_DCLICK(func) Process a wxEVT_TASKBAR_LEFT_DCLICK event.
EVT_TASKBAR_RIGHT_DCLICK(func) Process a wxEVT_TASKBAR_RIGHT_DCLICK event.
EVT_TASKBAR_CLICK(func)
Now, I want to create a small dialog when my mouse move into the icon in the 'system tray' , what can I do?
Which event handling do I used to bind?
Best Wishes,
Sylar Feng
-------------------
Mike Driscoll
Blog: http://blog.pythonlibrary.org