A problem while using anygui

J

Johnny Lee

Hi,
I've met a problem while using anygui to create a GUI. Here is a
brief example from Dave:

###
def guidialog():
def ok(**kw):
win.destroy()
app.remove(win)
#<snip>
anygui.link(btn_ok, ok)
#<snip>
app.run()
return n #qtgui will NEVER get here
###

As you can see, the program will never get the sentence "return n".
I googled for the problem but didn't find much help. So any one here
could give me a hand? thanks

regards,
Johnny
 

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
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top