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, DialogBoxes 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

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).

In addition to these new resources, TransientShell overrides the XmNsaveUnder resource in Shell and the XmNtransient resource in WMShell.

TransientShell Resource Set
Name Class Type Default Access
_ _ _ _ _
XmNtransientFor XmCTransientFor Widget NULL
CSG _ _ _ _
_
XmNtransientFor

Specifies a widget that the shell acts as a pop-up for. If this resource is NULL or is a widget that has not been realized, the XmNwindowGroup is used instead.

Inherited Resources

TransientShell inherits behavior and resources from the superclasses described in the following tables, which define sets of widget resources used by the programmer to specify data. For a complete description of each resource, refer to the reference page for that superclass.

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).

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 True
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
True 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 TransientShell.

RELATED