Motif popup menus in Performer

New Message Reply Date view Thread view Subject view Author view

Beaver, Jim (beaver_jim++at++smtpgwy.si.com)
Tue, 31 Oct 95 17:19:21 EST


     Hello,
       I'm attempting to convert the window and input management of my
     Performer application from GL to X. I've kind of reached a point where
     I'm stumped trying to convert my GL popup window functions to X. I'm
     trying to use Motif XmCreatePopupMenu with XtManageChild and
     XtAddCallback because it seemed the most straightforward way to
     accomplish this (based on my limited knowledge, so far, of X and
     Motif). I haven't had much luck. There seems to be an inherent
     conflict between this method and Performer. For example, the
     XtAddEventHandler and XtAddCallback functions needed to attach some
     action to a menu button push don't seem to work without XtAppMainLoop
     which seems to take control of the program away from Performer. I can
     get the popup menu to come up using pfuMouse events and XtManageChild
     but I'm stuck as to getting the individual menu buttons to do
     something. Does any kind soul out there know what I can do about this?
     Or do I have to use the pfuGUI routines to create my own popup menu
     from scratch?
      
                                        Thanks
      
                                        Jim Beaver
                                        Smiths Industries DSNA
                                        Grand Rapids, MI
                                        beaver_jim++at++si.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:59 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.