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 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896
|
# $XConsortium: Container2.scr /main/4 1995/07/17 20:15:07 drk $
# Motif
#
# Copyright (c) 1987-2012, The Open Group. All rights reserved.
#
# These libraries and programs are free software; you can
# redistribute them and/or modify them under the terms of the GNU
# Lesser General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# These libraries and programs are distributed in the hope that
# they will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with these librararies and programs; if not, write
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301 USA
#
#
# HISTORY
# #) This is Container2 test.
# #) This uses a control panel to modify the various Container resources.
# Each resource has a corresponding OptionMenu, or Scale.
# #) Set the various resources and check whether they take effect.
# #) There should be no spontaneous abort or core dump due to any reason.
# #) The geometry of the widget should get adjusted depending on the
# various resource settings.
# C)
Continue
# @) This panel plays with the display of a "AnyIcon" view Type with an
# OUTLINE layout Type.
# #) Four IconGadgets should be visible in a single column.
# IconGad", IconGad2 and IconGad4 are displayed in their small icon
# view, with the pixmap part displaying a "S" within
# a black box, and the label part displaying the strings "IconGad1",
# "IconGad2", and "IconGad4" respectively.
# IconGad3 is displayed in its large icon view, with the pixmap part
# displaying a "L" within a black box, and the label part displaying
# the string "IconGad3".
# #) There should also be visible to the left of IconGad3, a
# pixmap displaying letter "C" with background white and foreground
# black. This indicates that the item "IconGad3" has child items that
# are not displayed; in other words, this item is in the collapsedState.
WindowRaise Container2
CompareVisual Container2
# #) Click BSelect on the collapsedState pixmap "C" displayed to the left
# of the item "IconGad3".
# The pixmap should change to showing the letter "E", indicating that
# the item "IconGad3" has child items that are displayed; in
# other words, item "IconGad3" is in the expandedState. Also, this
# pixmap should have a white foreground and a black background.
# #) Also, you should see 3 more items displayed in their small view,
# "IconGad31", "IconGad32",
# and "IconGad33" displayed below IconGad3 and indented right by 100
# pixels. A line is connecting these items to the item "IconGad3".
LocatePointer IconGad3 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
# #) Expand all the children. "IconGad321" and "IconGad3211" should be
# displayed in their large icon view.
# #) The pixmap should change to showing the letter "E", indicating that
# the item have child items that are displayed;
# #) You should also see a message in the term window indicating that
# a valueChangedCallback has been invoked with the reason
# XmCR_EXPANDED, each time you click on a collapse button.
# C)
LocatePointer IconGad32 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
LocatePointer IconGad321 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
Continue
# #) Select "XmNO_LINE" from the "Outline LineStyle" option menu. The
# connecting lines should disappear.
WindowRaise FormDialog
LocatePointer OutlineLineStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmNO_LINE
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Move the "Outline Indentation" scale to 250. The children should move
# to the right.
WindowRaise FormDialog
LocatePointer IndentationScale RScaleSlider
DragSliderValue Right 250
WindowRaise Container2
CompareVisual Container2
# #) Select "XmOUTLINE_BUTTON_ABSENT" from the "Outline ButtonPolicy" option
# menu. The expand/collpase state pixmap should disappear. Container
# should redisplay itself to accomodate the lost of the pixmaps.
WindowRaise FormDialog
LocatePointer OutlineButtonPolicy_Option ROptionButton
PressMB Btn1
LocatePointer XmOUTLINE_BUTTON_ABSENT
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmOUTLINE_BUTTON_PRESENT" from the "Outline ButtonPolicy" option
# menu. The expand/collpase state pixmap should reappear.
WindowRaise FormDialog
LocatePointer OutlineButtonPolicy_Option ROptionButton
PressMB Btn1
LocatePointer XmOUTLINE_BUTTON_PRESENT
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmSINGLE" from the "Outline LineStyle" menu.
# #) The lines connecting the children should reappear.
WindowRaise FormDialog
LocatePointer OutlineLineStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmSINGLE
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# Collpase all the children.
# C)
LocatePointer IconGad3 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
Continue
# @) This panel plays with the display of an "AnyIcon" view type with
# a DETAIL layout Type.
# #) Select "Detail" from the "Layout Type" option menu.
# A heading column should appear on top of the icon gadgets.
# There should be 4 columns, the first
# one for the pixmap-label and the 3 others with plain text.
# There should be 4 rows of Icon gadgets.
WindowRaise FormDialog
LocatePointer LayoutType_Option ROptionButton
PressMB Btn1
LocatePointer Detail
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Move the "Outline Indentation" scale to 70.
# Expand the children. The plain text displayed next to each child is
# aligned in columns.
WindowRaise FormDialog
LocatePointer IndentationScale RScaleSlider
DragSliderValue Left 70
WindowRaise Container2
CompareVisual Container2
LocatePointer IconGad3 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
# #) Move the "Outline ColumnWidth" scale to 200. The text becomes aligned
# in columns, overlapping the outline display.
# Move the "Outline ColumnWidth" scale to 320.
WindowRaise FormDialog
LocatePointer ColumnWidthScale RScaleSlider
DragSliderValue Right 200
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer ColumnWidthScale RScaleSlider
DragSliderValue Right 320
WindowRaise Container2
CompareVisual Container2
# #) Select "XmNO_LINE" from the "Outline LineStyle" menu.
# The lines connecting the children should disappear.
WindowRaise FormDialog
LocatePointer OutlineLineStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmNO_LINE
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmSINGLE" from the "Outline LineStyle" menu.
# The lines connecting the children should reappear.
WindowRaise FormDialog
LocatePointer OutlineLineStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmSINGLE
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "One" from the "Number of Columns" option menu. You should only
# have 1 text column displayed.
WindowRaise FormDialog
LocatePointer Columns_Option ROptionButton
PressMB Btn1
LocatePointer One
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "Zero" from the "Number of Columns" option menu. You should have
# the maximum number of text column displayed (that is 3).
WindowRaise FormDialog
LocatePointer Columns_Option ROptionButton
PressMB Btn1
LocatePointer Zero
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "Two" from the "Number of Columns" option menu. Only the two first
# columns of text are displayed.
WindowRaise FormDialog
LocatePointer Columns_Option ROptionButton
PressMB Btn1
LocatePointer Two
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "NO" from "Show ColumnHeading". The column heading should
# disappear.
WindowRaise FormDialog
LocatePointer ShowColumnHeading_Option ROptionButton
PressMB Btn1
LocatePointer NO
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "No" again from "Show ColumnHeading". No core dump should occur.
WindowRaise FormDialog
LocatePointer ShowColumnHeading_Option ROptionButton
PressMB Btn1
LocatePointer NO
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "Three" from the "Number of Columns" option menu. The last column
# should reappear.
WindowRaise FormDialog
LocatePointer Columns_Option ROptionButton
PressMB Btn1
LocatePointer Three
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Collapse the children, by clicking on the collapse button of "IconGad3".
# #) Select "Yes" from "Show ColumnHeading". The column heading should
# re_appear.
LocatePointer IconGad3 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
WindowRaise FormDialog
LocatePointer ShowColumnHeading_Option ROptionButton
PressMB Btn1
LocatePointer YES
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Move the "Outline ColumnWidth" scale to 320.
# C)
WindowRaise FormDialog
LocatePointer ColumnWidthScale RScaleSlider
DragSliderValue Left 0
WindowRaise Container2
CompareVisual Container2
Continue
# @) This panel plays with the display of a "AnyIcon" view type with
# a SPATIAL layout Type.
# #) Select "Spatial" from the "Layout Type" option menu.
# The Icon gadgets should appear at their X and Y position.
# !) IconGad1 should be located at 100,100
# IconGad2 should be located at 200,200
# IconGad3 should be located at 300,100
# IconGad4 should be located at 50,400
#
WindowRaise FormDialog
LocatePointer LayoutType_Option ROptionButton
PressMB Btn1
LocatePointer Spatial
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmGRID" from the "Spatial Style" option menu.
# The Icon gadgets are displayed in the cells.
WindowRaise FormDialog
LocatePointer PlaceStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmGRID
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "LargeCell Width" scale values and the "LargeCell
# Height" scale value.
WindowRaise FormDialog
LocatePointer LargeCellWidthScale RScaleSlider
DragSliderValue Left 50
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer LargeCellHeightScale RScaleSlider
DragSliderValue Left 50
WindowRaise Container2
CompareVisual Container2
# #) Select "XmCELLS" from the "Spatial Style" option menu.
# The Icon gadgets are placed in a minimum number of cells needed to
# fit them.
WindowRaise FormDialog
LocatePointer PlaceStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmCELLS
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmSNAP_TO_GRID" from the "Snap Model" option menu.
# The Icon gadgets are placed at the origin of the multi-cell
# (upper-left).
WindowRaise FormDialog
LocatePointer SnapModel_Option ROptionButton
PressMB Btn1
LocatePointer XmSNAP_TO_GRID
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "LargeCell Width" scale values and the "LargeCell
# Height" scale value.
WindowRaise FormDialog
LocatePointer LargeCellWidthScale RScaleSlider
DragSliderValue Right 100
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer LargeCellHeightScale RScaleSlider
DragSliderValue Right 100
WindowRaise Container2
CompareVisual Container2
# #) Select "XmCENTER" from the "Snap Model" option menu.
# The Icon gadgets are placed at the center of the multi-cell.
WindowRaise FormDialog
LocatePointer SnapModel_Option ROptionButton
PressMB Btn1
LocatePointer XmCENTER
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "LargeCell Width" scale values and the "LargeCell
# Height" scale value.
# C)
WindowRaise FormDialog
LocatePointer LargeCellWidthScale RScaleSlider
DragSliderValue Left 50
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer LargeCellHeightScale RScaleSlider
DragSliderValue Left 50
WindowRaise Container2
CompareVisual Container2
Continue
# @) This panel plays with the display of a "LargeIcon" view Type with
# an OUTLINE layout Type.
# #) Select "LargeIcon" from the "Entry View Type" option menu, and
# "Outline" from the "Layout Type" option menu.
# #) Four IconGadgets with the pixmap part displaying a "L" within
# a black box, and the label part displaying the strings "IconGad1",
# "IconGad2", "IconGad3" and "IconGad4" respectively should be visible
# in a single column.
# #) There should also be visible to the left of IconGad3, a
# pixmap displaying letter "C" with background white and foreground
# black. This indicates that the item "IconGad3" has child items that
# are not displayed; in other words, this item is in the collapsedState.
WindowRaise FormDialog
LocatePointer EntryViewType_Option ROptionButton
PressMB Btn1
LocatePointer LargeIcon
ReleaseMB Btn1
LocatePointer LayoutType_Option ROptionButton
PressMB Btn1
LocatePointer Outline
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Click BSelect on the collapsedState pixmap "C" displayed to the left
# of the item "IconGad3".
# The pixmap should change to showing the letter "E", indicating that
# the item "IconGad3" has child items that are displayed; in
# other words, item "IconGad3" is in the expandedState. Also, this
# pixmap should have a white foreground and a black background.
# #) Also, you should see 3 more items displayed, "IconGad31", "IconGad32",
# and "IconGad33" displayed below IconGad3 and indented right by 100
# pixels. A line is connecting these items to the item "IconGad3".
LocatePointer IconGad3 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
# #) Select "XmNO_LINE" from the "Outline LineStyle" option menu. The
# connecting lines should disappear.
WindowRaise FormDialog
LocatePointer OutlineLineStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmNO_LINE
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Move the "Outline Indentation" scale to 250. The children should move
# to the right.
WindowRaise FormDialog
LocatePointer IndentationScale RScaleSlider
DragSliderValue Right 250
WindowRaise Container2
CompareVisual Container2
# #) Select "XmOUTLINE_BUTTON_ABSENT" from the "Outline ButtonPolicy" option
# menu. The expand/collpase state pixmap should disappear. Container
# should redisplay itself to accomodate the lost of the pixmaps.
# C)
WindowRaise FormDialog
LocatePointer OutlineButtonPolicy_Option ROptionButton
PressMB Btn1
LocatePointer XmOUTLINE_BUTTON_ABSENT
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
Continue
# @) This panel plays with the display of a "SmallIcon" view Type with
# an OUTLINE layout Type.
# #) Select "SmallIcon" from the "Entry View Type" option menu.
# #) The IconGadgets are now displayed with the pixmap part displaying a
# "S" within a black box, and the label part displaying the strings
# should be visible next to them.
WindowRaise FormDialog
LocatePointer EntryViewType_Option ROptionButton
PressMB Btn1
LocatePointer SmallIcon
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmOUTLINE_BUTTON_PRESENT" from the "Outline ButtonPolicy" option
# menu. The expand/collpase state pixmap should reappear. Container
# should redisplay itself to accomodate the new pixmaps.
# #) There should be visible to the left of IconGad3, a
# pixmap displaying letter "E" with background black and foreground
# white. A pixmap displaying letter "C" should be visible to the left of
# "IconGad32" with background white and foreground black.
WindowRaise FormDialog
LocatePointer OutlineButtonPolicy_Option ROptionButton
PressMB Btn1
LocatePointer XmOUTLINE_BUTTON_PRESENT
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmSINGLE" from the "Outline LineStyle" option menu. The
# connecting lines should reappear.
WindowRaise FormDialog
LocatePointer OutlineLineStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmSINGLE
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Move the "Outline Indentation" scale to 0. The children should move
# to the left, forming a single column with the parents.
WindowRaise FormDialog
LocatePointer IndentationScale RScaleSlider
DragSliderValue Left 0
WindowRaise Container2
CompareVisual Container2
# #) Move the Outline Indentation" scale to 100. The children should move
# to the right.
# C)
WindowRaise FormDialog
LocatePointer IndentationScale RScaleSlider
DragSliderValue Right 100
WindowRaise Container2
CompareVisual Container2
Continue
# @) This panel plays with the display of a "LargeIcon" view Type with
# a DETAIL layout Type.
# #) Select "LargeIcon" from the "Entry View Type" option menu, and
## "Detail" from the "Layout Type" option menu.
# #) A Column heading should appear. There should be 4 columns, the first
# one for the pixmap-label and the 3 others with plain text.
# There should be 4 rows of Icon gadgets.
WindowRaise FormDialog
LocatePointer EntryViewType_Option ROptionButton
PressMB Btn1
LocatePointer LargeIcon
ReleaseMB Btn1
LocatePointer LayoutType_Option ROptionButton
PressMB Btn1
LocatePointer Detail
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "Outline Indentation" scale and the
# "Outline ColumnWidth" scale.
WindowRaise FormDialog
LocatePointer IndentationScale RScaleSlider
DragSliderValue Left 0
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer IndentationScale RScaleSlider
DragSliderValue Right 80
WindowRaise Container2
CompareVisual Container2
# #) Select "XmNO_LINE" from the "Outline LineStyle" menu.
# The lines connecting the children should disappear.
WindowRaise FormDialog
LocatePointer OutlineLineStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmNO_LINE
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmSINGLE" from the "Outline LineStyle" menu.
# The lines connecting the children should reappear.
WindowRaise FormDialog
LocatePointer OutlineLineStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmSINGLE
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "Two" from the "Number of Columns" option menu. The last
# column should desappear.
WindowRaise FormDialog
LocatePointer Columns_Option ROptionButton
PressMB Btn1
LocatePointer Two
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "Zero" from the "Number of Columns" option menu. All the columns
# should be displayed again.
WindowRaise FormDialog
LocatePointer Columns_Option ROptionButton
PressMB Btn1
LocatePointer Zero
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "NO" from "Show ColumnHeading". The column heading should
# disappear.
WindowRaise FormDialog
LocatePointer ShowColumnHeading_Option ROptionButton
PressMB Btn1
LocatePointer NO
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Collapse all the children.
# C)
LocatePointer IconGad321 ROutlineBtn
ClickMB Btn1
LocatePointer IconGad32 ROutlineBtn
ClickMB Btn1
LocatePointer IconGad3 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
Continue
# @) This panel plays with the display of a "SmallIcon" view Type with
# a DETAIL layout Type.
# #) Select "SmallIcon" from the "Entry View Type" option menu. The
# Icon gadgets are now displayed in their small icon view.
WindowRaise FormDialog
LocatePointer EntryViewType_Option ROptionButton
PressMB Btn1
LocatePointer SmallIcon
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "One" from the "Number of Columns" menu to modify the
# detailCount.
# The number of detail columns displayed should change to 1.
WindowRaise FormDialog
LocatePointer Columns_Option ROptionButton
PressMB Btn1
LocatePointer One
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "Three" from the "Number of Columns" menu to modify the
# detailCount.
# The number of detail columns displayed should change to 3.
WindowRaise FormDialog
LocatePointer Columns_Option ROptionButton
PressMB Btn1
LocatePointer Three
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "Yes" from "Show ColumnHeading". The column heading should
# reappear.
WindowRaise FormDialog
LocatePointer ShowColumnHeading_Option ROptionButton
PressMB Btn1
LocatePointer YES
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Expand the children.
# C)
LocatePointer IconGad3 ROutlineBtn
ClickMB Btn1
LocatePointer IconGad32 ROutlineBtn
ClickMB Btn1
LocatePointer IconGad321 ROutlineBtn
ClickMB Btn1
CompareVisual Container2
Continue
# @) This panel plays with the display of a "LargeIcon" view type with
# a SPATIAL layout Type.
# #) Select "LargeIcon" from the "Entry View Type" option menu, and
# "Spatial" from the "Layout Type" option menu.
WindowRaise FormDialog
LocatePointer EntryViewType_Option ROptionButton
PressMB Btn1
LocatePointer LargeIcon
ReleaseMB Btn1
LocatePointer LayoutType_Option ROptionButton
PressMB Btn1
LocatePointer Spatial
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmGRID" from the "Spatial Style" option menu.
# The Icon gadgets are displayed in the cells.
WindowRaise FormDialog
LocatePointer PlaceStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmGRID
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "LargeCell Width" scale values and the "LargeCell
# Height" scale value.
WindowRaise FormDialog
LocatePointer LargeCellWidthScale RScaleSlider
DragSliderValue Right 100
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer LargeCellHeightScale RScaleSlider
DragSliderValue Right 100
WindowRaise Container2
CompareVisual Container2
# #) Select "XmCELLS" from the "Spatial Style" option menu.
# The Icon gadgets are placed in a minimum number of cells needed to
# fit them.
WindowRaise FormDialog
LocatePointer PlaceStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmCELLS
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Select "XmSNAP_TO_GRID" from the "Snap Model" option menu.
# The Icon gadgets are placed at the origin of the multi-cell
# (upper-left).
WindowRaise FormDialog
LocatePointer SnapModel_Option ROptionButton
PressMB Btn1
LocatePointer XmSNAP_TO_GRID
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "LargeCell Width" scale values and the "LargeCell
# Height" scale value.
WindowRaise FormDialog
LocatePointer LargeCellWidthScale RScaleSlider
DragSliderValue Left 70
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer LargeCellHeightScale RScaleSlider
DragSliderValue Left 70
WindowRaise Container2
CompareVisual Container2
# #) Select "XmCENTER" from the "Snap Model" option menu.
# The Icon gadgets are placed at the center of the multi-cell.
WindowRaise FormDialog
LocatePointer SnapModel_Option ROptionButton
PressMB Btn1
LocatePointer XmCENTER
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "LargeCell Width" scale values and the "LargeCell
# Height" scale value.
# C)
WindowRaise FormDialog
LocatePointer LargeCellWidthScale RScaleSlider
DragSliderValue Right 110
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer LargeCellHeightScale RScaleSlider
DragSliderValue Right 110
WindowRaise Container2
CompareVisual Container2
Continue
# #) This panel plays with the display of a "SmallIcon" view type with
# a SPATIAL layout Type.
# #) Select "SmallIcon" from the "Entry View Type" option menu.
WindowRaise FormDialog
LocatePointer EntryViewType_Option ROptionButton
PressMB Btn1
LocatePointer SmallIcon
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "SmallCell Width" scale values and the "SmallCell
# Height" scale value.
WindowRaise FormDialog
LocatePointer SmallCellWidthScale RScaleSlider
DragSliderValue Right 100
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer SmallCellHeightScale RScaleSlider
DragSliderValue Right 100
WindowRaise Container2
CompareVisual Container2
# #) Select "XmSNAP_TO_GRID" from the "Snap Model" option menu.
# The Icon gadgets are placed at the origin of the multi-cell
# (upper-left).
WindowRaise FormDialog
LocatePointer SnapModel_Option ROptionButton
PressMB Btn1
LocatePointer XmSNAP_TO_GRID
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "SmallCell Width" scale values and the "SmallCell
# Height" scale value.
WindowRaise FormDialog
LocatePointer SmallCellWidthScale RScaleSlider
DragSliderValue Right 150
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer SmallCellHeightScale RScaleSlider
DragSliderValue Right 150
WindowRaise Container2
CompareVisual Container2
# #) Select "XmGRID" from the "Spatial Style" option menu.
# The Icon gadgets are displayed in the cells.
WindowRaise FormDialog
LocatePointer PlaceStyle_Option ROptionButton
PressMB Btn1
LocatePointer XmGRID
ReleaseMB Btn1
WindowRaise Container2
CompareVisual Container2
# #) Play with the "SmallCell Width" scale values and the "SmallCell
# Height" scale value.
# C)
WindowRaise FormDialog
LocatePointer SmallCellWidthScale RScaleSlider
DragSliderValue Left 50
WindowRaise Container2
CompareVisual Container2
WindowRaise FormDialog
LocatePointer SmallCellHeightScale RScaleSlider
DragSliderValue Left 50
WindowRaise Container2
CompareVisual Container2
Continue
# E)
Exit
|