[comp.windows.x] Widget Class Help

hart@UV4.EGLIN.AF.MIL (04/11/90)

E G L I N   A F B
                    I N T E R O F F I C E   M E M O R A N D U M

                                        Date:     10-Apr-1990 04:08pm CST
                                        From:     DENNIS L. HART
                                                  HART
                                        Dept:     3200SPTW/SCYSE
                                        Tel No:   904 882 3154

TO:  _WINS%                               ( _DDN[XPERT@EXPO.LCS.MIT.EDU] )


Subject: Widget Class Help



To anyone who has experience using the DECwindows FORTRAN bindings. I
am trying to create a popup shell that is the parent for a window to 
contain a diagram of current mouse button functions. This popup is to 
be created by an application which can then use the window to display 
the action or actions associated with pressing or releasing a specific 
mouse button. Having this as a separate shell is desired so I can
iconify it when not needed by the user.

My problem is in using the XT$CREATE_POPUP_SHELL routine. I cannot
figure out how to pass this routine a valid widget class pointer.
The manuals touch on widget classing but there are no examples of
how to do this from FORTRAN. I must be overlooking something. 

Anyone having an example FORTRAN program which uses multiple shells
would probably be the most help or some info on how to create shells


Dennis Hart
Atlantic Research Corporation
Freeman Mathematical Laboratory
Eglin AFB, Florida