On Wed, 2004-01-07 at 06:40, Luc Lefebvre wrote:
> Hi,
> 
> I am experimenting with pygtk and I have a lot of desired functinality already.
> 
> I do have a file selection dialog box that works as I would like (GtkFileSelection, 
> the dlog is hidden after OK or CANCEL clicked) but the widget is destroyed if the 
> user clicks the "x" icon at the top of the window (the one that destroys the 
> window).  I tried catching the "on_fileselection1_destroy" signal but to no avail.  
> Is there a way of catching this and then simply calling the hide() function for the 
> dialog?

The general solution is here:

http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq10.006.htp

Cheers,
Malcolm

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to