A problem while using anygui

Johnny Lee johnnyandfiona at hotmail.com
Fri Sep 30 04:08:52 EDT 2005


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




More information about the Python-list mailing list