Reference

ApplicationShell(3)

The ApplicationShell widget class

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
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
NameClassTypeDefaultAccess
XmNiconicXmCIconicBooleanFalseCSG
XmNiconNameXmCIconNameStringNULLCSG
XmNiconNameEncodingXmCIconNameEncodingAtomdynamicCSG
VendorShell Resource Set
NameClassTypeDefaultAccess
XmNaudibleWarningXmCAudibleWarningunsigned charXmBELLCSG
XmNbuttonFontListXmCButtonFontListXmFontListdynamicCSG
XmNbuttonRenderTableXmCButtonRenderTableXmRenderTabledynamicCSG
XmNdefaultFontListXmCDefaultFontListXmFontListdynamicCG
XmNdeleteResponseXmCDeleteResponseunsigned charXmDESTROYCSG
XmNinputMethodXmCInputMethodStringNULLCSG
XmNinputPolicyXmCInputPolicyXmInputPolicyXmPER_SHELLCSG
XmNkeyboardFocusPolicyXmCKeyboardFocusPolicyunsigned charXmEXPLICITCSG
XmNlabelFontListXmCLabelFontListXmFontListdynamicCSG
XmNlabelRenderTableXmCLabelRenderTabelXmRenderTabledynamicCSG
XmNlayoutDirectionXmCLayoutDirectionXmDirectionXmLEFT_TO_RIGHTCG
XmNmwmDecorationsXmCMwmDecorationsint-1CG
XmNmwmFunctionsXmCMwmFunctionsint-1CG
XmNmwmInputModeXmCMwmInputModeint-1CG
XmNmwmMenuXmCMwmMenuStringNULLCG
XmNpreeditTypeXmCPreeditTypeStringdynamicCSG
XmNshellUnitTypeXmCShellUnitTypeunsigned charXmPIXELSCSG
XmNtextFontListXmCTextFontListXmFontListdynamicCSG
XmNtextRenderTableXmCTextRenderTableXmRenderTabledynamicCSG
XmNunitTypeXmCUnitTypeunsigned charXmPIXELSCSG
XmNuseAsyncGeometryXmCUseAsyncGeometryBooleanFalseCSG
WMShell Resource Set
NameClassTypeDefaultAccess
XmNbaseHeightXmCBaseHeightintXtUnspecifiedShellIntCSG
XmNbaseWidthXmCBaseWidthintXtUnspecifiedShellIntCSG
XmNheightIncXmCHeightIncintXtUnspecifiedShellIntCSG
XmNiconMaskXmCIconMaskPixmapNULLCSG
XmNiconPixmapXmCIconPixmapPixmapNULLCSG
XmNiconWindowXmCIconWindowWindowNULLCSG
XmNiconXXmCIconXintXtUnspecifiedShellIntCSG
XmNiconYXmCIconYintXtUnspecifiedShellIntCSG
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
XmNborderWidthXmCBorderWidthDimension0CSG
XmNcolormapXmCColormapColormapdynamicCG
XmNdepthXmCDepthintdynamicCG
XmNdestroyCallbackXmCCallbackXtCallbackListNULLC
XmNheightXmCHeightDimensiondynamicCSG
XmNinitialResourcesPersistentXmCInitialResourcesPersistentBooleanTrueC
XmNmappedWhenManagedXmCMappedWhenManagedBooleanTrueCSG
XmNscreenXmCScreenScreen *dynamicCG
XmNsensitiveXmCSensitiveBooleanTrueCSG
XmNtranslationsXmCTranslationsXtTranslationsdynamicCSG
XmNwidthXmCWidthDimensiondynamicCSG
XmNxXmCPositionPosition0CSG
XmNyXmCPositionPosition0CSG

Translations

There are no translations for ApplicationShell.

RELATED

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

History