Tal Einat wrote:
>> 3) If I have to open a Tk window, how can I get it to appear on top of
>> the IDLE window?
>
> IIRC this depends on your window manager. Tk's 'raise' command
> ('tkraise' in Python's Tkinter, because 'raise' is a Python keyword)
> just doesn't work on windows - this is a well k
I'm working on a plugin extension for IDLE that can run a test when
Control+C is pressed. Unfortunately, Control+C (or in Tkinter
bindings) is not handled as other key bindings are. Instead there is a
cancel_callback in the pyshell instance that is called.
So, I've tried to replace the cancel_
[Sorry for the barrage of questions... a new semester starting soon... :(]
It would be nice if an extension, or even a general running program,
could look somewhere to see if IDLE is running with subprocesses.
Something like PyShell.using_subprocess = 0. Is there a hack that would
currently wor
On 8/17/07, Douglas S. Blank <[EMAIL PROTECTED]> wrote:
> [Sorry for the barrage of questions... a new semester starting soon... :(]
>
> It would be nice if an extension, or even a general running program,
> could look somewhere to see if IDLE is running with subprocesses.
> Something like PyShell.
On 8/16/07, Douglas S. Blank <[EMAIL PROTECTED]> wrote:
> I'm working on a plugin extension for IDLE that can run a test when
> Control+C is pressed. Unfortunately, Control+C (or in Tkinter
> bindings) is not handled as other key bindings are. Instead there is a
> cancel_callback in the pyshell in
On 8/16/07, Douglas S. Blank <[EMAIL PROTECTED]> wrote:
> Ok, I can't find anything to fix this. I've tried combinations of lower,
> lift, deiconify, iconify, update, overridedirect, ... but nothing I do
> can get a new Tk window to appear on top of IDLE.
>
> This is very confusing for new students
Tal said:
>On 8/16/07, Douglas S. Blank wrote:
>> I'm working on a plugin extension for IDLE that can run a test when
>> Control+C is pressed. Unfortunately, Control+C (or in Tkinter
>> bindings) is not handled as other key bindings are. Instead there is a
>> cancel_callback in the pyshell instan
Tal,
Thanks for looking at this and giving feedback.
Unfortunately, this doesn't seem to work for me when running with
subprocesses.
Maybe it has to have to do with Tkinter running in the background thread,
and tkraise not knowing about the IDLE window in the other thread (which
is on top).
If