[XForms] Adding more calls to support fl_register_client_callback()?
Jeff
wd4nmq at comcast.net
Wed Mar 31 20:41:00 EST 2004
Before I submit the client message patch I had this thought.
There are a couple of X lib calls that are needed when using the new
fl_register_client_callback(). These would be XInternAtom() and
XSendEvent(). One of the parameters is a propertty atom. This is used by
the client callback to determine how the data is formated.
XInternAtom() is used to set the atom ID and must be called to set an
atom BEFORE client messaging can be used.
XSendEvent is used to send the event.
Now, do we want have a user use the raw X lib calls, or encapsulate them
in an fl_*? Like:
Atom fl_intern_atom(FL_FORM *form,
char *atom_name,
Bool only_if_exists);
This function would then call XInternAtom() .
Status fl_send_clientEvent(FL_FORM *form,
Bool propogate);
Which would in turn fill in the proper event masks and use *form to get
the display and window data and then call XSendEvent().
What ya'll think?
Jeff
wd4nmq at comcast.net
More information about the Xforms
mailing list