# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
> II would like to prevent users from exiting a program without
> warning them to save their data first. I've included a signal
> handler that catches (catchable) signals, and now I'm trying to find
> out how I can detect the fact that a user is pressing the window's
> quit or kill button. I take it this isn't done via the unix
> signalling mechanism but is handled by my windowmanager?
Check fl_set_atclose() and/or fl_set_form_atclose().
The manual has the details.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Fri Mar 10 2000 - 09:34:02 EST