[gtkada] SIGNALS QUESTION

manuel.op.de.coul at eon-benelux.com manuel.op.de.coul at eon-benelux.com
Mon Apr 15 17:53:50 CEST 2002


>Have i choosen a bad signal to handle, my signal hadlers are wrong
>implemented

Yes, the signal should be "delete_event" on the window.
Then let the callback function return True. That prevents the
window from being destroyed.

For the other case, you should use the "remove" signal.
This you can use to cleanup things before the window is
destroyed, or exit the application in your case.

Manuel





More information about the gtkada mailing list