# $XConsortium: Container2.scr /main/4 1995/07/17 20:15:07 drk $ # @OPENGROUP_COPYRIGHT@ # COPYRIGHT NOTICE # Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. # Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group # ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for # the full copyright text. # # This software is subject to an open license. It may only be # used on, with or for operating systems which are themselves open # source systems. You must contact The Open Group for a license # allowing distribution and sublicensing of this software on, with, # or for operating systems which are not Open Source programs. # # See http://www.opengroup.org/openmotif/license for full # details of the license agreement. Any use, reproduction, or # distribution of the program constitutes recipient's acceptance of # this agreement. # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS # PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY # WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY # OR FITNESS FOR A PARTICULAR PURPOSE # # EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT # NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, # INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED # AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE # EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGES. # # # 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