oops... wrong button, reply-all is better :) On Wed, Jun 25, 2008 at 4:20 PM, Frédéric <[EMAIL PROTECTED]> wrote:
> It does not work... It does work. Returning True from "delete-event" stops the signal emission and the windows stays open, you probably want to give the user another meaning to close the window, like popping up a message dialog asking if they really want to close or something like that. The Dialog widget works in a slightly different way, depending if you use it modal or not modal, see gtk.Dialog class in the reference manual for more details. Also the Pygtk FAQ may help, IIRC there are examples on this subject. cheers -- Gian Mario Tagliaretti _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/