[Glade-users] correcty deleting a widget

Il giorno mer, 20/09/2006 alle 09.54 +0200, Davide Corio ha scritto:
Hi *,
I'm developing an application with Glade2 and python.
When I close a widget (window or dialog box for example) via the
delete_event for example, I cannot reopen the widget and I receive this
AttributeError: 'NoneType' object has no attribute 'show'

solved creating a destroy method e for the GtkObject event

Davide Corio                                davide.corio<at>redomino.com
Redomino S.r.l.            C.so Monte Grappa 90/b - 10145 Torino - Italy
Tel: +39 011 19502871 - Fax: +39 011 19791122 - http://www.redomino.com/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]