Re: XForms: more glforms to xforms

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 27 Aug 98 08:03:41 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I think that converting the event handling is my final step. However,
> my guesses at converting the "dev = fl_qread(&val); /* handle the event */" to
> "fl_XNextEvent(&xevent); switch(xevent.type) /* handle the event */" have
> not been succesful.
>
> So my question is this: Is there a simple parallel between gl(sgi) event
> handling and X event handling that I am missing and can fix with a simple
> substitution or do I need to scrounge up the X manuals and start reading.

There is no exact parallel -- the event types have different
enumerations and there is much more information in an X event than in
a SGI GL event.

You're going to probably need to at least *look* at the X manuals.
However, you don't need to bother with the majority of the volumes --
just the first two -- Volume One, the _Xlib Programming Manual_
(largely a tutorial), and Volume Two, the _Xlib Reference Manual_
(basically the manual pages with other reference materials, such as
the XEvent structure internals) [I assume you're referring to the
O'Reilly & Associates series -- IMHO, they're one of the better
publishers on this subject]. Another handy text for quick, largely
nmemonic, reference is the O'Reillly volume _The X Window System in a
Nutshell_.

spl
_________________________________________________
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/