ApplicationShell(3X) UNIX System V ApplicationShell(3X)
NAME
ApplicationShell - the ApplicationShell widget class.
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 |
|________|_________|__________|_________|________|
10/89 Page 1
ApplicationShell(3X) UNIX System V ApplicationShell(3X)
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 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 | Class | Type | Default | Access|
|____________________|_____________________|_________|___________|________|
|____________________|_____________________|_________|___________|________|
| XmNiconic | XmCIconic | Boolean| False | CSG |
|____________________|_____________________|_________|___________|________|
| XmNiconName | XmCIconName | String | NULL | CSG |
|____________________|_____________________|_________|___________|________|
| XmNiconNameEncoding| XmCIconNameEncoding| Atom | XA_STRING| CSG |
|____________________|_____________________|_________|___________|________|
_______________________________________________________________________________________
VendorShell Resource Set
_______________________________________________________________________________________
Name Class Type Default Access
_______________________________________________________________________________________
_______________________________________________________________________________________
XmNdefaultFontList XmCDefaultFontList XmFontList dynamic C
_______________________________________________________________________________________
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
_______________________________________________________________________________________
Page 2 10/89
ApplicationShell(3X) UNIX System V ApplicationShell(3X)
|XmNshellUnitType | XmCShellUnitType | 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 -1 CSG
________________________________________________________________________________
XmNiconY XmCIconY int -1 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 XA_STRING CSG
________________________________________________________________________________
XmNtransient XmCTransient Boolean False CSG
10/89 Page 3
ApplicationShell(3X) UNIX System V ApplicationShell(3X)
|_________________|__________________|_________|_______________________|________|
| 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| (*)() | 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| (*)() | NULL | CSG |
|__________________|___________________|____________|_________|________|
| XmNnumChildren | XmCReadOnly | Cardinal | 0 | G |
|__________________|___________________|____________|_________|________|
Page 4 10/89
ApplicationShell(3X) UNIX System V ApplicationShell(3X)
________________________________________________________________________________________________________________
| 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 |
|_____________________________|_______________________________|________________|______________________|________|
|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 INFORMATION
Composite(3X), Core(3X), Shell(3X), WMShell(3X), VendorShell(3X), and
TopLevelShell(3X).
10/89 Page 5