ApplicationShell(library call) ApplicationShell(library call)
NAME [Toc] [Back]
ApplicationShell - The ApplicationShell widget class
SYNOPSIS [Toc] [Back]
#include <Xm/Xm.h>
#include <X11/Shell.h>
DESCRIPTION [Toc] [Back]
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 [Toc] [Back]
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 [Toc] [Back]
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
- 1 - Formatted: January 24, 2005
ApplicationShell(library call) ApplicationShell(library call)
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 [Toc] [Back]
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 |
|____________________|_____________________|_________|_________|________|
|____________________|_____________________|_________|_________|________|
- 2 - Formatted: January 24, 2005
ApplicationShell(library call) ApplicationShell(library call)
____________________________________________________________________________________________
| 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 |
|_______________________|________________________|_______________|_________________|________|
|_______________________|________________________|_______________|_________________|________|
- 3 - Formatted: January 24, 2005
ApplicationShell(library call) ApplicationShell(library call)
________________________________________________________________________________
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
- 4 - Formatted: January 24, 2005
ApplicationShell(library call) ApplicationShell(library call)
________________________________________________________________________________
|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 |
|__________________|___________________|_____________|_________|________|
|__________________|___________________|_____________|_________|________|
- 5 - Formatted: January 24, 2005
ApplicationShell(library call) ApplicationShell(library call)
________________________________________________________________________________________________________________
| 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 [Toc] [Back]
There are no translations for ApplicationShell.
RELATED [Toc] [Back]
Composite(3), Core(3), Shell(3), WMShell(3), VendorShell(3), and
TopLevelShell(3).
- 6 - Formatted: January 24, 2005 [ Back ] |