events triggered by a wx.TextCtrl scrollbar - linux, Kubuntu

Hi all,
while trying to work around the problem mentioned in
http://lists.wxwidgets.org/pipermail/wxpython-users/2009-February/084143.html
I noticed, that I can't find any suitable event to detect the
scrolling of a text widget on linux, Kubuntu,
I hoped a bit, that even if this object doesn't emit scrollwin events
on linux, it would be possible to catch other events instead - like
mouse motion, mouse buttons etc.
Unfortunately, it seems, that all this events only work in the actual
text field, not on scrollbars, even EVT_ENTER_WINDOW and
EVT_LEAVE_WINDOW are triggered at the boundary between the text field
and its scrollbar.

Are there any options to catch the mouse activity on the scrollbar of
a TextCtrl widget? (given the scrollwin events, which work fine in
Windows, aren't supported everywhere).
Ideally, I'd like to start a timer (to periodically check the scrolled
position) on entering the scrollbar area or clicking with a mouse and
destroy this timer after leaving or releasing the mouse button.

Any suggestions are much appreciated,
   Vlasta

Vlastimil Brom wrote:

Are there any options to catch the mouse activity on the scrollbar of
a TextCtrl widget?

No, probably not. The scrollbar belongs to the text widget and it doesn't have to provide any access to it, or forward the notifications that come from it.

···

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

Thanks for the info Robin!
It's good to know in order not to vaste time with other trials;
I'll have to decide, whether its reasonable to have permanent position
checks regardless of scrolling or possibly give up this functionality
on not supporting plattforms.

Regards
   Vlasta

···

2009/2/21 Robin Dunn <robin@alldunn.com>:

Vlastimil Brom wrote:

Are there any options to catch the mouse activity on the scrollbar of
a TextCtrl widget?

No, probably not. The scrollbar belongs to the text widget and it doesn't
have to provide any access to it, or forward the notifications that come
from it.

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

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