XmDialogShell(library call) XmDialogShell(library call)
NAME [Toc] [Back]
XmDialogShell - The DialogShell widget class
SYNOPSIS [Toc] [Back]
#include <Xm/DialogS.h>
DESCRIPTION [Toc] [Back]
Modal and modeless dialogs use DialogShell as the Shell parent.
DialogShell widgets cannot be iconified. Instead, all secondary
DialogShell widgets associated with an ApplicationShell widget are
iconified and de-iconified as a group with the primary widget.
The client indirectly manipulates DialogShell through the convenience
interfaces during creation, and it can directly manipulate its
BulletinBoard-derived child. Much of the functionality of DialogShell
assumes that its child is a BulletinBoard subclass, although it can
potentially stand alone.
Setting XmNheight, XmNwidth, or XmNborderWidth for either a
DialogShell or its managed child usually sets that resource to the
same value in both the parent and the child. When an off-the-spot
input method exists, the height and width of the shell may be greater
than those of the managed child in order to accommodate the input
method. In this case, setting XmNheight or XmNwidth for the shell
does not necessarily set that resource to the same value in the
managed child, and setting XmNheight or XmNwidth for the child does
not necessarily set that resource to the same value in the shell.
For the managed child of a DialogShell, regardless of the value of the
shell's XmNallowShellResize resource, setting XmNx or XmNy sets the
corresponding resource of the parent but does not change the child's
position relative to the parent. The XtGetValues resource for the
child's XmNx or XmNy yields the value of the corresponding resource in
the parent. The x and y-coordinates of the child's upper left outside
corner relative to the parent's upper left inside corner are both 0
(zero) minus the value of XmNborderWidth.
Note that the Inter-Client Communication Conventions Manual (ICCCM)
allows a window manager to change or control the border width of a
reparented top-level window.
DialogShell uses the XmQTdialogShellSavvy trait.
Classes [Toc] [Back]
DialogShell inherits behavior, resources, and traits from the Core,
Composite, Shell, WMShell, VendorShell, and TransientShell classes.
The class pointer is xmDialogShellWidgetClass.
The class name is XmDialogShell.
- 1 - Formatted: January 24, 2005
XmDialogShell(library call) XmDialogShell(library call)
New Resources [Toc] [Back]
DialogShell defines no new resources but overrides the
XmNdeleteResponse resource in the VendorShell class.
Inherited Resources [Toc] [Back]
DialogShell 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).
_______________________________________________________________
| TransientShell Resource Set |
|Name Class Type Default Access |
|________________|_________________|________|_________|________|
|XmNtransientFor | XmCTransientFor | Widget | NULL | CSG |
|________________|_________________|________|_________|________|
|________________|_________________|________|_________|________|
- 2 - Formatted: January 24, 2005
XmDialogShell(library call) XmDialogShell(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 | XmUNMAP | 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
XmDialogShell(library call) XmDialogShell(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 True CSG
________________________________________________________________________________
XmNwaitForWm XmCWaitForWm Boolean True CSG
________________________________________________________________________________
XmNwidthInc XmCWidthInc int XtUnspecifiedShellInt CSG
________________________________________________________________________________
XmNwindowGroup XmCWindowGroup Window dynamic CSG
- 4 - Formatted: January 24, 2005
XmDialogShell(library call) XmDialogShell(library call)
________________________________________________________________________________
|XmNwinGravity XmCWinGravity int dynamic CSG |
|_______________________________________________________________________________|
|XmNwmTimeout | XmCWmTimeout | int | 5000 ms | CSG |
|_________________|__________________|_________|_______________________|________|
|_________________|__________________|_________|_______________________|________|
Note:
If values for XmNminWidth and XmNminHeight are present, and
values for XmNbaseWidth and XmNbaseHeight are absent, XmNminWidth
and XmNminHeight will be used as default values for XmNbaseWidth
and XmNbaseHeight, and these values will be added to the shell
size specified by the user. To work around this, add arguments
during widget creation to explicitly set XmNbaseWidth and
XmNbaseHeight to zero.
______________________________________________________________________________________________________
| 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 |
|__________________|___________________|_____________|_________|________|
|__________________|___________________|_____________|_________|________|
- 5 - Formatted: January 24, 2005
XmDialogShell(library call) XmDialogShell(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 XmDialogShell.
RELATED [Toc] [Back]
Composite(3), Core(3), Shell(3), TransientShell(3), WMShell(3),
VendorShell(3), and XmCreateDialogShell(3).
- 6 - Formatted: January 24, 2005 [ Back ] |