[wxPython] wxPython 2.3.3.1: Prob with Statusbar

Hi,

at first many thanks to Robin Dunn for his great work!

There seems to be a problem with the combination of wxToolBar and
wxStatusBar:
- I habe some text in the statusbar
- When I move the mouse over any toolbar button, the statusbar is
cleared.
- There is no EVT_TOOL_ENTER set.

I tried EVT_TOOL_ENTER with event.skip(true) without success.
The same application worked correctly with the previous release of
wxPython.

I forgot:
Platform Win2000, Python 2.1.3

Bye,
Harald

···

-----Ursprüngliche Nachricht-----
Von: wxpython-users-admin@lists.wxwindows.org
[mailto:wxpython-users-admin@lists.wxwindows.org] Im Auftrag
von Harald Schneider
Gesendet: Freitag, 20. September 2002 08:32
An: wxpython-users@lists.wxwindows.org
Betreff: [wxPython] wxPython 2.3.3.1: Prob with Statusbar

Hi,

at first many thanks to Robin Dunn for his great work!

There seems to be a problem with the combination of wxToolBar and
wxStatusBar:
- I habe some text in the statusbar
- When I move the mouse over any toolbar button, the statusbar is
cleared.
- There is no EVT_TOOL_ENTER set.

I tried EVT_TOOL_ENTER with event.skip(true) without success.
The same application worked correctly with the previous release of
wxPython.

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users

Harald Schneider wrote:

Hi,

at first many thanks to Robin Dunn for his great work!

There seems to be a problem with the combination of wxToolBar and
wxStatusBar:
- I habe some text in the statusbar
- When I move the mouse over any toolbar button, the statusbar is
cleared.
- There is no EVT_TOOL_ENTER set.

It's trying to display the "long help" text for your tool buttons, but apparently they don't have any. There is code in the demo that shows how to clear the statusbar after a delay. Or since you don't want to have the long help at all, then you can just use wxCallAFter in your EVT_TOOL_ENTER hander to put your status text back.

···

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