[Tkinter-discuss] tkinter and threading

2005-06-06 Thread Greg Lee
n the way that Tkinter handles callbacks that automatically protects shared data structures? Greg Lee / Pharsight Corporation / Suite 200 800 W El Camino / Mountain View CA 94040 voice: 650-314-3860 / fax: 650-314-3810 This email message (includin

[Tkinter-discuss] Re: making tkFileDialog and tkMessageBox modal on Win32

2005-04-12 Thread Greg Lee
g and tkMessageBox are not). -------- Greg Lee / Pharsight Corporation / Suite 200 800 W El Camino / Mountain View CA 94040 voice: 650-314-3860 / fax: 650-314-3810 This email message (including any attachments) is for the sole use of the intended reci

[Tkinter-discuss] Re: making tkFileDialog and tkMessageBox modal on Win32

2005-04-07 Thread Greg Lee
jepler's suggestion seems to solve the problem: # Wrap a dialog in a grab pair. # Use to make tkFileDialog and tkMessageBox application-modal. # Not needed for tkSimpleDialog. # tk - grab target # f - tkFileDialog.askopenfilename, tkMessageBox.showinfo, etc. # kw - dictionary of key-word arguments

[Tkinter-discuss] RE: Re: making tkFileDialog and tkMessageBox modal on Win32

2005-04-06 Thread Greg Lee
On Apr 6, 2005 1:33 PM, Michael Lange wrote: > On my box (linux) the file dialog is modal, however because you didn't > specify a parent to the file dialog > it's modal to the root window and not to the child-toplevel, so I can lift > the toplevel over the file dialog, > but as expected the top

[Tkinter-discuss] Re: making tkFileDialog and tkMessageBox modal on Win32

2005-04-06 Thread Greg Lee
def menu_new(self): NewPhx(Tkinter.Toplevel(self.root)) def main(argv): root = Tkinter.Tk() App(root) root.mainloop() if __name__ == '__main__': main(sys.argv) Greg Lee / Pharsight Corporation / Suite 200 800 W El Camino /

[Tkinter-discuss] making tkFileDialog and tkMessageBox modal on Win32

2005-04-04 Thread Greg Lee
Is there a way to make these dialogs modal on Win32? Greg Lee / Pharsight Corporation / Suite 200 800 W El Camino / Mountain View CA 94040 voice: 650-314-3860 / fax: 650-314-3810 This email message (including any attachments) is for the sole use of