SYNOPSIS

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

DESCRIPTION

ApplicationShell is used as the main top-level window for an application. 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 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).

ApplicationShell Resource Set
Name Class Type Default Access
_ _ _ _ _
XmNargc XmCArgc int 0
CSG _ _ _ _
_ XmNargv XmCArgv String *
NULL CSG _ _ _
_ _
XmNargc

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.

XmNargv

Specifies the argument 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 that can be directly restarted. The function XtInitialize sets this resource on the shell widget instance it creates by using its parameters as the values. When XtGetValues is called on this resource, the returned value is a pointer to the actual resource value and should not be freed.

Inherited Resources

ApplicationShell inherits behavior and resources from the following superclasses. For a complete description of each resource, refer to the reference page for that superclass.

TopLevelShell Resource Set
Name Class Type Default Access
_ _ _ _ _
XmNiconic XmCIconic Boolean False
CSG _ _ _ _
_ XmNiconName XmCIconName String
NULL CSG _ _ _
_ _ XmNiconNameEncoding XmCIconNameEncoding
Atom dynamic CSG _ _
_ _ _
VendorShell Resource Set
Name Class Type Default Access
_ _ _ _ _
XmNaudibleWarning XmCAudibleWarning unsigned char XmBELL
CSG _ _ _ _
_ XmNbuttonFontList XmCButtonFontList XmFontList
dynamic CSG _ _ _
_ _ XmNbuttonRenderTable XmCButtonRenderTable
XmRenderTable dynamic CSG _ _
_ _ _ XmNdefaultFontList
XmCDefaultFontList XmFontList dynamic CG _
_ _ _ _
XmNdeleteResponse XmCDeleteResponse unsigned char XmDESTROY CSG
_ _ _ _ _
XmNinputMethod XmCInputMethod String NULL
CSG _ _ _ _
_ XmNinputPolicy XmCInputPolicy XmInputPolicy
XmPER_SHELL CSG _ _ _
_ _ XmNkeyboardFocusPolicy XmCKeyboardFocusPolicy
unsigned char XmEXPLICIT CSG _ _
_ _ _ XmNlabelFontList
XmCLabelFontList XmFontList dynamic CSG _
_ _ _ _
XmNlabelRenderTable XmCLabelRenderTabel XmRenderTable dynamic CSG
_ _ _ _ _
XmNlayoutDirection XmCLayoutDirection XmDirection XmLEFT_TO_RIGHT
CG _ _ _ _
_ XmNmwmDecorations XmCMwmDecorations int
-1 CG _ _ _
_ _ XmNmwmFunctions XmCMwmFunctions
int -1 CG _ _
_ _ _ XmNmwmInputMode
XmCMwmInputMode int -1 CG _
_ _ _ _
XmNmwmMenu XmCMwmMenu String NULL CG
_ _ _ _ _
XmNpreeditType XmCPreeditType String dynamic
CSG _ _ _ _
_ XmNshellUnitType XmCShellUnitType unsigned char
XmPIXELS CSG _ _ _
_ _ XmNtextFontList XmCTextFontList
XmFontList dynamic CSG _ _
_ _ _ XmNtextRenderTable
XmCTextRenderTable XmRenderTable dynamic CSG _
_ _ _ _
XmNunitType XmCUnitType unsigned char XmPIXELS CSG
_ _ _ _ _
XmNuseAsyncGeometry XmCUseAsyncGeometry Boolean False
CSG _ _ _ _
_
WMShell Resource Set
Name Class Type Default Access
_ _ _ _ _
XmNbaseHeight XmCBaseHeight int XtUnspecifiedShellInt
CSG _ _ _ _
_ XmNbaseWidth XmCBaseWidth int
XtUnspecifiedShellInt CSG _ _ _
_ _ XmNheightInc XmCHeightInc
int XtUnspecifiedShellInt CSG _ _
_ _ _ XmNiconMask
XmCIconMask Pixmap NULL CSG _
_ _ _ _
XmNiconPixmap XmCIconPixmap Pixmap NULL CSG
_ _ _ _ _
XmNiconWindow XmCIconWindow Window NULL
CSG _ _ _ _
_ XmNiconX XmCIconX int
XtUnspecifiedShellInt CSG _ _ _
_ _ XmNiconY XmCIconY
int XtUnspecifiedShellInt CSG _ _
_ _ _ XmNinitialState
XmCInitialState int NormalState CSG _
_ _ _ _
XmNinput XmCInput Boolean True CSG
_ _ _ _ _
XmNmaxAspectX XmCMaxAspectX int XtUnspecifiedShellInt
CSG _ _ _ _
_ XmNmaxAspectY XmCMaxAspectY int
XtUnspecifiedShellInt CSG _ _ _
_ _ XmNmaxHeight XmCMaxHeight
int XtUnspecifiedShellInt CSG _ _
_ _ _ XmNmaxWidth
XmCMaxWidth int XtUnspecifiedShellInt CSG _
_ _ _ _
XmNminAspectX XmCMinAspectX int XtUnspecifiedShellInt CSG
_ _ _ _ _
XmNminAspectY XmCMinAspectY int XtUnspecifiedShellInt
CSG _ _ _ _
_ XmNminHeight XmCMinHeight int
XtUnspecifiedShellInt CSG _ _ _
_ _ XmNminWidth XmCMinWidth
int XtUnspecifiedShellInt CSG _ _
_ _ _ XmNtitle
XmCTitle String dynamic CSG _
_ _ _ _
XmNtitleEncoding XmCTitleEncoding Atom dynamic CSG
_ _ _ _ _
XmNtransient XmCTransient Boolean False
CSG _ _ _ _
_ XmNwaitForWm XmCWaitForWm Boolean
True CSG _ _ _
_ _ XmNwidthInc XmCWidthInc
int XtUnspecifiedShellInt CSG _ _
_ _ _ XmNwindowGroup
XmCWindowGroup Window dynamic CSG _
_ _ _ _
XmNwinGravity XmCWinGravity int dynamic CSG
_ _ _ _ _
XmNwmTimeout XmCWmTimeout int 5000 ms
CSG _ _ _ _
_
Shell Resource Set
Name Class Type Default Access
_ _ _ _ _
XmNallowShellResize XmCAllowShellResize Boolean False
CG _ _ _ _
_ XmNcreatePopupChildProc XmCCreatePopupChildProc XtCreatePopupChildProc
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 _ _ _
_ _ XmNvisual XmCVisual
Visual * CopyFromParent CSG _ _
_ _ _
Composite Resource Set
Name Class Type Default Access
_ _ _ _ _
XmNchildren XmCReadOnly WidgetList NULL
G _ _ _ _
_ XmNinsertPosition XmCInsertPosition XtOrderProc
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
0 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 _ _ _
_ _ 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 ApplicationShell.

RELATED