This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gpolo
Recipients ajaksu2, gpolo, jlgijsbers, kbk, netvigator, rhettinger
Date 2009-04-23.11:58:56
SpamBayes Score 1.1809424e-07
Marked as misclassified No
Message-id <1240487938.58.0.774023264425.issue1074333@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately this is not that easy for us, while we could add some code
like this:

import Tkinter

text = Tkinter.Text()
text.event_add("<<Up>>", "<Key-Up>")
text.event_add("<<Up>>", "<Key-KP_Up>")
text.bind_class("Text", "<<Up>>", text.bind_class("Text", "<Key-Up>"))
text.pack()
text.mainloop()

it won't work as most would expect. When numlock is on, it would still
move one line up. We could change it to fix this problem, but then we
would be using tk::TextUpDownLine which is marked as unsupported
(basically everything that could help us in such situations is marked as
unsupported).
I will be asking someone about all these unsupported commands.
History
Date User Action Args
2009-04-23 11:58:58gpolosetrecipients: + gpolo, rhettinger, kbk, jlgijsbers, netvigator, ajaksu2
2009-04-23 11:58:58gpolosetmessageid: <1240487938.58.0.774023264425.issue1074333@psf.upfronthosting.co.za>
2009-04-23 11:58:57gpololinkissue1074333 messages
2009-04-23 11:58:56gpolocreate