Re: XForms: quitting a program / canvas demo

From: j.w.c.a. lokin (lokin@signaal.nl)
Date: Fri Mar 10 2000 - 05:06:44 EST

  • Next message: Marcin Kwiatkowski: "XForms: Complex browser"

    # To subscribers of the xforms list from "j.w.c.a. lokin" <lokin@signaal.nl> :

    zaphodb wrote:
    > 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?
    > I'm running afterstep / kde (2 machines) on Linux using xforms88
    >
    > Any help will be appreciated.

    Check the doc for the functions 'fl_set_atclose()' and
    'fl_set_form_at_close()'.

    -- 
    -+- Jan Willem Lokin -+-
    _________________________________________________
    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 - 05:13:27 EST