'\" t ...\" DialogSh.sgm /main/10 1996/09/25 15:29:11 cdedoc $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmDialogShell" "library call" .SH "NAME" \fBXmDialogShell\fP \(em The DialogShell widget class .iX "XmDialogShell" .iX "widget class" "DialogShell" .SH "SYNOPSIS" .PP .nf #include .fi .SH "DESCRIPTION" .PP 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\&. .PP 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\&. .PP Setting \fBXmNheight\fP, \fBXmNwidth\fP, or \fBXmNborderWidth\fP 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 \fBXmNheight\fP or \fBXmNwidth\fP for the shell does not necessarily set that resource to the same value in the managed child, and setting \fBXmNheight\fP or \fBXmNwidth\fP for the child does not necessarily set that resource to the same value in the shell\&. .PP For the managed child of a DialogShell, regardless of the value of the shell\&'s \fBXmNallowShellResize\fP resource, setting \fBXmNx\fP or \fBXmNy\fP sets the corresponding resource of the parent but does not change the child\&'s position relative to the parent\&. The \fBXtGetValues\fP resource for the child\&'s \fBXmNx\fP or \fBXmNy\fP 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 \fBXmNborderWidth\fP\&. .PP Note that the \fIInter-Client Communication Conventions Manual\fP (ICCCM) allows a window manager to change or control the border width of a reparented top-level window\&. .PP DialogShell uses the \fBXmQTdialogShellSavvy\fP trait\&. .SS "Classes" .PP DialogShell inherits behavior, resources, and traits from the \fBCore\fP, \fBComposite\fP, \fBShell\fP, \fBWMShell\fP, \fBVendorShell\fP, and \fBTransientShell\fP classes\&. .PP The class pointer is \fBxmDialogShellWidgetClass\fP\&. .PP The class name is \fBXmDialogShell\fP\&. .SS "New Resources" .PP DialogShell defines no new resources but overrides the \fBXmNdeleteResponse\fP resource in the \fBVendorShell\fP class\&. .SS "Inherited Resources" .PP 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\&. .PP 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 \fB\&.Xdefaults\fP file, remove the \fBXmN\fP or \fBXmC\fP prefix and use the remaining letters\&. To specify one of the defined values for a resource in a \fB\&.Xdefaults\fP file, remove the \fBXm\fP 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 \fBXtSetValues\fP (S), retrieved by using \fBXtGetValues\fP (G), or is not applicable (N/A)\&. .PP .TS tab() box; c s s s s l| l| l| l| l. \fBTransientShell Resource Set\fP \fBName\fP\fBClass\fP\fBType\fP\fBDefault\fP\fBAccess\fP _____ XmNtransientForXmCTransientForWidgetNULLCSG _____ .TE .PP .TS tab() box; c s s s s l| l| l| l| l. \fBVendorShell Resource Set\fP \fBName\fP\fBClass\fP\fBType\fP\fBDefault\fP\fBAccess\fP _____ XmNaudibleWarningXmCAudibleWarningunsigned charXmBELLCSG _____ XmNbuttonFontListXmCButtonFontListXmFontListdynamicCSG _____ XmNbuttonRenderTableXmCButtonRenderTableXmRenderTabledynamicCSG _____ XmNdefaultFontListXmCDefaultFontListXmFontListdynamicCG _____ XmNdeleteResponseXmCDeleteResponseunsigned charXmUNMAPCSG _____ XmNinputMethodXmCInputMethodStringNULLCSG _____ XmNinputPolicyXmCInputPolicyXmInputPolicyXmPER_SHELLCSG _____ XmNkeyboardFocusPolicyXmCKeyboardFocusPolicyunsigned charXmEXPLICITCSG _____ XmNlabelFontListXmCLabelFontListXmFontListdynamicCSG _____ XmNlabelRenderTableXmCLabelRenderTabelXmRenderTabledynamicCSG _____ XmNlayoutDirectionXmCLayoutDirectionXmDirectionXmLEFT_TO_RIGHTCG _____ XmNmwmDecorationsXmCMwmDecorationsint-1CG _____ XmNmwmFunctionsXmCMwmFunctionsint-1CG _____ XmNmwmInputModeXmCMwmInputModeint-1CG _____ XmNmwmMenuXmCMwmMenuStringNULLCG _____ XmNpreeditTypeXmCPreeditTypeStringdynamicCSG _____ XmNshellUnitTypeXmCShellUnitTypeunsigned charXmPIXELSCSG _____ XmNtextFontListXmCTextFontListXmFontListdynamicCSG _____ XmNtextRenderTableXmCTextRenderTableXmRenderTabledynamicCSG _____ XmNunitTypeXmCUnitTypeunsigned charXmPIXELSCSG _____ XmNuseAsyncGeometryXmCUseAsyncGeometryBooleanFalseCSG _____ .TE .PP .TS tab() box; c s s s s l| l| l| l| l. \fBWMShell Resource Set\fP \fBName\fP\fBClass\fP\fBType\fP\fBDefault\fP\fBAccess\fP _____ XmNbaseHeightXmCBaseHeightintXtUnspecifiedShellIntCSG _____ XmNbaseWidthXmCBaseWidthintXtUnspecifiedShellIntCSG _____ XmNheightIncXmCHeightIncintXtUnspecifiedShellIntCSG _____ XmNiconMaskXmCIconMaskPixmapNULLCSG _____ XmNiconPixmapXmCIconPixmapPixmapNULLCSG _____ XmNiconWindowXmCIconWindowWindowNULLCSG _____ XmNiconXXmCIconXintXtUnspecifiedShellIntCSG _____ XmNiconYXmCIconYintXtUnspecifiedShellIntCSG _____ XmNinitialStateXmCInitialStateintNormalStateCSG _____ XmNinputXmCInputBooleanTrueCSG _____ XmNmaxAspectXXmCMaxAspectXintXtUnspecifiedShellIntCSG _____ XmNmaxAspectYXmCMaxAspectYintXtUnspecifiedShellIntCSG _____ XmNmaxHeightXmCMaxHeightintXtUnspecifiedShellIntCSG _____ XmNmaxWidthXmCMaxWidthintXtUnspecifiedShellIntCSG _____ XmNminAspectXXmCMinAspectXintXtUnspecifiedShellIntCSG _____ XmNminAspectYXmCMinAspectYintXtUnspecifiedShellIntCSG _____ XmNminHeightXmCMinHeightintXtUnspecifiedShellIntCSG _____ XmNminWidthXmCMinWidthintXtUnspecifiedShellIntCSG _____ XmNtitleXmCTitleStringdynamicCSG _____ XmNtitleEncodingXmCTitleEncodingAtomdynamicCSG _____ XmNtransientXmCTransientBooleanTrueCSG _____ XmNwaitForWmXmCWaitForWmBooleanTrueCSG _____ XmNwidthIncXmCWidthIncintXtUnspecifiedShellIntCSG _____ XmNwindowGroupXmCWindowGroupWindowdynamicCSG _____ XmNwinGravityXmCWinGravityintdynamicCSG _____ XmNwmTimeoutXmCWmTimeoutint5000 msCSG _____ .TE .PP .RS \fBNote: .PP If values for \fBXmNminWidth\fP and \fBXmNminHeight\fP are present, and values for \fBXmNbaseWidth\fP and \fBXmNbaseHeight\fP are absent, \fBXmNminWidth\fP and \fBXmNminHeight\fP will be used as default values for \fBXmNbaseWidth\fP and \fBXmNbaseHeight\fP, 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 \fBXmNbaseWidth\fP and \fBXmNbaseHeight\fP to zero\&. .RE .PP .TS tab() box; c s s s s l| l| l| l| l. \fBShell Resource Set\fP \fBName\fP\fBClass\fP\fBType\fP\fBDefault\fP\fBAccess\fP _____ XmNallowShellResizeXmCAllowShellResizeBooleanFalseCG _____ XmNcreatePopupChildProcXmCCreatePopupChildProcXtCreatePopupChildProcNULLCSG _____ XmNgeometryXmCGeometryStringNULLCSG _____ XmNoverrideRedirectXmCOverrideRedirectBooleanFalseCSG _____ XmNpopdownCallbackXmCCallbackXtCallbackListNULLC _____ XmNpopupCallbackXmCCallbackXtCallbackListNULLC _____ XmNsaveUnderXmCSaveUnderBooleanTrueCSG _____ XmNvisualXmCVisualVisual *CopyFromParentCSG _____ .TE .PP .TS tab() box; c s s s s l| l| l| l| l. \fBComposite Resource Set\fP \fBName\fP\fBClass\fP\fBType\fP\fBDefault\fP\fBAccess\fP _____ XmNchildrenXmCReadOnlyWidgetListNULLG _____ XmNinsertPositionXmCInsertPositionXtOrderProcNULLCSG _____ XmNnumChildrenXmCReadOnlyCardinal0G _____ .TE .PP .TS tab() box; c s s s s l| l| l| l| l. \fBCore Resource Set\fP \fBName\fP\fBClass\fP\fBType\fP\fBDefault\fP\fBAccess\fP _____ XmNacceleratorsXmCAcceleratorsXtAcceleratorsdynamicCSG _____ XmNancestorSensitiveXmCSensitiveBooleandynamicG _____ XmNbackgroundXmCBackgroundPixeldynamicCSG _____ XmNbackgroundPixmapXmCPixmapPixmapXmUNSPECIFIED_PIXMAPCSG _____ XmNborderColorXmCBorderColorPixelXtDefaultForegroundCSG _____ XmNborderPixmapXmCPixmapPixmapXmUNSPECIFIED_PIXMAPCSG _____ XmNborderWidthXmCBorderWidthDimension0CSG _____ XmNcolormapXmCColormapColormapdynamicCG _____ XmNdepthXmCDepthintdynamicCG _____ XmNdestroyCallbackXmCCallbackXtCallbackListNULLC _____ XmNheightXmCHeightDimensiondynamicCSG _____ XmNinitialResourcesPersistentXmCInitialResourcesPersistentBooleanTrueC _____ XmNmappedWhenManagedXmCMappedWhenManagedBooleanTrueCSG _____ XmNscreenXmCScreenScreen *dynamicCG _____ XmNsensitiveXmCSensitiveBooleanTrueCSG _____ XmNtranslationsXmCTranslationsXtTranslationsdynamicCSG _____ XmNwidthXmCWidthDimensiondynamicCSG _____ XmNxXmCPositionPosition0CSG _____ XmNyXmCPositionPosition0CSG _____ .TE .SS "Translations" .PP There are no translations for XmDialogShell\&. .SH "RELATED" .PP \fBComposite\fP(3), \fBCore\fP(3), \fBShell\fP(3), \fBTransientShell\fP(3), \fBWMShell\fP(3), \fBVendorShell\fP(3), and \fBXmCreateDialogShell\fP(3)\&. ...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:22