Keep one GUI always on TOP while python code is running

Paul Rudin paul.nospam at rudin.co.uk
Fri Aug 8 04:57:51 EDT 2014


Chris Angelico <rosuav at gmail.com> writes:

> On Fri, Aug 8, 2014 at 3:57 PM, Jaydeep Patil <patil.jay2009 at gmail.com> wrote:
>> I mean to say, One GUI should be always on top from start to end of code running.
>> So that user cant do any other operation.
>> I am using wxpython
>
> Ah, that would be called "System Modal", and should be reserved for
> absolutely critical system-wide alerts. It's also a feature that's
> simply not available to most user-space programs, and not available in
> most GUI toolkits.
>
> Short answer: Don't.

There are commercial software packages that do this sort of
thing. Examsoft is one - the idea being that people can take exams
without access to other software at the same time (so that, for example,
they could look at previously prepared notes).




More information about the Python-list mailing list