Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

TopLevelShell(3X)  —  MISCELLANEOUS LIBRARY FUNCTIONS

NAME

TopLevelShell—The TopLevelShell widget class

SYNOPSIS

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

DESCRIPTION

TopLevelShell is used for normal top-level windows such as any additional top-level widgets an application needs. 

Classes

TopLevelShell inherits behavior and resources from Core, Composite, Shell, WMShell, and VendorShell. 

The class pointer is topLevelShellWidgetClass. 

The class name is TopLevelShell. 

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

 


TopLevelShell Resource Set

NameClassTypeDefaultAccess


XmNiconicXmCIconicBooleanFalseCSG

XmNiconNameXmCIconNameStringNULLCSG

XmNiconNameEncodingXmCIconNameEncodingAtomdynamicCSG







XmNiconicSpecifies that if this is True when the widget instance is realized, the widget instance indicates to the window manager that the application wishes to start as an icon, irrespective of the XmNinitialState resource. 

XmNiconName
Specifies the short form of the application name to be displayed by the window manager when the application is iconified.

XmNiconNameEncoding
Specifies a property type that represents the encoding of the XmNiconName string.  If a language procedure has been set, the default is None; otherwise, the default is XA_STRING.  When the widget is realized, if the value is None, the corresponding name is assumed to be in the current locale.  The name is passed to XmbTextListToTextProperty with an encoding style of XStdICCTextStyle.  The resulting encoding is "STRING" if the name is fully convertible to "STRING," otherwise "COMPOUND_TEXT." The values of the encoding resources are not changed; they remain None. 

Inherited Resources

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

 


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

RELATED INFORMATION

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

Sun Release 4.0  —  Last change:

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