[XForms] FL_EVENT and it's use

Jean-Marc Lasgouttes Jean-Marc.Lasgouttes at inria.fr
Tue Mar 2 09:44:47 EST 2004


>>>>> "Jeff" == Jeff  <wd4nmq at comcast.net> writes:

Jeff> To subscribers of the xforms list Several days ago I posted a
Jeff> message concerning client message events and if xforms could
Jeff> handle them. To which I got no reply. 

Personnally I did not answer because I was scared by the 'thread' part :)

Jeff> I was looking through the xforms manual looking for something
Jeff> else and in section 4.3, Dealing With Windows. I found it
Jeff> talking about the FL_EVENT.

Jeff> To qoute: "To help find out when and event has occured, whenever
Jeff> fl_do_form() and fl_check_foems() encounter an event that is not
Jeff> meant for them, but for the appliaction program they return a
Jeff> special object FL_EVENT. Upon receiving this special event, the
Jeff> application program can and must remove the pending event from
Jeff> the queue using fl_XNextEvent()."

All I know is that in LyX we handle this just to drop the events.

Jeff> There is then a code snippet. Does this mean that this how you
Jeff> would handle an XClientMessageEvent?

Yes, it looks reasonable.

JMarc



More information about the Xforms mailing list