another tkinter question

A

Ajay

hi!

i have a main GUI class, which goes something like
class MainApp:
def __init__(self, master):
self.frame = Frame(master)
self.frame.pack()
...
now MainApp has a method evaluate() which calls a function, do_eval() in
another module. i pass the frame to do_eval to allow it to print error
messages using tkMessageBox.
the problem is when in do_eval i do
tkMessageBox.showerror("Info", ea.promptMessage, parent=self.frame)
here, nothing gets displayed at all. i hear the sound associated with error
messages, but no message box appears.

what am i doing wrong

thanks

cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,206
Messages
2,571,069
Members
47,677
Latest member
MoisesKoeh

Latest Threads

Top