gtk.mainquit is deprecated

awalter1 alain.walter at thalesgroup.com
Wed Feb 28 03:19:36 EST 2007


Thank you
You're right. a connection was made between "destroy" and
gtk.main_quit (a bad cut and paste from an old application).

On 27 fév, 17:25, Alan Franzoni
<alan.franzoni_inva... at geemail.invalid> wrote:
> Il 27 Feb 2007 01:56:33 -0800, awalter1 ha scritto:
>
> > 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.
>
> But does then the application end, as if gtk.main_quit() were called? If
> it's the case, it's very likely you connected the 'destroy' signal on that
> very window and you set gtk.mainquit() as the callback.
>
> --
> Alan Franzoni <alan.franzoni.... at gmail.com>
> -
> Togli .xyz dalla mia email per contattarmi.
> Remove .xyz from my address in order to contact me.
> -
> GPG Key Fingerprint (Key ID = FE068F3E):
> 5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E





More information about the Python-list mailing list