Tix: Windows XP: Problem - how to stop root window from popping up with Tix

dudeja.rajat at gmail.com dudeja.rajat at gmail.com
Wed Oct 1 07:14:25 EDT 2008


On Wed, Oct 1, 2008 at 11:44 AM, Lie Ryan <lie.1296 at gmail.com> wrote:

> 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.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

No, even that does not help. :-(

-- 
Regards,
Rajat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081001/ca6b71f3/attachment.html>


More information about the Python-list mailing list