TopLevelShell(3X) UNIX System V TopLevelShell(3X)
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 |
|____________________|_____________________|_________|___________|________|
| Name | Class | Type | Default | Access|
|____________________|_____________________|_________|___________|________|
|____________________|_____________________|_________|___________|________|
| XmNiconic | XmCIconic | Boolean| False | CSG |
|____________________|_____________________|_________|___________|________|
| XmNiconName | XmCIconName | String | NULL | CSG |
|____________________|_____________________|_________|___________|________|
| XmNiconNameEncoding| XmCIconNameEncoding| Atom | XA_STRING| CSG |
|____________________|_____________________|_________|___________|________|
XmNiconic
Specifies 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
10/89 Page 1
TopLevelShell(3X) UNIX System V TopLevelShell(3X)
XmNinitialState resource. This resource is examined by the
Intrinsics only during a call to XtRealize; it is ignored at all
other times.
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.
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 |
|______________________|________________________|_______________|____________|________|
|Name | Class | Type | Default | Access|
|______________________|________________________|_______________|____________|________|
|______________________|________________________|_______________|____________|________|
|XmNdefaultFontList | XmCDefaultFontList | XmFontList | dynamic | C |
|______________________|________________________|_______________|____________|________|
|XmNdeleteResponse | XmCDeleteResponse | unsigned char| XmDESTROY | CSG |
|______________________|________________________|_______________|____________|________|
|XmNkeyboardFocusPolicy| XmCKeyboardFocusPolicy| unsigned char| XmEXPLICIT| CSG |
|______________________|________________________|_______________|____________|________|
|XmNmwmDecorations | XmCMwmDecorations | int | -1 | CSG |
|______________________|________________________|_______________|____________|________|
|XmNmwmFunctions | XmCMwmFunctions | int | -1 | CSG |
|______________________|________________________|_______________|____________|________|
|XmNmwmInputMode | XmCMwmInputMode | int | -1 | CSG |
|______________________|________________________|_______________|____________|________|
|XmNmwmMenu | XmCMwmMenu | String | NULL | CSG |
|______________________|________________________|_______________|____________|________|
|XmNshellUnitType | XmCShellUnitType | unsigned char| XmPIXELS | CSG |
|______________________|________________________|_______________|____________|________|
|XmNuseAsyncGeometry | XmCUseAsyncGeometry | Boolean | False | CSG |
|______________________|________________________|_______________|____________|________|
Page 2 10/89
TopLevelShell(3X) UNIX System V TopLevelShell(3X)
________________________________________________________________________________
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 -1 CSG
________________________________________________________________________________
XmNiconY XmCIconY int -1 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 XA_STRING CSG
________________________________________________________________________________
XmNtransient XmCTransient Boolean False CSG
________________________________________________________________________________
XmNwaitForWm XmCWaitForWm Boolean True CSG
________________________________________________________________________________
XmNwidthInc XmCWidthInc int XtUnspecifiedShellInt CSG
________________________________________________________________________________
10/89 Page 3
TopLevelShell(3X) UNIX System V TopLevelShell(3X)
| 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| (*)() | 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| (*)() | NULL | CSG |
|__________________|___________________|____________|_________|________|
| XmNnumChildren | XmCReadOnly | Cardinal | 0 | G |
|__________________|___________________|____________|_________|________|
Page 4 10/89
TopLevelShell(3X) UNIX System V TopLevelShell(3X)
________________________________________________________________________________________________________________
| 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 | 1 | 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.
RELATED INFORMATION
Composite(3X), Core(3X), Shell(3X), WMShell(3X), and VendorShell(3X).
10/89 Page 5