gtk.mainquit is deprecated

awalter1 alain.walter at thalesgroup.com
Tue Feb 27 04:56:33 EST 2007


Hello,
(environment : python 2.4.2, pyGTK, GTK+ 2.6.9 under HPUX 11.11: unix)
On the instruction self.window.destroy(), I get the following
message :
lookup.py:121: GtkDeprecationWarning: gtk.mainquit is deprecated, use
gtk.main_quit instead
self.window.destroy()
But I don't want to quit the application, I need only to close the
window.
My application includes others places where "self.window.destroy()"
instruction is used and the execution is done without warning.
Very strange.
Thank you for your help




More information about the Python-list mailing list