Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75889

Re: Keep one GUI always on TOP while python code is running

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:code': 0.07; 'subject:while': 0.09; 'cc:addr:python-list': 0.11; 'windows': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; "linux's": 0.16; 'subject:GUI': 0.16; 'wxpython': 0.16; 'subject:python': 0.16; 'prevent': 0.16; 'sat,': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'seems': 0.21; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'equivalent': 0.26; 'asking': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'asked': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'subject:one': 0.36; 'window': 0.38; 'bad': 0.39; 'more': 0.64; 'forums': 0.68; 'subject:Keep': 0.84; 'visually': 0.84; 'to:none': 0.92; 'directly.': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=U15q2UBiHJjW1bLDHX+DwNT9YZyjc+cEPntwrRksKRM=; b=dSyFXbV44rrElXXkJk1FoOYFwkV2UHKKUifmYeEyIDU+DsSbO/VvLLyneIoSZxkm+l o/VUN8oCV0/brSKFMTOYUcM7oOLo5RzdOlc20CSKDbnaDKKmCAlAUewGdHdsy691YM9u oFjmQvlppOoZ4ks+oi3nfmZdcUssb6UB+F39+11YgVG7LWNpQfoCY2RXYxWhRIShgoXH Bt+YGvKhuCLrwVpZTZfOnB8Qut2ymPY35lxAgieEjkg11UccoNRfK9l/ZTHIzJhNTpor 2d3U9VICh4O8G17+ViO64OT6RfwVxx4tZjF2Vjv/+VjXO32PARViXcvlttaJ1lKEUXku IqUg==
MIME-Version 1.0
X-Received by 10.51.17.2 with SMTP id ga2mr5925684igd.2.1407508445874; Fri, 08 Aug 2014 07:34:05 -0700 (PDT)
In-Reply-To <7a3b1122-8251-4702-ab61-0eeb767e9f44@googlegroups.com>
References <e2709e26-d2e9-439a-8af4-7a7a7562ce9e@googlegroups.com> <446aa6dd-ff18-472b-82b8-ba99d59bf112@googlegroups.com> <mailman.12748.1407505903.18130.python-list@python.org> <7a3b1122-8251-4702-ab61-0eeb767e9f44@googlegroups.com>
Date Sat, 9 Aug 2014 00:34:05 +1000
Subject Re: Keep one GUI always on TOP while python code is running
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.12750.1407508449.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1407508449 news.xs4all.nl 2895 [2001:888:2000:d::a6]:44174
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:75889

Show key headers only | View raw


On Sat, Aug 9, 2014 at 12:23 AM, Rustom Mody <rustompmody@gmail.com> 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.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Keep one GUI always on TOP while python code is running Jaydeep Patil <patil.jay2009@gmail.com> - 2014-08-07 04:24 -0700
  Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-07 22:57 +1000
    Re: Keep one GUI always on TOP while python code is running Jaydeep Patil <patil.jay2009@gmail.com> - 2014-08-07 22:57 -0700
      Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-08 16:02 +1000
        Re: Keep one GUI always on TOP while python code is running Paul Rudin <paul.nospam@rudin.co.uk> - 2014-08-08 09:57 +0100
          Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-08 19:32 +1000
            Re: Keep one GUI always on TOP while python code is running Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-08 23:58 +1000
              Re: Keep one GUI always on TOP while python code is running Marko Rauhamaa <marko@pacujo.net> - 2014-08-08 17:06 +0300
              Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-09 00:20 +1000
                Re: Keep one GUI always on TOP while python code is running Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-08-09 04:04 +1000
                Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-09 08:31 +1000
                Re: Keep one GUI always on TOP while python code is running Grant Edwards <invalid@invalid.invalid> - 2014-08-11 22:14 +0000
                Re: Keep one GUI always on TOP while python code is running Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-08-11 19:47 -0400
              Re: Keep one GUI always on TOP while python code is running alister <alister.nospam.ware@ntlworld.com> - 2014-08-08 14:50 +0000
                Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-09 01:01 +1000
  Re: Keep one GUI always on TOP while python code is running Rustom Mody <rustompmody@gmail.com> - 2014-08-08 06:44 -0700
    Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-08 23:51 +1000
      Re: Keep one GUI always on TOP while python code is running Rustom Mody <rustompmody@gmail.com> - 2014-08-08 07:23 -0700
        Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-09 00:34 +1000
          Re: Keep one GUI always on TOP while python code is running Rustom Mody <rustompmody@gmail.com> - 2014-08-08 07:45 -0700
            Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-09 00:52 +1000
              Re: Keep one GUI always on TOP while python code is running Rustom Mody <rustompmody@gmail.com> - 2014-08-08 07:58 -0700
                Re: Keep one GUI always on TOP while python code is running Chris Angelico <rosuav@gmail.com> - 2014-08-09 01:05 +1000
  Re: Keep one GUI always on TOP while python code is running Grant Edwards <invalid@invalid.invalid> - 2014-08-11 22:08 +0000

csiph-web