[pygtk] repetitive get_widget() using Glade?
Christian Robottom Reis
kiko at async.com.br
Thu Aug 12 05:52:03 WST 2004
On Wed, Aug 11, 2004 at 04:41:11PM -0400, John Ehresman wrote:
> Skip Montanaro wrote:
> >But when the user pokes the "x" won't the underlying X windows be
> >Is there a way to catch the destroy signal and avoid the window
> Connect to the 'delete_event' signal on the window. Return False if you
> want the default handler to destroy the window and True to indicate that
> you've handled the event and the default handler should not be invoked.
And yes, that's in the FAQ:
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
More information about the pygtk