473,397 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Re: Tix: Windows XP: Problem - how to stop root window from popping upwith Tix

On Wed, 01 Oct 2008 11:33:59 +0100, dudeja.rajat wrote:
Hi,

Im using Tix on widows XP and I've tried many ways to suppress the root
window. But so far I'm unable to do it.
Please suggest how can I suppress the root window.

My code is as follows:

import Tix
myRoot = Tix.Tk()

myRoot.withdraw()
myRoot.deiconify()

myRoot.title("Test Automation")
#Create GUI Object and pass the logger object myAppGUIObject =
myAppGUI(myRoot, logger) #My AppGUI class creates the GUI which
heavily uses the Tkinter widgets and only TixComboBox

myRoot.mainloop()
Please suggest if there is anything I'm missing.
Thanks and regards,
Rajat
The root window is the main window, not the DOS box. I think in windows,
you should use pythonw.exe or something to open the python script so not
to open a dos box.

Oct 1 '08 #1
1 1109
Lie Ryan wrote:
On Wed, 01 Oct 2008 11:33:59 +0100, dudeja.rajat wrote:
>Please suggest how can I suppress the root window....
The root window is the main window, not the DOS box. I think in windows,
you should use pythonw.exe or something to open the python script so not
to open a dos box.
And you can accomplish this as a "clicky" by renaming your program from
"someprog.py" to "someprog.pyw".

--Scott David Daniels
Sc***********@Acm.Org

Oct 1 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Josh | last post by:
I've been trying to get Tix running with Python on Windows. Since there is no binary distributions of Tix for Windows, it seems the easiest way to install Tix is through IDiscovery's IDEStudio 1.9...
2
by: Hank | last post by:
Hi, I'm trying to install Tix and I thought the best way to do that is thru IDEStudio. Windows XP, python 2.3 At the end of the installation, it lets me install Tix into python. I made...
1
by: Евгений Косенко | last post by:
Hi! I make my first steps in Tkinter/Tix programming. The next program is work well (really, _almost_ well): import Tkinter root = Tkinter.Tk() widget = Tkinter.Button(root)
0
by: Edward K. Ream | last post by:
Tix appears to ruin the highlighting of menu items by default, at least with Python 2.3.4 on XP. That is, changing root = Tkinter.Tk() to root = Tix.Tk() causes the app not to honor the...
3
by: j vickroy | last post by:
Hello, I've just installed (accepted all installation defaults) Python 2.4 (final) on my Microsoft Windows XP (home edition - service pack 2) computer, and I am experiencing the following...
1
by: Harlin Seritt | last post by:
I am trying to create a simple window using the following code: --code--- import Tix from Tkconstants import * from Tkinter import * root = Tix.Tk()
0
by: Wolfram Kraus | last post by:
Heyho! I want to associate objects with the nodes of a Tix.Tree. Is this possible, because the following example won't work: --8<-- Cut here ------------------------- import Tix class C:...
1
by: Ron Provost | last post by:
I have a piece of software I wrote some time ago using Python and the Tix wrapper. I just upgraded to Python 2.5 and to my surprise my software no longer functions. There's a problem with the...
11
by: geoffbache | last post by:
Hi, As part of my efforts to write a test tool that copes with GUIs nicely, I'm trying to establish how I can start a GUI process on Windows that will not bring up the window. So I try to hide...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.