XForms: KeyCode in KeyPress Xevents

From: Nicolas Castagne (Nicolas.Castagne@imag.fr)
Date: Tue Jul 25 2000 - 13:39:26 EDT

  • Next message: Steve Lamont: "Re: XForms: KeyCode in KeyPress Xevents"

    # To subscribers of the xforms list from Nicolas Castagne <Nicolas.Castagne@imag.fr> :

            Hi,
            
            I need to manage events in a gl window created with
    fl_glwincreate, especially the ones.

            That for, I use :
            fl_addto_selected_xevent(mywin, FL_ALL_EVENT)
            fl_add_event_callback(mywin, my_callback,0)
            fl_activate_event_callbacks(mywin)
            

            so that "my_callback(XEvent xev, void *p)" receives all the XEvent
    type...

            In case of a keypress event, the field xev->KeyPress.keycode
    DOES NOT match the X11/keysymdef.h definitions....

            Does any one know in witch include file I can find the
    #define of the keycodes given in XEvents by my IRIX system ?

            Thanks

            Nicolas

    --------------------------------------------------------------------
    Nicolas Castagne
    ACROE (Association pour la creation et la recherche sur les outils
    d'expression)
    INPG, Grenoble.

    tel : 04 76 57 43 39
    --------------------------------------------------------------------

    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Tue Jul 25 2000 - 09:41:53 EDT