TkMessageBox

Ralf Claus ralf.claus at t-online.de
Sat May 27 03:48:32 EDT 2000


Hi,
i try to create a Tkinter MessageBox with the MessageBox - option
"YESNOCANCEL"
But what ever i try, it does not work.

In my opinion the syntax must look like this:

import tkMessageBox
tkMessageBox.askquestion("equal","even better", icon=QESTION,
type=YESNOCANCEL)

The error message here is: NameError: QUESTION

but why ?

Ralf
















More information about the Python-list mailing list