ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> anygui-devel
anygui-devel
[Anygui-devel] app.run() will not return with qtgui
by Dave Cinege other posts by this author
Jul 21 2003 1:53AM messages near this date
Re: [Anygui-devel] app.run() will not return with qtgui | Re: [Anygui-devel] app.run() will not return with qtgui
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
Thread:
Dave Cinege
Magnus Lie Hetland

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved