Message46364
| Author |
noamr |
| Recipients |
| Date |
2005年01月30日.11:58:17 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=679426
in _tkinter.c, look for EventHook - you'll find the
EventHook function, which is called when the interpreter is
idle, and the Enable/Disable EventHook functions.
In readline.c, line 765, you'll find the call to
PyOS_InputHook, when waiting for input.
Perhaps a more general approach would be to let Python code
call PyOS_InputHook, for example, by defining
readline.call_input_hook() and readline.has_input_hook().
Then IDLE would be able to call them when idle, with no
Tkinter-specific code. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 15:38:37 | admin | link | issue989712 messages |
| 2007年08月23日 15:38:37 | admin | create |
|