Tix: Windows XP: Problem - how to stop root window from popping up with Tix
Lie Ryan
lie.1296 at gmail.com
Wed Oct 1 06:44:15 EDT 2008
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.
More information about the Python-list
mailing list