1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409
|
'\" t
...\" WMShell.sgm /main/10 1996/09/08 21:43:23 rws $
.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 "WMShell" "library call"
.SH "NAME"
\fBWMShell\fP \(em The WMShell widget class
.iX "WMShell"
.iX "widget class" "WMShell"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
#include <X11/Shell\&.h>
.fi
.SH "DESCRIPTION"
.PP
WMShell is a top-level widget that encapsulates the interaction with the
window manager\&.
.SS "Classes"
.PP
WMShell inherits behavior and resources from the \fBCore\fP, \fBComposite\fP,
and \fBShell\fP classes\&.
.PP
The class pointer is \fBwmShellWidgetClass\fP\&.
.PP
The class name is \fBWMShell\fP\&.
.SS "New Resources"
.PP
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 \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.
\fBWMShell Resource Set\fP
\fBName\fP\fBClass\fP\fBType\fP\fBDefault\fP\fBAccess\fP
_____
XmNbaseHeightXmCBaseHeightintXtUnspecifiedShellIntCSG
_____
XmNbaseWidthXmCBaseWidthintXtUnspecifiedShellIntCSG
_____
XmNheightIncXmCHeightIncintXtUnspecifiedShellIntCSG
_____
XmNiconMaskXmCIconMaskPixmapNULLCSG
_____
XmNiconPixmapXmCIconPixmapPixmapNULLCSG
_____
XmNiconWindowXmCIconWindowWindowNULLCSG
_____
XmNiconXXmCIconXintXtUnspecifiedShellIntCSG
_____
XmNiconYXmCIconYintXtUnspecifiedShellIntCSG
_____
XmNinitialStateXmCInitialStateintNormalStateCSG
_____
XmNinputXmCInputBooleanFalseCSG
_____
XmNmaxAspectXXmCMaxAspectXintXtUnspecifiedShellIntCSG
_____
XmNmaxAspectYXmCMaxAspectYintXtUnspecifiedShellIntCSG
_____
XmNmaxHeightXmCMaxHeightintXtUnspecifiedShellIntCSG
_____
XmNmaxWidthXmCMaxWidthintXtUnspecifiedShellIntCSG
_____
XmNminAspectXXmCMinAspectXintXtUnspecifiedShellIntCSG
_____
XmNminAspectYXmCMinAspectYintXtUnspecifiedShellIntCSG
_____
XmNminHeightXmCMinHeightintXtUnspecifiedShellIntCSG
_____
XmNminWidthXmCMinWidthintXtUnspecifiedShellIntCSG
_____
XmNtitleXmCTitleStringdynamicCSG
_____
XmNtitleEncodingXmCTitleEncodingAtomdynamicCSG
_____
XmNtransientXmCTransientBooleanFalseCSG
_____
XmNwaitForWmXmCWaitForWmBooleanTrueCSG
_____
XmNwidthIncXmCWidthIncintXtUnspecifiedShellIntCSG
_____
XmNwindowGroupXmCWindowGroupWindowdynamicCSG
_____
XmNwinGravityXmCWinGravityintdynamicCSG
_____
XmNwmTimeoutXmCWmTimeoutint5000 msCSG
_____
.TE
.IP "\fBXmNbaseHeight\fP" 10
Specifies the base for a progression of preferred heights for the
window manager to use in sizing the widget\&.
The preferred heights are \fBXmNbaseHeight\fP plus integral multiples of
\fBXmNheightInc\fP, with a minimum of \fBXmNminHeight\fP and a maximum
of \fBXmNmaxHeight\fP\&.
If an initial value is not supplied for \fBXmNbaseHeight\fP but is
supplied for \fBXmNbaseWidth\fP, the value of \fBXmNbaseHeight\fP
is set to 0 (zero) when the widget is realized\&.
.IP "\fBXmNbaseWidth\fP" 10
Specifies the base for a progression of preferred widths for the
window manager to use in sizing the widget\&.
The preferred widths are \fBXmNbaseWidth\fP plus integral multiples of
\fBXmNwidthInc\fP, with a minimum of \fBXmNminWidth\fP and a maximum of
\fBXmNmaxWidth\fP\&.
If an initial value is not supplied for \fBXmNbaseWidth\fP but is
supplied for \fBXmNbaseHeight\fP, the value of \fBXmNbaseWidth\fP
is set to 0 (zero) when the widget is realized\&.
.IP "\fBXmNheightInc\fP" 10
Specifies the increment for a progression of preferred heights for the
window manager to use in sizing the widget\&.
The preferred heights are \fBXmNbaseHeight\fP plus integral multiples of
\fBXmNheightInc\fP, with a minimum of \fBXmNminHeight\fP and a maximum
of \fBXmNmaxHeight\fP\&.
If an initial value is not supplied for \fBXmNheightInc\fP but is
supplied for \fBXmNwidthInc\fP, the value of \fBXmNheightInc\fP
is set to 1 when the widget is realized\&.
.IP "\fBXmNiconMask\fP" 10
Specifies a bitmap that could be used by the window manager to clip the
\fBXmNiconPixmap\fP bitmap to make the icon nonrectangular\&.
.IP "\fBXmNiconPixmap\fP" 10
Specifies a bitmap that could be used by the window manager as the
application\&'s icon\&.
.IP "\fBXmNiconWindow\fP" 10
Specifies the ID of a window that could be used by the window manager
as the application\&'s icon\&.
.IP "\fBXmNiconX\fP" 10
Specifies a suitable place to put the application\&'s icon; this is a hint
to the window manager in root window coordinates\&. Because the window manager
controls icon placement policy, this resource may be ignored\&.
.IP "\fBXmNiconY\fP" 10
Specifies a suitable place to put the application\&'s icon; this is a hint
to the window manager in root window coordinates\&.
Because the window manager
controls icon placement policy, this resource may be ignored\&.
.IP "\fBXmNinitialState\fP" 10
Specifies the state the application wants the widget instance to
start in\&.
It must be one of the constants \fBNormalState\fP or \fBIconicState\fP\&.
.IP "\fBXmNinput\fP" 10
Specifies the application\&'s input model for this widget and its
descendants\&.
The meaning of a True or False value for this resource depends on the
presence or absence of a WM_TAKE_FOCUS atom in the
WM_PROTOCOLS property:
.TS
tab() box;
l| l| l.
\fBInput Model\fP\fBXmNinput\fP\fBWM_TAKE_FOCUS\fP
___
No inputFalseAbsent
___
PassiveTrueAbsent
___
Locally activeTruePresent
___
Globally activeFalsePresent
___
.TE
.IP "" 10
For more information on input models, see the X Consortium Standard
\fIInter-Client Communication Conventions Manual\fP (ICCCM)\&.
.IP "\fBXmNmaxAspectX\fP" 10
Specifies the numerator of the maximum aspect ratio (X/Y) that the
application wants the widget instance to have\&.
.IP "\fBXmNmaxAspectY\fP" 10
Specifies the denominator of the maximum aspect ratio (X/Y) that the
application wants the widget instance to have\&.
.IP "\fBXmNmaxHeight\fP" 10
Specifies the maximum height that the application wants the widget
instance to have\&.
.IP "\fBXmNmaxWidth\fP" 10
Specifies the maximum width that the application wants the widget
instance to have\&.
.IP "\fBXmNminAspectX\fP" 10
Specifies the numerator of the minimum aspect ratio (X/Y) that the
application wants the widget instance to have\&.
.IP "\fBXmNminAspectY\fP" 10
Specifies the denominator of the minimum aspect ratio (X/Y) that the
application wants the widget instance to have\&.
.IP "\fBXmNminHeight\fP" 10
Specifies the minimum height that the application wants the widget
instance to have\&.
.IP "\fBXmNminWidth\fP" 10
Specifies the minimum width that the application wants the widget
instance to have\&.
.IP "\fBXmNtitle\fP" 10
Specifies the application name to be displayed by the window manager\&.
The default is the icon name, if specified; otherwise, it is the name of the
application\&.
When \fBXtGetValues\fP is called on this resource, the returned value
is a pointer to the actual resource value and
should not be freed\&.
.IP "\fBXmNtitleEncoding\fP" 10
Specifies a property type that represents the encoding of the
\fBXmNtitle\fP string\&.
If a language procedure has been set, the default is None; otherwise,
the default is \fBXA_STRING\fP\&. When the widget is realized, if the value
is None, the corresponding name is assumed to be in the current locale\&.
The name is passed to \fBXmbTextListToTextProperty\fP with an encoding
style of \fBXStdICCTextStyle\fP\&. The resulting encoding is \fBSTRING\fP
if the name is fully convertible to \fBSTRING\fP; otherwise it is
\fBCOMPOUND_TEXT\fP\&.
The values of the encoding resources are not changed; they remain None\&.
.IP "\fBXmNtransient\fP" 10
Specifies a Boolean value that is True if the widget instance is
transient, typically a popup on behalf of another widget\&.
The window manager may treat a transient widget\&'s window differently
from other windows\&.
For example, a window manager may
not iconify a transient window
separately from its associated application\&.
Applications and users should not normally alter this resource\&.
.IP "\fBXmNwaitForWm\fP" 10
When True, specifies that the Intrinsics waits the length of time given
by the \fBXmNwmTimeout\fP resource for the window manager to respond to
certain actions before assuming that there is no window manager present\&.
This resource is altered by the Intrinsics as it receives, or fails
to receive, responses from the window manager\&.
.IP "\fBXmNwidthInc\fP" 10
Specifies the base for a progression of preferred widths for the
window manager to use in sizing the widget\&.
The preferred widths are \fBXmNbaseWidth\fP plus integral multiples of
\fBXmNwidthInc\fP, with a minimum of \fBXmNminWidth\fP and a maximum of
\fBXmNmaxWidth\fP\&.
If an initial value is not supplied for \fBXmNwidthInc\fP but is
supplied for \fBXmNheightInc\fP, the value of \fBXmNwidthInc\fP
is set to 1 when the widget is realized\&.
.IP "\fBXmNwindowGroup\fP" 10
Specifies the ID of a window with which this widget instance is
associated\&.
By convention, this window is the "leader" of a group of windows\&.
A window manager may treat all windows in a group in some way; for
example, it may always move or iconify them together\&.
.IP "" 10
If no initial value is specified, the value is set to the window of the
first realized ancestor widget in the parent hierarchy when the widget
is realized\&.
If a value of \fBXtUnspecifiedWindowGroup\fP is specified, no window
group is set\&.
.IP "\fBXmNwinGravity\fP" 10
Specifies the window gravity for use by the window manager in
positioning the widget\&.
If no initial value is specified, the value is set when the widget is
realized\&.
If \fBXmNgeometry\fP is not NULL, \fBXmNwinGravity\fP is set to the
window gravity returned by \fBXWMGeometry\fP\&.
Otherwise, \fBXmNwinGravity\fP is set to \fBNorthWestGravity\fP\&.
.IP "\fBXmNwmTimeout\fP" 10
Specifies the length of time that the Intrinsics waits for the window
manager to respond to certain actions before assuming that there is no
window manager present\&.
The value is in milliseconds and must not be negative\&.
.SS "Inherited Resources"
.PP
WMShell inherits behavior and resources from the
superclasses described in the following tables\&.
For a complete description of each resource, refer to the
reference page for that superclass\&.
.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
_____
XmNsaveUnderXmCSaveUnderBooleanFalseCSG
_____
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 WMShell\&.
.SH "RELATED"
.PP
\fBComposite\fP(3), \fBCore\fP(3), and \fBShell\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:16
|