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 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690
|
'\" t
...\" Manager.sgm /main/12 1996/09/08 20:53:42 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 "XmManager" "library call"
.SH "NAME"
\fBXmManager\fP \(em The Manager widget class
.iX "XmManager"
.iX "widget class" "Manager"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
.fi
.SH "DESCRIPTION"
.PP
Manager is a widget class used as a supporting superclass for other
widget classes\&. It supports the
visual resources, graphics contexts, and traversal resources necessary for the
graphics and traversal mechanisms\&.
.SS "Classes"
.PP
Manager inherits behavior and resources from \fBCore\fP,
\fBComposite\fP, and \fBConstraint\fP\&.
.PP
The class pointer is \fBxmManagerWidgetClass\fP\&.
.PP
The class name is \fBXmManager\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.
\fBXmManager Resource Set\fP
\fBName\fP\fBClass\fP\fBType\fP\fBDefault\fP\fBAccess\fP
_____
XmNbottomShadowColorXmCBottomShadowColorPixeldynamicCSG
_____
XmNbottomShadowPixmapXmCBottomShadowPixmapPixmapXmUNSPECIFIED_PIXMAPCSG
_____
XmNforegroundXmCForegroundPixeldynamicCSG
_____
XmNhelpCallbackXmCCallbackXtCallbackListNULLC
_____
XmNhighlightColorXmCHighlightColorPixeldynamicCSG
_____
XmNhighlightPixmapXmCHighlightPixmapPixmapdynamicCSG
_____
XmNinitialFocusXmCInitialFocusWidgetNULLCSG
_____
XmNlayoutDirectionXmCLayoutDirectionXmDirectiondynamicCG
_____
XmNnavigationTypeXmCNavigationTypeXmNavigationTypeXmTAB_GROUPCSG
_____
XmNpopupHandlerCallbackXmCCallbackXtCallbackListNULLC
_____
XmNshadowThicknessXmCShadowThicknessDimension0CSG
_____
XmNstringDirectionXmCStringDirectionXmStringDirectiondynamicCG
_____
XmNtopShadowColorXmCTopShadowColorPixeldynamicCSG
_____
XmNtopShadowPixmapXmCTopShadowPixmapPixmapdynamicCSG
_____
XmNtraversalOnXmCTraversalOnBooleanTrueCSG
_____
XmNunitTypeXmCUnitTypeunsigned chardynamicCSG
_____
XmNuserDataXmCUserDataXtPointerNULLCSG
_____
.TE
.IP "\fBXmNbottomShadowColor\fP" 10
Specifies the color to use to draw the bottom
and right sides of the border shadow\&.
This color is used if the \fBXmNbottomShadowPixmap\fP resource is NULL\&.
.IP "\fBXmNbottomShadowPixmap\fP" 10
Specifies the pixmap to use to draw the bottom and right sides of the border
shadow\&.
.IP "\fBXmNforeground\fP" 10
Specifies the foreground drawing color used by manager widgets\&.
.IP "\fBXmNhelpCallback\fP" 10
Specifies the list of callbacks that are called when the help key
sequence is pressed\&. The reason sent by this callback is \fBXmCR_HELP\fP\&.
.IP "\fBXmNhighlightColor\fP" 10
Specifies the color of the highlighting rectangle\&.
This color is used if the highlight pixmap resource is
\fBXmUNSPECIFIED_PIXMAP\fP\&.
.IP "\fBXmNhighlightPixmap\fP" 10
Specifies the pixmap used to draw the highlighting rectangle\&.
.IP "\fBXmNinitialFocus\fP" 10
Specifies the ID of a widget descendant of the manager\&.
The widget must meet these conditions:
.RS
.IP " \(bu" 6
The widget must be either a tab group or a non-tab-group widget that can
receive keyboard focus\&.
For the definition of a tab group, see the description of the Manager,
Primitive, and Gadget \fBXmNnavigationType\fP resources\&.
In general a widget can receive keyboard focus when it is a primitive, a
gadget, or a manager (such as a DrawingArea with no traversable
children) that acts as a primitive\&.
.IP " \(bu" 6
The widget must not be a descendant of a tab group that is itself a
descendant of the manager\&.
That is, the widget cannot be contained within a tab group that is
nested inside the manager\&.
.IP " \(bu" 6
The widget and its ancestors must have a value of True for their
\fBXmNtraversalOn\fP resources\&.
.RE
.IP "" 10
If the widget does not meet these conditions, \fBXmNinitialFocus\fP is
treated as if the value were NULL\&.
.IP "" 10
This resource is meaningful only when the nearest shell ancestor\&'s
\fBXmNkeyboardFocusPolicy\fP is \fBXmEXPLICIT\fP\&.
It is used to determine which widget receives focus in these situations:
.RS
.IP " \(bu" 6
When the manager is the child of a shell and the shell hierarchy
receives focus for the first time
.IP " \(bu" 6
When focus is inside the shell hierarchy, the manager is a composite tab
group, and the user traverses to the manager via the keyboard
.RE
.IP "" 10
Focus is then determined as follows:
.RS
.IP " \(bu" 6
If \fBXmNinitialFocus\fP is a traversable non-tab-group widget, that
widget receives focus\&.
.IP " \(bu" 6
If \fBXmNinitialFocus\fP is a traversable tab group, that tab group
receives focus\&.
If that tab group is a composite with descendant tab groups or
traversable non-tab-group widgets, these procedures are used recursively
to assign focus to a descendant of that tab group\&.
.IP " \(bu" 6
If \fBXmNinitialFocus\fP is NULL, the first traversable non-tab-group
widget that is not contained within a nested tab group receives focus\&.
.IP " \(bu" 6
If \fBXmNinitialFocus\fP is NULL and no traversable non-tab-group widget
exists, the first traversable tab group that is not contained within a
nested tab group receives focus\&.
If that tab group is a composite with descendant tab groups or
traversable non-tab-group widgets, these procedures are used recursively
to assign focus to a descendant of that tab group\&.
.RE
.IP "" 10
If a shell hierarchy regains focus after losing it, focus returns to the
widget that had the focus at the time it left the hierarchy\&.
.IP "" 10
The use of \fBXmNinitialFocus\fP is undefined if the manager is a
MenuBar, PulldownMenu, PopupMenu, or OptionMenu\&.
.IP "\fBXmNlayoutDirection\fP" 10
Specifies the direction in which components of the manager (including
strings) are laid out\&. The values are of type \fBXmDirection\fR\&. If
the widget\&'s parent is a manager or shell, the value is inherited from
the widget\&'s parent\&. Otherwise, it is inherited from the closest
ancestor vendor or menu shell\&. Refer to the \fBXmDirection\fP(3)
reference page for the possible direction values\&.
.IP "\fBXmNnavigationType\fP" 10
Determines whether the widget is a tab group\&.
.RS
.IP "\fBXmNONE\fP" 10
Indicates that the widget is not a tab group\&.
.IP "\fBXmTAB_GROUP\fP" 10
Indicates that the widget is a tab group, unless
the \fBXmNnavigationType\fP of another widget in the hierarchy is
\fBXmEXCLUSIVE_TAB_GROUP\fP\&.
.IP "\fBXmSTICKY_TAB_GROUP\fP" 10
Indicates that the widget is a tab group, even if
the \fBXmNnavigationType\fP of another widget in the hierarchy is
\fBXmEXCLUSIVE_TAB_GROUP\fP\&.
.IP "\fBXmEXCLUSIVE_TAB_GROUP\fP" 10
Indicates that the widget is a tab group and
that widgets in the hierarchy whose \fBXmNnavigationType\fP is
\fBXmTAB_GROUP\fP are not tab groups\&.
.IP "" 10
When a parent widget has an \fBXmNnavigationType\fP of
\fBXmEXCLUSIVE_TAB_GROUP\fP, traversal of non-tab-group widgets within
the group is based on the order of those widgets in their parent\&'s
\fBXmNchildren\fP list\&.
.IP "" 10
When the \fBXmNnavigationType\fP of any widget in a hierarchy is
\fBXmEXCLUSIVE_TAB_GROUP\fP, traversal of tab groups in the hierarchy
proceeds to widgets in the order in which their \fBXmNnavigationType\fP
resources were specified as \fBXmEXCLUSIVE_TAB_GROUP\fP or
\fBXmSTICKY_TAB_GROUP\fP, whether by creating the widgets with that value,
by calling \fBXtSetValues\fP, or by calling \fBXmAddTabGroup\fP\&.
.RE
.IP "\fBXmNpopupHandlerCallback\fP" 10
Allows the application to control which popup menu will be
automatically posted\&. The reason can either be \fBXmCR_POST\fP or
\fBXmCR_REPOST:\fP
.RS
.IP "\fBXmCR_POST\fP" 10
Indicates that this is a regular posting request\&.
.IP "\fBXmCR_REPOST\fP" 10
Indicates that the menu was just unposted and that this callback was
invoked on a replay\&.
.RE
.IP "" 10
This callback
uses the \fBXmPopupHandlerCallbackStruct\fR
structure to pass information\&.
.IP "\fBXmNshadowThickness\fP" 10
Specifies the thickness of the drawn border shadow\&.
\fBXmBulletinBoard\fP and its descendants set this value dynamically\&.
If the widget is a top-level window, this value is set to 1\&.
If it is not a top-level window, this value is set to 0 (zero)\&.
.IP "\fBXmNstringDirection\fP" 10
Is a synthetic resource for setting \fBXmNlayoutDirection\fP\&.
The values for this resource are \fBXmSTRING_DIRECTION_L_TO_R\fP and
\fBXmSTRING_DIRECTION_R_TO_L\fP\&. Refer to the
\fBXmNlayoutDirection\fP resource description\&. The
\fBXmNstringDirection\fP resource is obsoleted by
\fBXmNlayoutDirection\fP, but is kept here for backward compatibility\&.
.IP "\fBXmNtopShadowColor\fP" 10
Specifies the color to use to draw the top and
left sides of the border shadow\&.
This color is used if the \fBXmNtopShadowPixmap\fP resource is NULL\&.
.IP "\fBXmNtopShadowPixmap\fP" 10
Specifies the pixmap to use to draw the top and left sides of
the border shadow\&.
.IP "\fBXmNtraversalOn\fP" 10
Specifies whether traversal is activated for this widget\&.
.IP "\fBXmNunitType\fP" 10
Provides the basic support for resolution independence\&.
It defines the type of units a widget uses with sizing and
positioning resources\&.
If the widget\&'s parent is a subclass of \fBXmManager\fP and if the
\fBXmNunitType\fP resource is not explicitly set, it defaults to the
unit type of the parent widget\&.
If the widget\&'s parent is not a subclass of \fBXmManager\fP, the
resource has a default unit type of \fBXmPIXELS\fP\&.
.IP "" 10
The unit type can also be specified in resource files, with the
following format:
.PP
.nf
\f(CW\fI<floating value><unit>\fP\fR
.fi
.PP
.IP "" 10
where:
.RS
.IP "\fIunit\fP" 10
is <" ", pixels, inches, centimeters, millimeters, points, font units>
.IP "\fIpixels\fP" 10
is <\fIpix\fP, \fIpixel\fP, \fIpixels\fP>
.IP "\fIinches\fP" 10
is <\fIin\fP, \fIinch\fP, \fIinches\fP>
.IP "\fIcentimeter\fP" 10
is <\fIcm\fP, \fIcentimeter\fP, \fIcentimeters\fP>
.IP "\fImillimeters\fP" 10
is <\fImm\fP, \fImillimeter\fP, \fImillimeters\fP>
.IP "\fBpoints\fP" 10
is <\fIpt\fP, \fIpoint\fP, \fIpoints\fP>
.IP "\fBfont units\fP" 10
is <\fIfu\fP, \fBfont_unit\fP, \fBfont_units\fP>
.IP "\fIfloat\fP" 10
is {"+"|"-"}{{<"0"-"9">*}\&.}<"0"-"9">*
.IP "" 10
Note that the type Dimension must always be positive\&.
.RE
.IP "" 10
For example,
.PP
.nf
\f(CWxmfonts*XmMainWindow\&.height: 10\&.4cm
*PostIn\&.width: 3inches\fR
.fi
.PP
.IP "" 10
\fBXmNunitType\fP can have the following values:
.RS
.IP "\fBXmPIXELS\fP" 10
All values provided to the widget are treated as normal
pixel values\&.
.IP "\fBXmMILLIMETERS\fP" 10
All values provided to the widget are treated as normal millimeter
values\&.
.IP "\fBXm100TH_MILLIMETERS\fP" 10
All values provided to the widget are treated
as 1/100 of a millimeter\&.
.IP "\fBXmCENTIMETERS\fP" 10
All values provided to the widget are treated as normal centimeter
values\&.
.IP "\fBXmINCHES\fP" 10
All values provided to the widget are treated as normal inch
values\&.
.IP "\fBXm1000TH_INCHES\fP" 10
All values provided to the widget are treated as
1/1000 of an inch\&.
.IP "\fBXmPOINTS\fP" 10
All values provided to the widget are treated as normal point
values\&. A point is a unit used in text processing
applications and is defined as 1/72 of an inch\&.
.IP "\fBXm100TH_POINTS\fP" 10
All values provided to the widget are treated as
1/100 of a point\&. A point is a unit used in text processing
applications and is defined as 1/72 of an inch\&.
.IP "\fBXmFONT_UNITS\fP" 10
All values provided to the widget are treated as normal font
units\&. A font unit has horizontal and vertical components\&.
These are the values of the XmScreen resources \fBXmNhorizontalFontUnit\fP
and \fBXmNverticalFontUnit\fP\&.
.IP "\fBXm100TH_FONT_UNITS\fP" 10
All values provided to the widget are
treated as 1/100 of a font unit\&.
A font unit has horizontal and vertical components\&.
These are the values of the XmScreen resources \fBXmNhorizontalFontUnit\fP
and \fBXmNverticalFontUnit\fP\&.
.RE
.IP "\fBXmNuserData\fP" 10
Allows the application to attach
any necessary specific data to the widget\&. This is an internally
unused resource\&.
.SS "Dynamic Color Defaults"
.PP
The foreground, background, top shadow, bottom shadow, and
highlight color resources are dynamically defaulted\&.
If no color data is specified, the colors are
automatically generated\&. On a single-plane system, a black and white color
scheme is generated\&. Otherwise, four colors are
generated, which display the correct shading for the 3-D visuals\&.
If the background is the only color specified for a widget, the top
shadow and bottom shadow colors are generated to give the 3-D appearance\&.
Foreground and highlight colors are generated to provide sufficient
contrast with the background color\&.
.PP
Colors are generated only at creation\&. Resetting the background through
\fBXtSetValues\fP does not regenerate the other colors\&.
\fBXmChangeColor\fP can be used to recalculate all associated colors
based on a new background color\&.
.SS "Inherited Resources"
.PP
Manager inherits 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.
\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 "Callback Information"
.PP
A pointer to the following structure is passed to each callback for
\fBXmNhelpCallback\fP:
.PP
.nf
typedef struct
{
int \fIreason\fP;
XEvent \fI* event\fP;
} XmAnyCallbackStruct;
.fi
.IP "\fIreason\fP" 10
Indicates why the callback was invoked\&.
For this callback, \fIreason\fP is set to \fBXmCR_HELP\fP\&.
.IP "\fIevent\fP" 10
Points to the \fBXEvent\fP that triggered the callback\&.
.PP
A pointer to the following structure is passed to each callback for
\fBXmNpopupHandlerCallback\fP:
.PP
.nf
typedef struct
{
int \fIreason\fP;
XEvent \fI* event\fP;
Widget \fImenuToPost\fP;
Boolean \fIpostIt\fP;
Widget \fItarget\fP;
} XmPopupHandlerCallbackStruct;
.fi
.IP "\fIreason\fP" 10
Indicates why the callback was invoked\&.
.IP "\fIevent\fP" 10
Points to the \fBXEvent\fP that triggered the handler\&.
.IP "\fImenuToPost\fP" 10
Specifies the popup menu that the menu system believes should be
posted\&. The application may modify this field\&.
.IP "\fIpostIt\fP" 10
Indicates whether the posting process should continue\&. The
application may modify this field\&.
.IP "\fItarget\fP" 10
Specifies the most specific widget or gadget that the menu system found
from the event that matches the event\&.
.SS "Translations"
.PP
The following set of translations are used by Manager widgets that
have Gadget children\&. Because Gadgets cannot have translations associated
with them, it is the responsibility of the Manager widget to intercept the
events of interest and pass them to any Gadget child with focus\&.
These events are ignored if no Gadget child has the focus\&.
.PP
The following key names are listed in the
X standard key event translation table syntax\&.
This format is the one used by Motif to
specify the widget actions corresponding to a given key\&.
A brief overview of the format is provided under
\fBVirtualBindings\fP(3)\&.
For a complete description of the format, please refer to the
X Toolkit Instrinsics Documentation\&.
.IP "\fB<BtnMotion>\fP:" 10
ManagerGadgetButtonMotion()
.IP "\fBc<Btn1Down>\fP:" 10
ManagerGadgetTraverseCurrent()
.IP "\fB\(apc\fP\fB<Btn1Down>\fP:" 10
ManagerGadgetArm()
.IP "\fB\(apc\fP\fB<Btn1Down>\fP\fB,\(apc\fP\fB<Btn1Up>\fP:" 10
ManagerGadgetActivate()
.IP "\fB\(apc\fP\fB<Btn1Up>\fP:" 10
ManagerGadgetActivate()
.IP "\fB\(apc\fP\fB<Btn1Down>\fP\fB(2+)\fP:" 10
ManagerGadgetMultiArm()
.IP "\fB\(apc\fP\fB<Btn1Up>\fP\fB(2+)\fP:" 10
ManagerGadgetMultiActivate()
.IP "\fB<Btn2Down>\fP:" 10
ManagerGadgetDrag()
.IP "\fB:\fP\fB<Key>\fP\fB<osfActivate>\fP:" 10
ManagerParentActivate()
.IP "\fB:\fP\fB<Key>\fP\fB<osfCancel>\fP:" 10
ManagerParentCancel()
.IP "\fB:\fP\fB<Key>\fP\fB<osfSelect>\fP:" 10
ManagerGadgetSelect()
.IP "\fB:\fP\fB<Key>\fP\fB<osfHelp>\fP:" 10
ManagerGadgetHelp()
.IP "\fB\(aps \(apm \(apa\fP \fB<Key>\fP\fBReturn\fP:" 10
ManagerParentActivate()
.IP "\fB\(aps \(apm \(apa\fP \fB<Key>\fP\fBspace\fP:" 10
ManagerGadgetSelect()
.IP "\fB<Key>\fP:" 10
ManagerGadgetKeyInput()
.IP "\fB:\fP\fB<Key>\fP\fB<osfBeginLine>\fP:" 10
ManagerGadgetTraverseHome()
.IP "\fB:\fP\fB<Key>\fP\fB<osfUp>\fP:" 10
ManagerGadgetTraverseUp()
.IP "\fB:\fP\fB<Key>\fP\fB<osfDown>\fP:" 10
ManagerGadgetTraverseDown()
.IP "\fB:\fP\fB<Key>\fP\fB<osfLeft>\fP:" 10
ManagerGadgetTraverseLeft()
.IP "\fB:\fP\fB<Key>\fP\fB<osfRight>\fP:" 10
ManagerGadgetTraverseRight()
.IP "\fBs \(apm \(apa\fP \fB<Key>\fP\fBTab\fP:" 10
ManagerGadgetPrevTabGroup()
.IP "\fB\(apm \(apa\fP \fB<Key>\fP\fBTab\fP:" 10
ManagerGadgetNextTabGroup()
.SS "Action Routines"
.PP
The \fBXmManager\fP action routines are
.IP "GadgetTakeFocus():" 10
Causes the current gadget to take keyboard focus when
\fBCtrl<Btn1Down>\fP is pressed\&.
.IP "ManagerGadgetActivate():" 10
Causes the current gadget to be activated\&.
.IP "ManagerGadgetArm():" 10
Causes the current gadget to be armed\&.
.IP "ManagerGadgetButtonMotion():" 10
Causes the current gadget to process a mouse motion event\&.
.IP "ManagerGadgetDrag():" 10
Causes the current gadget to begin a drag operation\&.
This action is undefined for gadgets used in a menu system\&.
.IP "ManagerGadgetHelp():" 10
Calls the callbacks for the current gadget\&'s \fBXmNhelpCallback\fP if
any exist\&.
If there are no help
callbacks for this widget, this action calls the help callbacks
for the nearest ancestor that has them\&.
.IP "ManagerGadgetKeyInput():" 10
Causes the current gadget to process a keyboard event\&.
.IP "ManagerGadgetMultiActivate():" 10
Causes the current gadget to process a multiple mouse click\&.
.IP "ManagerGadgetMultiArm():" 10
Causes the current gadget to process a multiple mouse button press\&.
.IP "ManagerGadgetNextTabGroup():" 10
This action depends on the value of the Display resource
\fBXmNenableButtonTab\fP\&. When \fBXmNenableButtonTab\fP is False
(default), this action traverses to the first item in the next tab
group\&. If the current tab group is the last entry in the tab group
list, it wraps to the beginning of the tab group list\&.
.IP "" 10
When \fBXmNenableButtonTab\fP is True, this action moves to the next
item within the current tab group, unless it is the last item in the
tab group\&. When the item is the last in the group, the action
traverses to the first item in the next tab group\&. The
\fBXmNenableButtonTab\fP behavior applies only to PushButton, ArrowButton,
and DrawnArrow\&.
.IP "ManagerGadgetPrevTabGroup():" 10
This action depends on the value of the Display resource
\fBXmNenableButtonTab\fP\&. When \fBXmNenableButtonTab\fP is False
(default), this action traverses to the first item in the previous tab
group\&. If the beginning of the tab group list is reached, it wraps to
the end of the tab group list\&.
.IP "" 10
When \fBXmNenableButtonTab\fP is True, this action moves to the
previous item within the current tab group unless it is the first item
in the tab group\&. When the item is the first in the group, the action
traverses to the first item in the previous tab group\&. The
\fBXmNenableButtonTab\fP behavior applies only PushButton, ArrowButton, and
DrawnButton\&.
.IP "ManagerGadgetSelect():" 10
Causes the current gadget to be armed and activated\&.
.IP "\fBManagerGadgetTraverseCurrent\fP" 10
Causes the current gadget to take keyboard focus
when \fBCtrl<Btn1Down>\fP is pressed\&. Gadget is not activated\&.
.IP "ManagerGadgetTraverseDown():" 10
Traverses to the next item below the current gadget in the current tab
group, wrapping if necessary\&.
The wrapping direction depends on the layout direction of the
widget tab group\&.
.IP "ManagerGadgetTraverseHome():" 10
Traverses to the first widget or gadget in the current tab group\&.
.IP "ManagerGadgetTraverseLeft():" 10
Traverses to the next item to the left of the current gadget in the
current tab group, wrapping if necessary\&.
The wrapping direction depends on the layout direction of the
widget tab group\&.
.IP "ManagerGadgetTraverseNext():" 10
Traverses to the next item in the current tab group, wrapping if
necessary\&.
The wrapping direction depends on the layout direction of the
widget tab group\&.
.IP "ManagerGadgetTraversePrev():" 10
Traverses to the previous item in the current tab group, wrapping if
necessary\&.
The wrapping direction depends on the layout direction of the
widget tab group\&.
.IP "ManagerGadgetTraverseRight()" 10
Traverses to the next item to the right of the current gadget in the
current tab, wrapping if necessary\&.
widget tab group\&.
The wrapping direction depends on the layout direction of the
widget tab group\&.
.IP "ManagerGadgetTraverseUp():" 10
Traverses to the next item above the current gadget in the current tab
group, wrapping if necessary\&.
The wrapping direction depends on the layout direction of the
widget tab group\&.
.IP "ManagerParentActivate():" 10
If the parent is a manager,
passes the \fB<osfActivate>\fP event received by the current widget/gadget
to its parent\&.
.IP "ManagerParentCancel():" 10
If the parent is a manager,
passes the \fB<osfCancel>\fP event received by the current widget/gadget
to its parent\&.
.SS "Additional Behavior"
.PP
This widget has the additional behavior described below:
.IP "\fB<FocusIn>\fP:" 10
If the shell\&'s keyboard focus policy is \fBXmEXPLICIT\fP and the event
occurs in a gadget, causes the gadget to be highlighted and to take the
focus\&.
.IP "\fB<FocusOut>\fP:" 10
If the shell\&'s keyboard focus policy is \fBXmEXPLICIT\fP and the event
occurs in a gadget, causes the gadget to be unhighlighted and to lose
the focus\&.
.SS "Virtual Bindings"
.PP
The bindings for virtual keys are vendor specific\&.
For information about bindings for virtual buttons and keys, see \fBVirtualBindings\fP(3)\&.
.SH "RELATED"
.PP
\fBComposite\fP(3),
\fBConstraint\fP(3),
\fBCore\fP(3),
\fBXmDirection\fP(3),
\fBXmChangeColor\fP(3),
\fBXmGadget\fP(3), and
\fBXmScreen\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:27
|