Scroll to navigation

XmDialogShell(3) Library Functions Manual XmDialogShell(3)

NAME

XmDialogShell — The DialogShell widget class "XmDialogShell" "widget class" "DialogShell"

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

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.

New Resources

DialogShell defines no new resources but overrides the XmNdeleteResponse resource in the VendorShell class.

Inherited Resources

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
_ _ _ _ _
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
_ _ _ _ _
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
_ _ _ _ _
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
_ _ _ _ _
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 XmDialogShell.

RELATED

Composite(3), Core(3), Shell(3), TransientShell(3), WMShell(3), VendorShell(3), and XmCreateDialogShell(3).