Hi,
On 7/6/2014 16:55,
dario...@gmail.com wrote:
> On Sunday, July 6, 2014 10:24:03 PM UTC+8, werner wrote:
>
...
> The output is:
>
> #####################################################
> ('ERROR', PyAssertionError(u'C++ assertion "sb" failed at
> ./src/gtk/window.cpp(4764) in GetScrollPos(): this window is not
> scrollable',))
> ('SCROLL', False)
> ('ERROR', PyAssertionError(u'C++ assertion "sb" failed at
> ./src/gtk/window.cpp(4764) in GetScrollPos(): this window is not
> scrollable',))
> #####################################################
>
> So ScrollLines returns False with no error, but the docs say that on
> wxGTK it's only implemented for TextCtrl...
>
> EnsureVisible could be a temporary solution, although not optimal, but
> anyway I want to preserve the current scroll position through a Reset,
> so I still need to get the current scroll.
Hi,
On 2.9.5 Windows I see:
2.9.5.0
('POS1', 0)
('SCROLL', True)
('POS2', 20)
and on 3.0.1 Phoenix I see this:
3.0.1.dev76109
('POS1', 0)
('SCROLL', True)
('POS2', 20)
This is all on Windows 8.1, so it looks like a problem in 3.0 or a GTK one.
Hopefully someone else with *nix know how can help.
Werner
P.S.
Attached the code which makes it run on Phoenix without deprecation
warnings.