TopLevelShell(Xm) 6 January 1993 TopLevelShell(Xm) Name TopLevelShell - the TopLevelShell widget class Syntax #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 pro- grammer 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 XmNiconNameEncod- XmCIconNameEncod- Atom dynamic CSG ing ing XmNiconic Specifies that if this is True when the widget instance is real- ized, 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 XASTRING. 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 COMPOUNDTEXT. The values of the encoding resources are not changed; they remain None. Inherited resources TopLevelShell inherits behavior and resources from the following superc- lasses. For a complete description of each resource, refer to the man page for that superclass. VendorShell resource set ____________________________________________________________________________ Name Class Type Default Access ____________________________________________________________________________ XmNaudibleWarning XmCAudibleWarning unsigned char XmBELL CSG XmNbuttonFontList XmCButtonFontList XmFontList dynamic CSG XmNdefaultFontList XmCDefaultFontList XmFontList dynamic CG XmNdeleteResponse XmCDeleteResponse unsigned char XmDESTROY CSG XmNinputMethod XmCInputMethod String NULL CSG XmNkeyboard- XmCKeyboard- unsigned char XmEXPLICIT FocusPolicy FocusPolicy XmNlabelFontList XmCLabelFontList XmFontList dynamic CSG XmNmwmDecorations XmCMwmDecorations int -1 CSG XmNmwmFunctions XmCMwmFunctions int -1 CSG XmNmwmInputMode XmCMwmInputMode int -1 CSG XmNmwmMenu XmCMwmMenu String NULL CSG XmNpreeditType XmCPreeditType String dynamic CSG XmNshellUnitType XmCShellUnitType unsigned char XmPIXELS CSG XmNtextFontList XmCTextFontList XmFontList dynamic CSG XmNuseAsyncGeometry XmCUseAsyncGeometry Boolean False CSG WMShell resource set ____________________________________________________________________________ Name Class Type Default Access ____________________________________________________________________________ XmNbaseHeight XmCBaseHeight int XtUnspecified- CSG ShellInt XmNbaseWidth XmCBaseWidth int XtUnspecified- CSG ShellInt XmNheightInc XmCHeightInc int XtUnspecified- CSG ShellInt XmNiconMask XmCIconMask Pixmap NULL CSG XmNiconPixmap XmCIconPixmap Pixmap NULL CSG XmNiconWindow XmCIconWindow Window NULL CSG XmNiconX XmCIconX int -1 CSG XmNiconY XmCIconY int -1 CSG XmNinitialState XmCInitialState int NormalState CSG XmNinput XmCInput Boolean True CSG XmNmaxAspectX XmCMaxAspectX int XtUnspecified- CSG ShellInt XmNmaxAspectY XmCMaxAspectY int XtUnspecified- CSG ShellInt XmNmaxHeight XmCMaxHeight int XtUnspecified- CSG ShellInt XmNmaxWidth XmCMaxWidth int XtUnspecified- CSG ShellInt XmNminAspectX XmCMinAspectX int XtUnspecified- CSG ShellInt XmNminAspectY XmCMinAspectY int XtUnspecified- CSG ShellInt XmNminHeight XmCMinHeight int XtUnspecified- CSG ShellInt XmNminWidth XmCMinWidth int XtUnspecified- CSG ShellInt XmNtitle XmCTitle String dynamic CSG XmNtitleEncoding XmCTitleEncoding Atom dynamic CSG XmNtransient XmCTransient Boolean False CSG XmNwaitForWm XmCWaitForWm Boolean True CSG XmNwidthInc XmCWidthInc int XtUnspecified- CSG ShellInt XmNwindowGroup XmCWindowGroup Window dynamic CSG XmNwinGravity XmCWinGravity int dynamic CSG XmNwmTimeout XmCWmTimeout int 5000 ms CSG Shell resource set ____________________________________________________________________________ Name Class Type Default Access ____________________________________________________________________________ XmNallow- XmCAllow- Boolean False CG ShellResize ShellResize XmNcreatePopup- XmCCreatePopup- XtCreatePopup- NULL CSG ChildProc ChildProc ChildProc XmNgeometry XmCGeometry String NULL CSG XmNoverride- XmCOverride- Boolean False CSG Redirect Redirect 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 XmNancestor- XmCSensitive Boolean dynamic G Sensitive XmNbackground XmCBackground Pixel dynamic CSG XmNbackground- XmCPixmap Pixmap XmUNSPEC- CSG Pixmap IFIED_PIXMAP XmNborderColor XmCBorderColor Pixel XtDefault- CSG Foreground XmNborderPixmap XmCPixmap Pixmap XmUNSPEC- CSG IFIED_PIXMAP XmNborderWidth XmCBorderWidth Dimension 1 CSG XmNcolormap XmCColormap Colormap dynamic CG XmNdepth XmCDepth int dynamic CG XmNdestroyCallback XmCCallback XtCallbackList NULL C XmNheight XmCHeight Dimension dynamic CSG XmNinitial- XmCInitial- Boolean True C ResourcesPersistent ResourcesPersistent XmNmapped- XmCMapped- Boolean True CSG WhenManaged WhenManaged 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. See also Composite(Xm), Core(Xm), Shell(Xm), WMShell(Xm) and VendorShell(Xm).