Re: Problem with Tkinter scrollbar callback

2008-01-30 Thread Ivan Van Laningham
HI All-- We've decided that this represents a bug in the tcl/tk library, and there's no workaround. I switched to + and - buttons, which are not as nice aesthetically but work correctly on both Windows & Linux. Thanks to everyone for their help. Metta, Ivan On Jan 29, 2008 11:03 AM, Ivan Van La

Re: Problem with Tkinter scrollbar callback

2008-01-29 Thread Ivan Van Laningham
No Joy. Waits the 1 second, then clicks the button once per second until the limit's reached. Sigh. Metta, Ivan On Jan 29, 2008 10:20 AM, Russell E Owen <[EMAIL PROTECTED]> wrote: > >Nope: > > > >'repeatdelay': ('repeatdelay', 'repeatDelay', 'RepeatDelay', '300', '300'), > > > >And even after I

Re: Problem with Tkinter scrollbar callback

2008-01-29 Thread Ivan Van Laningham
Nope: 'repeatdelay': ('repeatdelay', 'repeatDelay', 'RepeatDelay', '300', '300'), And even after I set it, it looks funny: 'repeatdelay': ('repeatdelay', 'repeatDelay', 'RepeatDelay', '300', '1000'), And when I try it with the new repeatdelay (1000), the only thing that has changed is that it w

Re: Problem with Tkinter scrollbar callback

2008-01-25 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Ivan Van Laningham" <[EMAIL PROTECTED]> wrote: > Hi All-- > That helps. Doing a get() on the scrollbar before a set(0.0,0.0) > returns a 4-tuple: (0.0, 0.0, 0.0, 0.0) ! I did the set(0.0,0.0) > and now the callback gets the correct number of arguments. > > Ho

Re: Problem with Tkinter scrollbar callback

2008-01-24 Thread Ivan Van Laningham
Hi All-- That helps. Doing a get() on the scrollbar before a set(0.0,0.0) returns a 4-tuple: (0.0, 0.0, 0.0, 0.0) ! I did the set(0.0,0.0) and now the callback gets the correct number of arguments. However, I'm still getting the weird behaviour when clicking the arrowheads--and the heads are a

Re: Problem with Tkinter scrollbar callback

2008-01-24 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Ivan Van Laningham" <[EMAIL PROTECTED]> wrote: > Hi All-- > I'm having two problems with the scrollbar callback on linux systems > (Fedora 7, Suse 10.1,2 and 3 all exhibit the issues). > > Problem one: on Windows, the callback is called with the arguments as > s

Problem with Tkinter scrollbar callback

2008-01-24 Thread Ivan Van Laningham
Hi All-- I'm having two problems with the scrollbar callback on linux systems (Fedora 7, Suse 10.1,2 and 3 all exhibit the issues). Problem one: on Windows, the callback is called with the arguments as specified in the doc: "scroll", "1" or "-1", "units". When I run the identical code on linux,