XmDialogShell(3X) UNIX System V XmDialogShell(3X)
NAME
XmDialogShell - the DialogShell widget class.
SYNOPSIS
#include <Xm/DialogS.h>
DESCRIPTION
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 via 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 child sets that resource to the same value in both the parent and
the child. An application should always specify these resources for the
child, not the parent.
For a child of a DialogShell, setting XmNx or XmNy sets the corresponding
resource of the parent but does not change the child's position relative
to the parent. XtGetValues 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 zero minus the value of XmNborderWidth.
Note that the Inter-Client Communication Conventions Manual allows a
window manager to change or control the border width of a reparented
top-level window.
Classes
DialogShell inherits behavior and resources from Core, Composite, Shell,
WMShell, VendorShell, and TransientShell classes.
The class pointer is xmDialogShellWidgetClass.
The class name is XmDialogShell.
New Resources
DialogShell defines no new resources but overrides the XmNdeleteResponse
resource in the VendorShell class.
10/89 Page 1
XmDialogShell(3X) UNIX System V XmDialogShell(3X)
Inherited Resources
DialogShell inherits behavior and resources from the following
superclasses. For a complete description of each resource, 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 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 |
|________________|_________________|________|_________|________|
_______________________________________________________________________________________
| VendorShell Resource Set |
|______________________|________________________|_______________|____________|________|
|Name | Class | Type | Default | Access|
|______________________|________________________|_______________|____________|________|
|______________________|________________________|_______________|____________|________|
|XmNdefaultFontList | XmCDefaultFontList | XmFontList | dynamic | C |
|______________________|________________________|_______________|____________|________|
|XmNdeleteResponse | XmCDeleteResponse | unsigned char| XmUNMAP | 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
XmDialogShell(3X) UNIX System V XmDialogShell(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 True CSG
________________________________________________________________________________
XmNwaitForWm XmCWaitForWm Boolean True CSG
________________________________________________________________________________
XmNwidthInc XmCWidthInc int XtUnspecifiedShellInt CSG
________________________________________________________________________________
10/89 Page 3
XmDialogShell(3X) UNIX System V XmDialogShell(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 | True | 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
XmDialogShell(3X) UNIX System V XmDialogShell(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 XmDialogShell.
RELATED INFORMATION
Composite(3X), Core(3X), Shell(3X), TransientShell(3X), WMShell(3X),
VendorShell(3X), and XmCreateDialogShell(3X).
10/89 Page 5