NAME

TopLevelShell — The TopLevelShell widget class "TopLevelShell" "widget class" "TopLevelShell"

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
Name Class Type Default Access
_ _ _ _ _
XmNiconic XmCIconic Boolean False CSG
_ _ _ _ _
XmNiconName XmCIconName String NULL CSG
_ _ _ _ _
XmNiconNameEncoding XmCIconNameEncoding Atom dynamic CSG
_ _ _ _ _
XmNiconic
If True when the widget is created, specifies that the widget should start as an icon when it is realized. A value of False indicates that the widget is not to be realized as an icon. This resource will only override the XmNinitialState resource when specified in the call that creates the widget.
XmNiconName
Specifies the short form of the application name to be displayed by the window manager when the application is iconified. When XtGetValues is called on this resource, the returned value is a pointer to the actual resource value and should not be freed.
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 reference page for that superclass.
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
_ _ _ _ _
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
_ _ _ _ _
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
_ _ _ _ _
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

There are no translations for TopLevelShell. Composite(3), Core(3), Shell(3), WMShell(3), and VendorShell(3).

Recommended readings

Pages related to TopLevelShell you should read also: