app.run() will not return with qtgui

Dave Cinege <[email protected]> Sun, 20 Jul 2003 21:53:36 -0400
Newsgroups gmane.comp.python.anygui.devel
Message-ID <[email protected]>
Very bascially what I'm doing:

###
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
###

I'm using anygui 0.1.1.1.1.1.1 ; ) and can not get app.run() to return
after I destroy my window. I must kill the python process. This only happens 
with the QT backend. Gtk and WX, work fine, and will return after the window 
is destroyed.

And Idea of a quick fix for this, as QT is my preference?

Debian GNU/Linux sid
Python		2.2.3
Anygui		0.1.1
python-qt3	3.7-1
libc6			2.3.1-17
python-gtk	0.6.11-8

Dave



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0