Shell(3Xm) Shell(3Xm)
NAME
Shell - the Shell widget class.
AES SUPPORT LEVEL
full-use
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.
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
lower case or upper case, 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 CSG
XmNcreatePopupChildProc XmCCreatePopupChildProc XmCreatePopupChildProc NULL CSG
XmNgeometry XmCGeometry String NULL CSG
XmNoverrideRedirect XmCOverrideRedirect Boolean False CSG
- 1 -
Shell(3Xm) Shell(3Xm)
XmNpopdownCallback XmCCallback XtCallbackList NULL C
XmNpopupCallback XmCCallback XtCallbackList NULL C
XmNsaveUnder XmCSaveUnder Boolean False CSG
XmNallowShellResize
Specifies that if this resource is False, then the
Shell widget instance will return XtGeometryNo to
all geometry requests from its children.
XmNcreatePopupChildProc
Specifies the pointer to a function which is
called when the Shell widget instance is popped up
by XtPopup.
XmNgeometry
Specifies the desired geometry for the widget
instance. This resource is only examined when the
widget instance is unrealized and the number of
its managed children is changed. It will be used
to change the values of the XmNx, XmNy, XmNwidth,
and XmNheight resources.
XmNoverrideRedirect
Specifies this is True if the widget instance is
an extremely 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.
Inherited Resources
Shell inherits behavior and resources from the
following superclass. For a complete description of
these resources, refer to the man page for that
superclass.
- 2 -
Shell(3Xm) Shell(3Xm)
Composite Resource Set
Name Class Type Default Access
______________________________________________________________________
XmNinsertPosition XmCInsertPosition XmRFunction NULL CSG
Core Resource Set
Name Class Type Default Access
______________________________________________________________________________________________
XmNaccelerators XmCAccelerators XtTranslations NULL CSG
XmNancestorSensitive XmCSensitive Boolean ShellAncestorSensitive G
XmNbackground XmCBackground Pixel White CSG
XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
XmNborderColor XmCBorderColor Pixel Black CSG
XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
XmNborderWidth XmCBorderWidth Dimension 1 CSG
XmNcolormap XmCColormap Colormap ShellColormap CG
XmNdepth XmCDepth int ShellDepth CG
XmNdestroyCallback XmCCallback XtCallbackList NULL C
XmNheight XmCHeight Dimension 0 CSG
XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG
XmNscreen XmCScreen Pointer XtCopyScreen CG
XmNsensitive XmCSensitive Boolean True CSG
XmNtranslations XmCTranslations XtTranslations NULL CSG
XmNwidth XmCWidth Dimension 0 CSG
XmNx XmCPosition Position 0 CSG
XmNy XmCPosition Position 0 CSG
RELATED INFORMATION
Composite(3X) and Core(3X).
- 3 -