VendorShell(Xm) UNIX System V
NAME
VendorShell - the VendorShell widget class.
SYNOPSIS
#include <Xm/Xm.h>
#include <X11/Shell.h>
DESCRIPTION
VendorShell is a Motif widget class used as a supporting
superclass for all shell classes that are visible to the
window manager and that are not override redirect. It
contains the resources that describe the Mwm-specific look
and feel. It also manages the Mwm-specific communication
needed by all VendorShell subclasses. See the Mwm man page
for more information.
Classes
VendorShell inherits behavior and resources from Core,
Composite, Shell, and WMShell classes.
The class pointer is vendorShellWidgetClass.
The class name is VendorShell.
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).
VendorShell Resource Set
Name Class Type Default Access
_____________________________________________________________________________________
XmNdeleteResponse XmCDeleteResponse unsigned char XmDESTROY CSG
XmNkeyboardFocusPolicy XmCKeyboardFocusPolicy unsigned char XmEXPLICIT CSG
XmNmwmDecorations XmCMwmDecorations int -1 CSG
XmNmwmFunctions XmCMwmFunctions int -1 CSG
XmNmwmInputMode XmCMwmInputMode int -1 CSG
XmNmwmMenu XmCMwmMenu String NULL CSG
XmNshellUnitType XmCShellUnitType unsigned char XmPIXELS CSG
XmNkeyboardFocusPolicy
Determines allocation of keyboard focus within the
widget hierarchy rooted at this shell. The X keyboard
focus must be directed to somewhere in the hierarchy
for this client-side focus management to take effect.
XmNdeleteResponse
Determines what action the shell takes in response to a
WMDELETEWINDOW message. The setting can be one of
three values: XmDESTROY, XmUNMAP, and XmDONOTHING.
The resource is scanned, and the appropriate action is
taken, after the WMDELETEWINDOW callback list (if
any) that is registered with the Protocol manager has
been called.
XmNmwmDecorations
Includes the decoration flags (specific decorations to
add or remove from the window manager frame) for
MWMHINTS.
XmNmwmFunctions
Includes the function flags (specific window manager
functions to include or exclude from the system menu
for MWMHINTS.
XmNmwmInputMode
Includes the input mode flag (application modal or
system modal input focus constraints) for MWMHINTS.
XmNmwmMenu
Specifies the menu items that the Motif window manager
should add to the end of the system menu. The contents
of the string are a list of items separated by \n with
the following format:
label [mnemonic] [ accelerator] function
If more than one item is specified, the items should be
separated by a newline character.
XmNshellUnitType
Determines geometric resource interpretation. The
following values are allowed:
⊕ XmPIXELS - all values provided to the widget are treated
as normal pixel values.
⊕ Xm100THMILLIMETERS - all values provided to the widget
are treated as 1/100 millimeter.
⊕ Xm1000THINCHES - all values provided to the widget are
treated as 1/1000 inch.
⊕ Xm100THPOINTS - all values provided to the widget are
treated as 1/100 point. A point is a unit used in text
processing applications and is defined as 1/72 inch.
⊕ Xm100THFONTUNITS - all values provided to the widget
are treated as 1/100-font unit. The value used for the
font unit is determined in one of two ways: The resource
XmNfont can be used in a defaults file or on the command
line; or, the standard command line options of -fn and
-font can be used. The font unit value is taken as the
QUADWIDTH property of the font. The function
XmSetFontUnits allows applications to specify the font
unit values.
Inherited Resources
VendorShell inherits behavior and resources from the
following superclasses. For a complete description of these
resources, refer to the man page for that superclass.
WMShell Resource Set
Name Class Type Default Access
_________________________________________________________________
XmNheightInc XmCHeightInc int -1 CSG
XmNiconMask XmCIconMask Pixmap NULL CSG
XmNiconPixmap XmCIconPixmap Pixmap NULL CSG
XmNiconWindow XmCIconWindow Window NULL CSG
XmNiconX XmCIconX int -1 CSG
XmNiconY XmCIconY int -1 CSG
XmNinitialState XmCInitialState int 1 CSG
XmNinput XmCInput Boolean True CSG
XmNmaxAspectX XmCMaxAspectX int -1 CSG
XmNmaxAspectY XmCMaxAspectY int -1 CSG
XmNmaxHeight XmCMaxHeight int -1 CSG
XmNmaxWidth XmCMaxWidth int -1 CSG
XmNminAspectX XmCMinAspectX int -1 CSG
XmNminAspectY XmCMinAspectY int -1 CSG
XmNminHeight XmCMinHeight int -1 CSG
XmNminWidth XmCMinWidth int -1 CSG
XmNtitle XmCTitle char * NULL CSG
XmNtransient XmCTransient Boolean False CSG
XmNwaitForWm XmCWaitForWm Boolean True CSG
XmNwidthInc XmCWidthInc int -1 CSG
XmNwindowGroup XmCWindowGroup XID None CSG
XmNwmTimeout XmCWmTimeout int fivesecond CSG
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
XmNpopdownCallback XmCCallback XtCallbackList NULL C
XmNpopupCallback XmCCallback XtCallbackList NULL C
XmNsaveUnder XmCSaveUnder Boolean False CSG
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(Xm), Core(Xm), mwm(1X), Shell(Xm), WMShell(Xm),
XmActivateProtocol(Xm), XmActivateWMProtocol(Xm),
XmAddProtocolCallback(Xm), XmAddWMProtocolCallback(Xm),
XmAddProtocols(Xm), XmAddWMProtocols(Xm),
XmDeactivateProtocol(Xm), XmDeactivateWMProtocol(Xm),
XmGetAtomName(Xm), XmInternAtom(Xm), XmIsMotifWMRunning(Xm),
XmRemoveProtocolCallback(Xm),
XmRemoveWMProtocolCallback(Xm), XmRemoveProtocols(Xm),
XmRemoveWMProtocols(Xm), XmSetProtocolHooks(Xm), and
XmSetWMProtocolHooks(Xm).
(printed 2/14/90) VendorShell(Xm)