TransientShell(3Xm) — UNIX Programmer’s Manual
NAME
TransientShell — the TransientShell widget class.
SYNOPSIS
#include <Xm/Xm.h>
#include <X11/Shell.h>
DESCRIPTION
TransientShell is used for shell windows that can be manipulated by the window manager but are not allowed to be iconified separately. For example, Dialog boxes make no sense without their associated application. They are iconified by the window manager only if the main application shell is iconified.
Classes
TransientShell inherits behavior and resources from Core, Composite, Shell, WMShell, and VendorShell.
The class pointer is transientShellWidgetClass.
The class name is TransientShell.
New Resources
TransientShell defines no new resources, but overrides the XmNsaveUnder resource in Shell and the XmNtransient resource in WMShell.
Inherited Resources
TransientShell inherits behavior and resources from the following superclasses. For a complete description of these resources, refer to the man page for that superclass.
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 lower case or upper case, 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).
| VendorShell Resource Set | ||||
| Name | Class | Type | Default | Access |
| 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 |
| WMShell Resource Set | ||||
| Name | Class | Type | Default | Access |
| XmNheightInc | XmCHeightInc | int | -1 | 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 | 1 | CSG |
| XmNinput | XmCInput | Boolean | True | CSG |
| XmNmaxAspectX | XmCMaxAspectX | int | -1 | CSG |
| XmNmaxAspectY | XmCMaxAspectY | int | -1 | CSG |
| XmNmaxHeight | XmCMaxHeight | int | -1 | CSG |
| XmNmaxWidth | XmCMaxWidth | int | -1 | CSG |
| XmNminAspectX | XmCMinAspectX | int | -1 | CSG |
| XmNminAspectY | XmCMinAspectY | int | -1 | CSG |
| XmNminHeight | XmCMinHeight | int | -1 | CSG |
| XmNminWidth | XmCMinWidth | int | -1 | CSG |
| XmNtitle | XmCTitle | char ∗ | NULL | CSG |
| XmNtransient | XmCTransient | Boolean | False | CSG |
| XmNwaitForWm | XmCWaitForWm | Boolean | True | CSG |
| XmNwidthInc | XmCWidthInc | int | -1 | CSG |
| XmNwindowGroup | XmCWindowGroup | XID | None | CSG |
| XmNwmTimeout | XmCWmTimeout | int | fivesecond | CSG |
| Shell Resource Set | ||||
| Name | Class | Type | Default | Access |
| XmNallowShellResize | XmCAllowShellResize | Boolean | False | CSG |
| XmNcreatePopupChildProc | XmCCreatePopupChildProc | XmCreatePopupChildProc | 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 |
| Composite Resource Set | ||||
| Name | Class | Type | Default | Access |
| XmNinsertPosition | XmCInsertPosition | XmRFunction | NULL | CSG |
| Core Resource Set | ||||
| Name | Class | Type | Default | Access |
| XmNaccelerators | XmCAccelerators | XtTranslations | NULL | CSG |
| XmNancestorSensitive | XmCSensitive | Boolean | ShellAncestorSensitive | G |
| XmNbackground | XmCBackground | Pixel | White | CSG |
| XmNbackgroundPixmap | XmCPixmap | Pixmap | XmUNSPECIFIED_PIXMAP | CSG |
| XmNborderColor | XmCBorderColor | Pixel | Black | CSG |
| XmNborderPixmap | XmCPixmap | Pixmap | XmUNSPECIFIED_PIXMAP | CSG |
| XmNborderWidth | XmCBorderWidth | Dimension | 1 | CSG |
| XmNcolormap | XmCColormap | Colormap | ShellColormap | CG |
| XmNdepth | XmCDepth | int | ShellDepth | CG |
| XmNdestroyCallback | XmCCallback | XtCallbackList | NULL | C |
| XmNheight | XmCHeight | Dimension | 0 | CSG |
| XmNmappedWhenManaged | XmCMappedWhenManaged | Boolean | True | CSG |
| XmNscreen | XmCScreen | Pointer | XtCopyScreen | CG |
| XmNsensitive | XmCSensitive | Boolean | True | CSG |
| XmNtranslations | XmCTranslations | XtTranslations | NULL | CSG |
| XmNwidth | XmCWidth | Dimension | 0 | CSG |
| XmNx | XmCPosition | Position | 0 | CSG |
| XmNy | XmCPosition | Position | 0 | CSG |
RELATED INFORMATION
Composite(3Xm), Core(3Xm), Shell(3Xm), VendorShell(3Xm), and WMShell(3Xm).
7th Edition