Ron MacNeil <[EMAIL PROTECTED]> writes: [KBK] >>Simple cursor movement in IDLE is done via the tkinter/Tk library. >>IDLE doesn't have virtual events that can be bound to <cursor-left> >>and so forth. So there isn't any simple way to do what you are asking. >> >> > > is there any way to, even in a convoluted way, map "what the left arrow > key does" or "move cursor left one space" to C-b?
These bindings are intercepted by the Tk event loop and passed to the Text widget in the IDLE Edit window. You could investigate tkinter and the Tk Text widget itself. Note that there are a few bindings (besides the cursor keys) passed through from Tk and available in IDLE: C-a, C-e, C-k for example. If you figure out how those bindings work, you probably can solve your problem. Let us know what you find out. http://www.tcl.tk/man/tcl8.4/TkCmd/contents.htm Also, there is a mailing list, [email protected], which might be helpful. -- KBK _______________________________________________ IDLE-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/idle-dev
