On Sun, Aug 31, 2008 at 3:47 PM, Cam Farnell <[EMAIL PROTECTED]> wrote:
> I ran into exactly this keyboard shortcut issue while writing the Rapyd-Tk
> Python development environment (http://www.bitflipper.ca/rapyd/). My
> solution is based on these functions, where the left part is the usual menu
>
I ran into exactly this keyboard shortcut issue while writing the Rapyd-Tk
Python development environment (http://www.bitflipper.ca/rapyd/). My solution
is based on these functions, where the left part is the usual menu label and
the right part is the shortcut. If the length of the shortcut tex
On Sun, Aug 31, 2008 at 1:11 AM, Johnston Jiaa <[EMAIL PROTECTED]> wrote:
> I'm having trouble trying to make a kinetic scrolling canvas. The code
> looks something like this...
>
> def scroll(acceleration, speed):
>while speed >= 0:
>canvas.xview_scroll(-speed, "units")
>
I'm having trouble trying to make a kinetic scrolling canvas. The
code looks something like this...
def scroll(acceleration, speed):
while speed >= 0:
canvas.xview_scroll(-speed, "units")
speed -= acceleration
This doesn't update the drawing of the canv