Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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
NameClassTypeDefaultAccess

XmNargcXmCArgcint0CSG
XmNargvXmCArgvString ∗NULLCSG

XmNargcSpecifies 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.

XmNargvSpecifies 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
NameClassTypeDefaultAccess

XmNiconicXmCIconicBooleanFalseCSG
XmNiconNameXmCIconNameStringNULLCSG
XmNiconNameEncodingXmCIconNameEncodingAtomdynamicCSG

VendorShell Resource Set
NameClassTypeDefaultAccess

XmNaudibleWarningXmCAudibleWarningunsigned charXmBELLCSG
XmNbuttonFontListXmCButtonFontListXmFontListdynamicCSG
XmNdefaultFontListXmCDefaultFontListXmFontListdynamicCG
XmNdeleteResponseXmCDeleteResponseunsigned charXmDESTROYCSG
XmNinputMethodXmCInputMethodStringNULLCSG
XmNkeyboardFocusPolicyXmCKeyboardFocusPolicyunsigned charXmEXPLICITCSG
XmNlabelFontListXmCLabelFontListXmFontListdynamicCSG
XmNmwmDecorationsXmCMwmDecorationsint-1CSG
XmNmwmFunctionsXmCMwmFunctionsint-1CSG
XmNmwmInputModeXmCMwmInputModeint-1CSG
XmNmwmMenuXmCMwmMenuStringNULLCSG
XmNpreeditTypeXmCPreeditTypeStringdynamicCSG
XmNshellUnitTypeXmCShellUnitTypeunsigned charXmPIXELSCSG
XmNtextFontListXmCTextFontListXmFontListdynamicCSG
XmNuseAsyncGeometryXmCUseAsyncGeometryBooleanFalseCSG

WMShell Resource Set
NameClassTypeDefaultAccess

XmNbaseHeightXmCBaseHeightintXtUnspecifiedShellIntCSG
XmNbaseWidthXmCBaseWidthintXtUnspecifiedShellIntCSG
XmNheightIncXmCHeightIncintXtUnspecifiedShellIntCSG
XmNiconMaskXmCIconMaskPixmapNULLCSG
XmNiconPixmapXmCIconPixmapPixmapNULLCSG
XmNiconWindowXmCIconWindowWindowNULLCSG
XmNiconXXmCIconXint−1CSG
XmNiconYXmCIconYint−1CSG
XmNinitialStateXmCInitialStateintNormalStateCSG
XmNinputXmCInputBooleanTrueCSG
XmNmaxAspectXXmCMaxAspectXintXtUnspecifiedShellIntCSG
XmNmaxAspectYXmCMaxAspectYintXtUnspecifiedShellIntCSG
XmNmaxHeightXmCMaxHeightintXtUnspecifiedShellIntCSG
XmNmaxWidthXmCMaxWidthintXtUnspecifiedShellIntCSG
XmNminAspectXXmCMinAspectXintXtUnspecifiedShellIntCSG
XmNminAspectYXmCMinAspectYintXtUnspecifiedShellIntCSG
XmNminHeightXmCMinHeightintXtUnspecifiedShellIntCSG
XmNminWidthXmCMinWidthintXtUnspecifiedShellIntCSG
XmNtitleXmCTitleStringdynamicCSG
XmNtitleEncodingXmCTitleEncodingAtomdynamicCSG
XmNtransientXmCTransientBooleanFalseCSG
XmNwaitForWmXmCWaitForWmBooleanTrueCSG
XmNwidthIncXmCWidthIncintXtUnspecifiedShellIntCSG
XmNwindowGroupXmCWindowGroupWindowdynamicCSG
XmNwinGravityXmCWinGravityintdynamicCSG
XmNwmTimeoutXmCWmTimeoutint5000 msCSG

Shell Resource Set
NameClassTypeDefaultAccess

XmNallowShellResizeXmCAllowShellResizeBooleanFalseCG
XmNcreatePopupChildProcXmCCreatePopupChildProcXtCreatePopupChildProcNULLCSG
XmNgeometryXmCGeometryStringNULLCSG
XmNoverrideRedirectXmCOverrideRedirectBooleanFalseCSG
XmNpopdownCallbackXmCCallbackXtCallbackListNULLC
XmNpopupCallbackXmCCallbackXtCallbackListNULLC
XmNsaveUnderXmCSaveUnderBooleanFalseCSG
XmNvisualXmCVisualVisual ∗CopyFromParentCSG

Composite Resource Set
NameClassTypeDefaultAccess

XmNchildrenXmCReadOnlyWidgetListNULLG
XmNinsertPositionXmCInsertPositionXtOrderProcNULLCSG
XmNnumChildrenXmCReadOnlyCardinal0G

Core Resource Set
NameClassTypeDefaultAccess

XmNacceleratorsXmCAcceleratorsXtAcceleratorsdynamicCSG
XmNancestorSensitiveXmCSensitiveBooleandynamicG
XmNbackgroundXmCBackgroundPixeldynamicCSG
XmNbackgroundPixmapXmCPixmapPixmapXmUNSPECIFIED_PIXMAPCSG
XmNborderColorXmCBorderColorPixelXtDefaultForegroundCSG
XmNborderPixmapXmCPixmapPixmapXmUNSPECIFIED_PIXMAPCSG
XmNborderWidthXmCBorderWidthDimension1CSG
XmNcolormapXmCColormapColormapdynamicCG
XmNdepthXmCDepthintdynamicCG
XmNdestroyCallbackXmCCallbackXtCallbackListNULLC
XmNheightXmCHeightDimensiondynamicCSG
XmNinitialResourcesPersistentXmCInitialResourcesPersistentBooleanTrueC
XmNmappedWhenManagedXmCMappedWhenManagedBooleanTrueCSG
XmNscreenXmCScreenScreen ∗dynamicCG
XmNsensitiveXmCSensitiveBooleanTrueCSG
XmNtranslationsXmCTranslationsXtTranslationsdynamicCSG
XmNwidthXmCWidthDimensiondynamicCSG
XmNxXmCPositionPosition0CSG
XmNyXmCPositionPosition0CSG

Translations

There are no translations for ApplicationShell. 

RELATED INFORMATION

Composite(3X), Core(3X), Shell(3X), WMShell(3X), VendorShell(3X), and TopLevelShell(3X). 

SunOS Solaris_2.4_x86_SDK  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026