TopLevelShell(library call) TopLevelShell(library call)
NAME [Toc] [Back]
TopLevelShell - The TopLevelShell widget class
SYNOPSIS [Toc] [Back]
#include <Xm/Xm.h>
#include <X11/Shell.h>
DESCRIPTION [Toc] [Back]
TopLevelShell is used for normal top-level windows such as any
additional top-level widgets an application needs.
Classes [Toc] [Back]
TopLevelShell inherits behavior and resources from Core, Composite,
Shell, WMShell, and VendorShell.
The class pointer is topLevelShellWidgetClass.
The class name is TopLevelShell.
New Resources [Toc] [Back]
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.
- 1 - Formatted: January 24, 2005
TopLevelShell(library call) TopLevelShell(library call)
XmNiconName [Toc] [Back]
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 [Toc] [Back]
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 [Toc] [Back]
TopLevelShell inherits behavior and resources from the following
superclasses. For a complete description of each resource, refer to
the reference page for that superclass.
- 2 - Formatted: January 24, 2005
TopLevelShell(library call) TopLevelShell(library call)
____________________________________________________________________________________________
| 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 |
|_______________________|________________________|_______________|_________________|________|
|_______________________|________________________|_______________|_________________|________|
- 3 - Formatted: January 24, 2005
TopLevelShell(library call) TopLevelShell(library call)
________________________________________________________________________________
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
- 4 - Formatted: January 24, 2005
TopLevelShell(library call) TopLevelShell(library call)
________________________________________________________________________________
|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 |
|__________________|___________________|_____________|_________|________|
|__________________|___________________|_____________|_________|________|
- 5 - Formatted: January 24, 2005
TopLevelShell(library call) TopLevelShell(library call)
________________________________________________________________________________________________________________
| 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 [Toc] [Back]
There are no translations for TopLevelShell.
RELATED [Toc] [Back]
Composite(3), Core(3), Shell(3), WMShell(3), and VendorShell(3).
- 6 - Formatted: January 24, 2005 [ Back ] |