XForms: idle callback question

Scott (sbarron@n-link.com)
Mon, 03 Nov 1997 22:07:09 -0600 (CST)

To subscribers of the xforms list from Scott <sbarron@n-link.com> :

Hello all,

I am reading through my xforms manual trying to understand the idle
callback thing. Am I correct in thinking that this would be used for instance,
if I want to loop to read a file and update something but still want
interaction with the form? The manual says the following:

To register an idle callback, use the following routine

FL_APPEVENT_CB
fl_set_idle_callback(FL_APPEVENT_CB callback, void *user_data)

Then during idle periods it is called as such:

int callback(xev, user_data);

I can get the callback to compile in without errors but I'm confused on how I
go about registering it. What does that first FL_APPEVENT_CB mean and where
does it go? I tried using the fl_set_idle_callback() line and it tells me
theres an error before FL_APPEVENT_CB. Any hints on what it is I'm doing
wrong? Thanks in advance.

--Scott
ing. Am I correct in thinking that this would be used for instance,
if I want to loop to read a file and update something but still want
interaction with the form? The manual says the following:


_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/