On Fri, Mar 26, 2004 at 10:16:42PM +0800, Meng Liang wrote:
> I just read the reference and found that there's something wrong with
> the 'destroy-event' signal. Actually in gtk2's reference, it is
> 'destroy-event'. So in the pygtk reference. But I found that it is
> implemented as 'destroy' in pygtk. I am using python2.3-gtk2 in
> Debian sid.
Hmmm. It's my understanding that these are two different things:
- destroy is a GtkObject signal emitted when the object is destroyed:
http://pygtk.org/pygtk2reference/class-gtkobject.html#signal-gtkobject--destroy
- destroy_event is a GtkWidget signal that is emitted when the X
server destroys the widget (and which isn't overrideable by
connect()ing to it, so don't try):
http://pygtk.org/pygtk2reference/class-gtkwidget.html#signal-gtkwidget--destroy-event
Hopefully that clarifies things a bit.
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/