Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ Shell(3X) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought



Shell(3X)                        UNIX System V                        Shell(3X)


NAME
      Shell - The Shell widget class.


SYNOPSIS
      #include <Xm/Xm.h>
      #include <X11/Shell.h>


DESCRIPTION
      Shell is a top-level widget (with only one managed child) that
      encapsulates the interaction with the window manager.

      When the width of both the shell and its child are specified, the larger
      of the shell's width and the child's width is used for both widgets.
      When either the shell's width or the child's width, but not the other, is
      specified, the specified width is used for both widgets.  The same
      relations hold for the height of the shell and its child.


   Classes
      Shell inherits behavior and resources from Composite and Core.

            The class pointer is shellWidgetClass.

            The class name is Shell.


   New Resources
      The following table defines a set of widget resources used by the
      programmer to specify data.  The programmer can also set the resource
      values for the inherited classes to set attributes for this widget.  To
      reference a resource by name or by class in a .Xdefaults file, remove the
      XmN or XmC prefix and use the remaining letters.  To specify one of the
      defined values for a resource in a .Xdefaults file, remove the Xm prefix
      and use the remaining letters (in either lowercase or uppercase, but
      include any underscores between words).  The codes in the access column
      indicate if the given resource can be set at creation time (C), set by
      using XtSetValues (S), retrieved by using XtGetValues (G), or is not
      applicable (N/A).

______________________________________________________________________________________________
                                      Shell Resource Set
______________________________________________________________________________________________
 Name                      Class                     Type             Default          Access
______________________________________________________________________________________________
______________________________________________________________________________________________
 XmNallowShellResize       XmCAllowShellResize       Boolean          False            CG
______________________________________________________________________________________________
 XmNcreatePopupChildProc   XmCCreatePopupChildProc   (*)()            NULL             CSG
______________________________________________________________________________________________
 XmNgeometry               XmCGeometry               String           NULL             CSG


10/89                                                                    Page 1







Shell(3X)                        UNIX System V                        Shell(3X)


|_______________________|_________________________|________________|________________|________|
|XmNoverrideRedirect    |  XmCOverrideRedirect    |  Boolean       |  False         |  CSG   |
|_______________________|_________________________|________________|________________|________|
|XmNpopdownCallback     |  XmCCallback            |  XtCallbackList|  NULL          |  C     |
|_______________________|_________________________|________________|________________|________|
|XmNpopupCallback       |  XmCCallback            |  XtCallbackList|  NULL          |  C     |
|_______________________|_________________________|________________|________________|________|
|XmNsaveUnder           |  XmCSaveUnder           |  Boolean       |  False         |  CSG   |
|_______________________|_________________________|________________|________________|________|
|XmNvisual              |  XmCVisual              |  Visual *      |  CopyFromParent|  CSG   |
|_______________________|_________________________|________________|________________|________|


      XmNallowShellResize
            Specifies that if this resource is False, the Shell widget instance
            returns XtGeometryNo to all geometry requests from its children.

      XmNcreatePopupChildProc
            Specifies the pointer to a function that is called when the Shell
            widget instance is popped up by XtPopup.  The function creates the
            child widget when the shell is popped up instead of when the
            application starts up.  This can be used if the child needs to be
            reconfigured each time the shell is popped up.  The function takes
            one argument, the popup shell, and returns no result.  It is called
            after the popup callbacks specified by XmNpopupCallback.

      XmNgeometry
            Specifies the desired geometry for the widget instance.  This
            resource is examined only when the widget instance is unrealized
            and the number of its managed children is changed.  It is to change
            the values of the XmNx, XmNy, XmNwidth, and XmNheight resources.

      XmNoverrideRedirect
            Specifies this is True if the widget instance is a temporary window
            which should be ignored by the window manager.  Applications and
            users should not normally alter this resource.

      XmNpopdownCallback
            Specifies a list of callbacks that is called when the widget
            instance is popped down by XtPopdown.

      XmNpopupCallback
            Specifies a list of callbacks that is called when the widget
            instance is popped up by XtPopup.

      XmNsaveUnder
            Specifies a True value if it is desirable to save the contents of
            the screen beneath this widget instance, avoiding expose events
            when the instance is unmapped.  This is a hint, and an
            implementation may save contents whenever it desires, including
            always or never.



Page 2                                                                    10/89







Shell(3X)                        UNIX System V                        Shell(3X)


      XmNvisual
            Specifies the visual used in creating the widget.


   Inherited Resources
      Shell inherits behavior and resources from the following superclass.  For
      a complete description of each resource, refer to the man page for that
      superclass.

       _______________________________________________________________________
      |                        Composite Resource Set                        |
      |__________________|___________________|____________|_________|________|
      | Name             |  Class            |  Type      |  Default|  Access|
      |__________________|___________________|____________|_________|________|
      |__________________|___________________|____________|_________|________|
      | XmNchildren      |  XmCReadOnly      |  WidgetList|  NULL   |  G     |
      |__________________|___________________|____________|_________|________|
      | XmNinsertPosition|  XmCInsertPosition|  (*)()     |  NULL   |  CSG   |
      |__________________|___________________|____________|_________|________|
      | XmNnumChildren   |  XmCReadOnly      |  Cardinal  |  0      |  G     |
      |__________________|___________________|____________|_________|________|

________________________________________________________________________________________________________________
                                               Core Resource Set
________________________________________________________________________________________________________________
 Name                            Class                           Type             Default                Access
________________________________________________________________________________________________________________
________________________________________________________________________________________________________________
 XmNaccelerators                 XmCAccelerators                 XtAccelerators   dynamic                CSG
________________________________________________________________________________________________________________
 XmNancestorSensitive            XmCSensitive                    Boolean          dynamic                G
________________________________________________________________________________________________________________
 XmNbackground                   XmCBackground                   Pixel            dynamic                CSG
________________________________________________________________________________________________________________
 XmNbackgroundPixmap             XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
________________________________________________________________________________________________________________
 XmNborderColor                  XmCBorderColor                  Pixel            XtDefaultForeground    CSG
________________________________________________________________________________________________________________
 XmNborderPixmap                 XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
________________________________________________________________________________________________________________
 XmNborderWidth                  XmCBorderWidth                  Dimension        1                      CSG
________________________________________________________________________________________________________________
 XmNcolormap                     XmCColormap                     Colormap         dynamic                CG
________________________________________________________________________________________________________________
 XmNdepth                        XmCDepth                        int              dynamic                CG
________________________________________________________________________________________________________________
 XmNdestroyCallback              XmCCallback                     XtCallbackList   NULL                   C
________________________________________________________________________________________________________________
 XmNheight                       XmCHeight                       Dimension        dynamic                CSG
________________________________________________________________________________________________________________
 XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True                   C
________________________________________________________________________________________________________________


10/89                                                                    Page 3







Shell(3X)                        UNIX System V                        Shell(3X)


|XmNmappedWhenManaged         |  XmCMappedWhenManaged         |  Boolean       |  True                |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNscreen                    |  XmCScreen                    |  Screen *      |  dynamic             |  CG    |
|_____________________________|_______________________________|________________|______________________|________|
|XmNsensitive                 |  XmCSensitive                 |  Boolean       |  True                |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNtranslations              |  XmCTranslations              |  XtTranslations|  dynamic             |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNwidth                     |  XmCWidth                     |  Dimension     |  dynamic             |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNx                         |  XmCPosition                  |  Position      |  0                   |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNy                         |  XmCPosition                  |  Position      |  0                   |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|


   Translations
      There are no translations for Shell.

RELATED INFORMATION
      Composite(3X) and Core(3X).

































Page 4                                                                    10/89





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026