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
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
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
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
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 /
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