ApplicationShell(3X) OSF/Motif ApplicationShell(3X)NAMEApplicationShell - The ApplicationShell widget class
SYNOPSIS
#include <Xm/Xm.h>
#include <X11/Shell.h>
DESCRIPTIONApplicationShell is used as the main top-level window for an applica‐
tion. An application should have more than one ApplicationShell only
if it implements multiple logical applications.
Classes
ApplicationShell inherits behavior and resources from Core, Composite,
Shell, WMShell, VendorShell, and TopLevelShell.
The class pointer is applicationShellWidgetClass.
The class name is ApplicationShell.
New Resources
The following table defines a set of widget resources used by the pro‐
grammer to specify data. The programmer can also set the resource val‐
ues 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).
ApplicationShell Resource Set
─────────────────────────────────────────
Name Default Access
Class Type
─────────────────────────────────────────
─────────────────────────────────────────
XmNargc 0 CSG
XmCArgc int
─────────────────────────────────────────
XmNargv NULL CSG
XmCArgv String *
─────────────────────────────────────────
Specifies the number of arguments given in the XmNargv resource. The
function XtInitialize sets this resource on the shell widget instance
it creates by using its parameters as the values. Specifies the argu‐
ment list required by a session manager to restart the application, if
it is killed. This list should be updated at appropriate points by the
application if a new state has been reached which can be directly
restarted. The function XtInitialize sets this resource on the shell
widget instance it creates by using its parameters as the values.
Inherited Resources
ApplicationShell inherits behavior and resources from the following
superclasses. For a complete description of each resource, refer to
the manual page for that superclass.
TopLevelShell Resource Set
────────────────────────────────────────────────────
Name Default Access
Class Type
────────────────────────────────────────────────────
────────────────────────────────────────────────────
XmNiconic False CSG
XmCIconic Boolean
────────────────────────────────────────────────────
XmNiconName NULL CSG
XmCIconName String
────────────────────────────────────────────────────
XmNiconNameEncoding dynamic CSG
XmCIconNameEncoding Atom
────────────────────────────────────────────────────
VendorShell Resource Set
─────────────────────────────────────────────────────────────
Name Default Access
Class Type
─────────────────────────────────────────────────────────────
─────────────────────────────────────────────────────────────
XmNaudibleWarning XmBELL CSG
XmCAudibleWarning unsigned char
─────────────────────────────────────────────────────────────
XmNbuttonFontList dynamic CSG
XmCButtonFontList XmFontList
─────────────────────────────────────────────────────────────
XmNdefaultFontList dynamic CG
XmCDefaultFontList XmFontList
─────────────────────────────────────────────────────────────
XmNdeleteResponse XmDESTROY CSG
XmCDeleteResponse unsigned char
─────────────────────────────────────────────────────────────
XmNinputMethod NULL CSG
XmCInputMethod String
─────────────────────────────────────────────────────────────
XmNkeyboardFocusPolicy XmEXPLICIT CSG
XmCKeyboardFocusPolicy unsigned char
─────────────────────────────────────────────────────────────
XmNlabelFontList dynamic CSG
XmCLabelFontList XmFontList
─────────────────────────────────────────────────────────────
XmNmwmDecorations -1 CSG
XmCMwmDecorations int
─────────────────────────────────────────────────────────────
XmNmwmFunctions -1 CSG
XmCMwmFunctions int
─────────────────────────────────────────────────────────────
XmNmwmInputMode -1 CSG
XmCMwmInputMode int
─────────────────────────────────────────────────────────────
XmNmwmMenu NULL CSG
XmCMwmMenu String
─────────────────────────────────────────────────────────────
XmNpreeditType dynamic CSG
XmCPreeditType String
─────────────────────────────────────────────────────────────
XmNshellUnitType XmPIXELS CSG
XmCShellUnitType unsigned char
─────────────────────────────────────────────────────────────
XmNtextFontList dynamic CSG
XmCTextFontList XmFontList
─────────────────────────────────────────────────────────────
XmNuseAsyncGeometry False CSG
XmCUseAsyncGeometry Boolean
─────────────────────────────────────────────────────────────
WMShell Resource Set
────────────────────────────────────────────────────────
Name Default Access
Class Type
────────────────────────────────────────────────────────
────────────────────────────────────────────────────────
XmNbaseHeight XtUnspecifiedShellInt CSG
XmCBaseHeight int
────────────────────────────────────────────────────────
XmNbaseWidth XtUnspecifiedShellInt CSG
XmCBaseWidth int
────────────────────────────────────────────────────────
XmNheightInc XtUnspecifiedShellInt CSG
XmCHeightInc int
────────────────────────────────────────────────────────
XmNiconMask NULL CSG
XmCIconMask Pixmap
────────────────────────────────────────────────────────
XmNiconPixmap NULL CSG
XmCIconPixmap Pixmap
────────────────────────────────────────────────────────
XmNiconWindow NULL CSG
XmCIconWindow Window
────────────────────────────────────────────────────────
XmNiconX -1 CSG
XmCIconX int
────────────────────────────────────────────────────────
XmNiconY -1 CSG
XmCIconY int
────────────────────────────────────────────────────────
XmNinitialState NormalState CSG
XmCInitialState int
────────────────────────────────────────────────────────
XmNinput True CSG
XmCInput Boolean
────────────────────────────────────────────────────────
XmNmaxAspectX XtUnspecifiedShellInt CSG
XmCMaxAspectX int
────────────────────────────────────────────────────────
XmNmaxAspectY XtUnspecifiedShellInt CSG
XmCMaxAspectY int
────────────────────────────────────────────────────────
XmNmaxHeight XtUnspecifiedShellInt CSG
XmCMaxHeight int
────────────────────────────────────────────────────────
XmNmaxWidth XtUnspecifiedShellInt CSG
XmCMaxWidth int
────────────────────────────────────────────────────────
XmNminAspectX XtUnspecifiedShellInt CSG
XmCMinAspectX int
────────────────────────────────────────────────────────
XmNminAspectY XtUnspecifiedShellInt CSG
XmCMinAspectY int
────────────────────────────────────────────────────────
XmNminHeight XtUnspecifiedShellInt CSG
XmCMinHeight int
────────────────────────────────────────────────────────
XmNminWidth XtUnspecifiedShellInt CSG
XmCMinWidth int
────────────────────────────────────────────────────────
XmNtitle dynamic CSG
XmCTitle String
────────────────────────────────────────────────────────
XmNtitleEncoding dynamic CSG
XmCTitleEncoding Atom
────────────────────────────────────────────────────────
XmNtransient False CSG
XmCTransient Boolean
────────────────────────────────────────────────────────
XmNwaitForWm True CSG
XmCWaitForWm Boolean
────────────────────────────────────────────────────────
XmNwidthInc XtUnspecifiedShellInt CSG
XmCWidthInc int
────────────────────────────────────────────────────────
XmNwindowGroup dynamic CSG
XmCWindowGroup Window
────────────────────────────────────────────────────────
XmNwinGravity dynamic CSG
XmCWinGravity int
────────────────────────────────────────────────────────
XmNwmTimeout 5000 ms CSG
XmCWmTimeout int
────────────────────────────────────────────────────────
Shell Resource Set
───────────────────────────────────────────────────────────────────────
Name Default Access
Class Type
───────────────────────────────────────────────────────────────────────
───────────────────────────────────────────────────────────────────────
XmNallowShellResize False CG
XmCAllowShellResize Boolean
───────────────────────────────────────────────────────────────────────
XmNcreatePopupChildProc NULL CSG
XmCCreatePopupChildProc XtCreatePopupChildProc
───────────────────────────────────────────────────────────────────────
XmNgeometry NULL CSG
XmCGeometry String
───────────────────────────────────────────────────────────────────────
XmNoverrideRedirect False CSG
XmCOverrideRedirect Boolean
───────────────────────────────────────────────────────────────────────
XmNpopdownCallback NULL C
XmCCallback XtCallbackList
───────────────────────────────────────────────────────────────────────
XmNpopupCallback NULL C
XmCCallback XtCallbackList
───────────────────────────────────────────────────────────────────────
XmNsaveUnder False CSG
XmCSaveUnder Boolean
───────────────────────────────────────────────────────────────────────
XmNvisual CopyFromParent CSG
XmCVisual Visual *
───────────────────────────────────────────────────────────────────────
Composite Resource Set
──────────────────────────────────────────────────────
Name Default Access
Class Type
──────────────────────────────────────────────────────
──────────────────────────────────────────────────────
XmNchildren NULL G
XmCReadOnly WidgetList
──────────────────────────────────────────────────────
XmNinsertPosition NULL CSG
XmCInsertPosition XtOrderProc
──────────────────────────────────────────────────────
XmNnumChildren 0 G
XmCReadOnly Cardinal
──────────────────────────────────────────────────────
Core Resource Set
─────────────────────────────────────────────────────────────────────
Name Default Access
Class Type
─────────────────────────────────────────────────────────────────────
─────────────────────────────────────────────────────────────────────
XmNaccelerators dynamic CSG
XmCAccelerators XtAccelerators
─────────────────────────────────────────────────────────────────────
XmNancestorSensitive dynamic G
XmCSensitive Boolean
─────────────────────────────────────────────────────────────────────
XmNbackground dynamic CSG
XmCBackground Pixel
─────────────────────────────────────────────────────────────────────
XmNbackgroundPixmap XmUNSPECIFIED_PIXMAP CSG
XmCPixmap Pixmap
─────────────────────────────────────────────────────────────────────
XmNborderColor XtDefaultForeground CSG
XmCBorderColor Pixel
─────────────────────────────────────────────────────────────────────
XmNborderPixmap XmUNSPECIFIED_PIXMAP CSG
XmCPixmap Pixmap
─────────────────────────────────────────────────────────────────────
XmNborderWidth 1 CSG
XmCBorderWidth Dimension
─────────────────────────────────────────────────────────────────────
XmNcolormap dynamic CG
XmCColormap Colormap
─────────────────────────────────────────────────────────────────────
XmNdepth dynamic CG
XmCDepth int
─────────────────────────────────────────────────────────────────────
XmNdestroyCallback NULL C
XmCCallback XtCallbackList
─────────────────────────────────────────────────────────────────────
XmNheight dynamic CSG
XmCHeight Dimension
─────────────────────────────────────────────────────────────────────
XmNinitialResourcesPersistent True C
XmCInitialResourcesPersistent Boolean
─────────────────────────────────────────────────────────────────────
XmNmappedWhenManaged True CSG
XmCMappedWhenManaged Boolean
─────────────────────────────────────────────────────────────────────
XmNscreen dynamic CG
XmCScreen Screen *
─────────────────────────────────────────────────────────────────────
XmNsensitive True CSG
XmCSensitive Boolean
─────────────────────────────────────────────────────────────────────
XmNtranslations dynamic CSG
XmCTranslations XtTranslations
─────────────────────────────────────────────────────────────────────
XmNwidth dynamic CSG
XmCWidth Dimension
─────────────────────────────────────────────────────────────────────
XmNx 0 CSG
XmCPosition Position
─────────────────────────────────────────────────────────────────────
XmNy 0 CSG
XmCPosition Position
─────────────────────────────────────────────────────────────────────
Translations
There are no translations for ApplicationShell.
RELATED INFORMATIONComposite(3X), Core(3X), Shell(3X), WMShell(3X), VendorShell(3X),
TopLevelShell(3X)ApplicationShell(3X)