Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Paul Rudin Newsgroups: comp.lang.python Subject: Re: Keep one GUI always on TOP while python code is running Date: Fri, 08 Aug 2014 09:57:51 +0100 Lines: 19 Message-ID: <85fvh7icj4.fsf@rudin.co.uk> References: <32f85c79-17a1-4d2f-a926-43812b8083ed@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain X-Trace: individual.net BOuF9AHtujjfGMMBfLiG5ANXJtGqk6v43Ogvsy8mg+c435g0Bm X-Orig-Path: hal9000.rudin.co.uk!not-for-mail Cancel-Lock: sha1:ZZ29n8c9YG80MZpdP2cOlz0/kg0= sha1:IoxirfY8d87Fou1Dj0ANM+R/XBA= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Xref: csiph.com comp.lang.python:75872 Chris Angelico writes: > On Fri, Aug 8, 2014 at 3:57 PM, Jaydeep Patil 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).