unexplained behavior of tkMessageBox.askyesno
Peter Kleiweg
in.aqua.scribis at nl.invalid
Tue Sep 7 16:30:22 EDT 2004
Jeremy Bowers schreef:
> On Tue, 07 Sep 2004 21:43:02 +0200, Peter Kleiweg wrote:
> > If I have used openProject(), the function makeClean() always
> > prints 'False', no matter what I choose.
>
> If I had to guess, I'd say the problem is that you aren't using Tk
> correctly. You really need to run
>
> root = Tk()
> root.mainloop()
I have that.
The tkMessageBox.askyesno() is called from a function that is a
callback from a menu item attached to root.
--
Peter Kleiweg L:NL,af,da,de,en,ia,nds,no,sv,(fr,it) S:NL,de,en,(da,ia)
info: http://www.let.rug.nl/~kleiweg/ls.html
More information about the Python-list
mailing list