Malcolm Tredinnick wrote:

> The general solution is here:
> 
> http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq10.006.htp
> 
> Cheers,
> Malcolm
> 

Interestingly this works for my "About" dialog, I trap the "on_dialog1_delete_event", 
hide the widget,  and return gtk.TRUE.  If I try the same trick with a FileDialog (ie. 
trapping "on_file_selection1_delete_event") clicking the "x" in the top right of the 
FileSelection window this event is not triggered (while it is in a conventional dialog 
box).  I must be missing something, any insight would be appreciated...

tia

-- 
Luc Lefebvre

In the beginner's mind there are many possibilities,
in the expert's mind there are few.                     <Shunryu Suzuki>

Key fingerprint = D2E5 5E35 B910 6F4E 0242  EC63 0FD9 96D0 C7F4 784E
_______________________________________________
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