Event callbacks for ordinary forms - how?

bullestock@dk-online.dk
Mon, 23 Dec 1996 10:30:55 +0100

To subscribers of the xforms list from bullestock@dk-online.dk :

Hello, XForms gurus!

I am currently writing my first XForms program, which is a port of an Athena
widget/Xt based program. This program among other things shows the elapsed
time, even when iconified. So I need to know if the program is iconified or
not.

I used to do this with an XtAppNextEvent()...XtDispatchEvent() loop, checking
for MapNotify and UnmapNotify events. Now my problem is to do this with
XForms.

If I open a window using fl_winopen(), I can get the events by using
fl_set_event_callback(). But I don't *want* to open my own window, all I need
is a form.

Anybody out there who has solved this?

-Torsten http://www2.dk-online.dk/Users/Torsten_Martinsen