Keep one GUI always on TOP while python code is running

Rustom Mody rustompmody at gmail.com
Fri Aug 8 10:45:46 EDT 2014


On Friday, August 8, 2014 8:04:05 PM UTC+5:30, Chris Angelico wrote:
> On Sat, Aug 9, 2014 at 12:23 AM, Rustom Mody  wrote:
> > A windows equivalent for linux's wmctrl seems to be nir
> > http://www.nirsoft.net/utils/nircmd2.html#using
> >
> > Search for 'settopmost'
> 
> 
> No need; both of those are just setting the "always on top" flag,
> which wxpython can do directly. It may be unobvious, as there seem to
> be a lot of questions asked about it (lots of StackOverflow and forums
> posts), but ultimately, there's a wx.STAY_ON_TOP flag that will do the
> same thing.
> 
> 
> 
> However, the OP wasn't asking about visually keeping a window on top,
> which is pretty easy. Trying to actually prevent access to any other
> window is significantly harder to do, plus it's never going to be more
> broad than one X session, plus it's almost always a bad UI idea.
> 

This is the OP:

> I have one query. I have did some programming which copies and
> paste data using system clipboard. I need to keep one GUI always 
> on top till my python code is running.

[I am of course assuming that 'did' means 'done' and 'GUI' means 'window' or 'widget']

I dont see anything about preventing access.



More information about the Python-list mailing list