How to keep a windows frame on top??
etsang at my-deja.com
etsang at my-deja.com
Thu Dec 7 19:49:36 EST 2000
More information about the Python-list mailing list
Thu Dec 7 19:49:36 EST 2000
- Previous message (by thread): win32evtlogutil: How does it works ?
- Next message (by thread): How to keep a windows frame on top??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
by the way I am usin Tkinter for gui. thanks In article <90p9ss$chi$1 at nnrp1.deja.com>, etsang at my-deja.com wrote: > This is the function for calling my window. Can anyone tell how can I > make the windows to always stay on top when called? > > def resultsData(self): > > okButton = None > > self.inputWindow = Toplevel(self.master) > self.inputWindow.geometry("+%d+%d" % (self.master.winfo_rootx () > +180, > self.master.winfo_rooty()+180)) > self.inputWindow.title("Enter data") > Label(self.inputWindow, text ="Please enter your initials and > the test object").grid(row=0, columnspan=2, pady=6) > Label(self.inputWindow, text="Initials").grid(row=1, sticky=W) > Label(self.inputWindow, text="Test object").grid(row=2, > sticky=W) > self.e1 = Entry(self.inputWindow, textvariable=self.name, > width=35) > self.e2 = Entry(self.inputWindow, textvariable=self.iut, > width=35) > self.e1.grid(row=1, column=1, sticky="EW", pady=1) > self.e2.grid(row=2, column=1, sticky="EW", pady=1) > okButton = Button(self.inputWindow, text="Ok", > command=self.getData) > okButton.grid(row=3, column=1, sticky=W, pady=6) > if self.automatic == FALSE: > self.inputWindow.wait_window() > else: > self.getData() > > Sent via Deja.com http://www.deja.com/ > Before you buy. > Sent via Deja.com http://www.deja.com/ Before you buy.
- Previous message (by thread): win32evtlogutil: How does it works ?
- Next message (by thread): How to keep a windows frame on top??
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list