Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:code': 0.07; 'subject:while': 0.09; 'toolkit': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'gui': 0.12; 'etc?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'patil': 0.16; 'pygtk,': 0.16; 'subject:GUI': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'programming': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'yes.': 0.31; 'but': 0.35; 'received:google.com': 0.35; 'subject:one': 0.36; 'depends': 0.38; 'window': 0.38; 'pm,': 0.38; 'how': 0.40; 'till': 0.61; 'etc,': 0.84; 'subject:Keep': 0.84; 'top.': 0.84; 'to:none': 0.92 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=++xVlKwAwi7iUJ6va9X+2F3i3hsxMsxMQ1+qSF9uHvs=; b=0U5wQmIbrCkskuituho6CAY4XcGyFb9I6fnCb1MlKg5hRodouk6rw6O20iaDB3Ov0w brj/HvPdMBh/EpfkznxNuxjw/pYWdHdQXcWPg/g5uPFR2+6/xO9MHQ2Xm+72DhpdYRpv argCpgv4QFdGEXxLJC1NXQUF/rDyETj85N7GX4vVJKxvnWIRlsdCAl4Psm2P48H57iXa OdH9bjOpiurNfwakSkNbjaQ1T82DdWsdxWyE9dsB3OvsNE/ZNVbgP5F8BGUKSLDUM6F9 /y9/a6jbusKwSVkNeceNCMDRpnjTV7oxE6hvB4Incjx7liBI0Goo04nyYTCsGxWbjPJj 3kFQ== MIME-Version: 1.0 X-Received: by 10.180.94.234 with SMTP id df10mr59252156wib.76.1407416268721; Thu, 07 Aug 2014 05:57:48 -0700 (PDT) In-Reply-To: References: Date: Thu, 7 Aug 2014 22:57:48 +1000 Subject: Re: Keep one GUI always on TOP while python code is running From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407416270 news.xs4all.nl 2883 [2001:888:2000:d::a6]:40887 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75849 On Thu, Aug 7, 2014 at 9:24 PM, Jaydeep Patil wrote: > 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. > "till" or "while"? If you mean "while", then yes. But it depends on your GUI toolkit. Are you using Tkinter, wxpython, PyGTK, etc, etc, etc? Check the docs for that toolkit and see how to make a window stay on top. ChrisA