Hi all,
how to keep a Tkinter window above all other OS windows (i.e.
including those ones from other programs)?
Thank you in advance,
Dmitrey 4 1779
On Sep 23, 11:21*pm, dmitrey <dmitrey.kros.. .@scipy.orgwrot e:
Hi all,
how to keep a Tkinter window above all other OS windows (i.e.
including those ones from other programs)?
Thank you in advance,
Dmitrey
I have put [Tkinter] into topic of my message but somehow it has been
removed.
D.
On Sep 23, 3:34*pm, dmitrey <dmitrey.kros.. .@scipy.orgwrot e:
On Sep 23, 11:21*pm, dmitrey <dmitrey.kros.. .@scipy.orgwrot e:
Hi all,
how to keep a Tkinter window above all other OS windows (i.e.
including those ones from other programs)?
Thank you in advance,
Dmitrey
I have put [Tkinter] into topic of my message but somehow it has been
removed.
D.
If you can get the handle of the window from the Tk framework, use the
os call in 'ctypes'. Windows' call is ShowWindow( handle,
HWND_TOPMOST ) I think.
In message <dq************ *************** ***@earthlink.c om>, Dennis Lee
Bieber wrote:
{I miss the Amiga --
where one had the option to push a window to the back /without/ losing
focus... made it useful for reading one window while touch-typing data
into the "hidden" window}
This sort of thing should be configurable in many X11-based window managers.
On Sep 26, 10:04*am, Dennis Lee Bieber <wlfr...@ix.net com.comwrote:
On Fri, 26 Sep 2008 19:52:59 +1200, Lawrence D'Oliveiro
<l...@geek-central.gen.new _zealanddeclaim ed the following in
comp.lang.pytho n:
This sort of thing should be configurable in many X11-based window managers.
* * * * Maybe... But I'm stuck with a MicroSloth world -- at least they
didn't decide 1 mouse button is all anyone would need <G>
There's some useful information at http://epydoc.sourceforge.net/stdlib....Wm-class.html.
>>from Tkinter import * w = Tk() w.attributes( '-topmost', True)
''
>>w.mainloop( )
The window stays on top. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Thomas Nücker |
last post by:
Hi!
I am creating a dialog-box within my application, using tkinter. The
problem is the following: After the dialogbox is started, the main
application window comes again to top and the dialogbox is covered by
the window of the main application and must be "fetched" again via the
taskbar to continue. Is there a way to "force" the dialogbox on top of
all other windows? (I'm using MSWindows and Python22)
The source of my dialogbox-class...
|
by: DoubleM |
last post by:
Hi,
I'm running Python2.3.3c1 on Mandrake 9.1
The following code is designed to bring up a window with a button labeled
"popup". Clicking on the popup buttons triggers a secondary window with a
button labeled "ok". The second window is supposed to be modal - it should
not be possible to reset the focus back to the first window or close the
first window without first closing the second. The program works just fine
in Windows XP...
|
by: george |
last post by:
Greetings to all experts.
I'm running Python 2.3/Pythonwin 1.63 on Windows 98. I would like to
create a window with Tkinter, that is always on top of the screen.
In Tkinter.py, Line 1375 f., I'm reading:
"On Windows, ... -topmost gets or sets whether this is a topmost window
(displays above all other windows)."
Therefore my simple code is:
|
by: Elbert Lev |
last post by:
#When I'm running this script on my windows NT4.0 box,
#every time dialog box is reopened there is memory growth 384K.
#Bellow is the text I sent to Stephen Ferg (author of easygui)
# I have tested the pure Tkinter,
# by modifiing on of the examples in the distribution.
# This little guy also exibits the same behaviour.
# Namely: every time the window is closed and reoppend,
# there is memory leak of several hundreds 384K
|
by: Richard Lewis |
last post by:
Hi there,
I've got a tree control in Tkinter (using the ESRF Tree module) but I
can't get it to layout how I want it.
I'd like to have it so that it streches north/south (anchored to the top
and bottom), is of a fixed width and is anchored to the left hand side.
Here's my code (its derived from one of the examples from the ESRF web
site):
| |
by: john.orlando |
last post by:
Hello,
I'm a newbie to Python (literally, within the last two weeks), and I am
playing around with Tkinter to build some simple GUIs. I am attempting
to build a simple class that displays a GIF. Here is the code:
#start of code
from Tkinter import *
class DisplayPict(Frame):
|
by: H J van Rooyen |
last post by:
Hi,
I am struggling to get the pack method to do what I intend.
I am trying to display user input in a seperate window, along with
a little description of the field, something like this:
Current entry
Company : entered co. name
First entry : entered stuff
The second entry: more entered stuff
|
by: bg_ie |
last post by:
Hi,
I'm in the process of writing some code and noticed a strange problem
while doing so. I'm working with PythonWin 210 built for Python 2.5. I
noticed the problem for the last py file processed by this script,
where the concerned tmp file is only actually written to when
PythonWin is closed. In other words, after I run this script, one of
the generated tmp files has a size of 0kB. I then close PythonWin and
it is then written to.
|
by: J-Burns |
last post by:
Hello. Im a bit new to using Tkinter and im not a real pro in
programming itself... :P. Need some help here.
Problem 1:
How do I make something appear on 2 separate windows using Tkinter? By
this I mean that the format would be something like this:
You have Page1 : This has 2-3 buttons on it.
Clicking on each button opens up a new window respectively having
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |