/* $XConsortium: Notebook3b.dat /main/4 1995/07/17 10:18:12 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
*/
#) A NoteBook Widget will appear on your screen. It will have all
the default settings.
#) There will be an empty ScrolledList in the upper left of your screen. This
will be dynamically updated with the names of any widgets you create during
the test.
#) This test tests the 8 different visual configurations of the
NoteBook, which depend on the values XmNorientation and
XmNbackPagePlacement.
C)
#) There will be a SpinBox on the bottom right side of
the NoteBook. This is the Page Scroller child of the Notebook
that should be observed when checking visual configurations.
#) Set "Child Type" to PAGE.
Set the "Set Page Number" scale to 1.
Select "Set childType" from the "Set Child Values" menu.
Select "Set pageNumber" from the "Set Child Values" menu.
Post the menu "Child", and select "Create Child".
A SelectionDialog will appear on your screen. Choose "XmMessageBox".
from the list of choices. Click on the "OK" button of the
SelectionDialog.
#) A MessageBox page will appear on the screen.
#) Set "Child Type" to MAJOR_TAB.
Set the "Set Page Number" scale to 1.
Select "Set childType" from the "Set Child Values" menu.
Select "Set pageNumber" from the "Set Child Values" menu.
Post the menu "Child", and select "Create Child".
A SelectionDialog will appear on your screen. Choose "XmPushButton"
from the list of choices. Click on the "OK" button of the
SelectionDialog.
#) A PushButton will appear on the right side of the Notebook. It
will have the name "MajorTab1". This is the Major Tab child which
should be observed when checking visual configurations.
#) Set "Child Type" to MINOR_TAB.
Repeat steps 2-5.
Choose "XmPushButton" from the list of choices in the SelectionDialog
and click on the "OK" button of the SelectionDialog.
#) A PushButton will appear at the bottom of the Notebook. It
will have the name "MinorTab1". This is the Minor Tab child which
should be observed when checking visual configurations.
#) Set "Child Type" to STATUS_AREA.
Repeat steps 2-5.
Choose "XmLabel" from the list of choices in the SelectionDialog
and click on the "OK" button of the SelectionDialog.
#) A Label will appear at the bottom left side of the Notebook. It
will have the name "StatusArea1". This is the Status Area child which
should be observed when checking visual configurations.
C)
#) Set "Back Page Placement" to BOTTOM_RIGHT.
#) Select "Set backPagePlacement" from the "Set Notebook Values" menu.
#) Set "Orientation" to HORIZONTAL.
#) Select "Set orientation" from the "Set Notebook Values" menu.
#) No visual change should take place, since these are the default values
for the 2 resources.
C)
#) Set "Back Page Placement" to BOTTOM_RIGHT.
#) Select "Set backPagePlacement" from the "Set Notebook Values" menu.
#) Set "Orientation" to VERTICAL.
#) Select "Set orientation" from the "Set Notebook Values" menu.
#) The visual configuration of the NoteBook should be as follows:
@) - Binding : Top
@) - Major Tab : Bottom
@) - Minor Tab : Right
@) - Status Area : Bottom Left
@) - Page Scroller : Bottom Right
C)
#) Set "Back Page Placement" to BOTTOM_LEFT.
#) Select "Set backPagePlacement" from the "Set Notebook Values" menu.
#) Set "Orientation" to HORIZONTAL
#) Select "Set orientation" from the "Set Notebook Values" menu.
#) The visual configuration of the NoteBook should be as follows:
@) - Binding : Right
@) - Major Tab : Left
@) - Minor Tab : Bottom
@) - Status Area : Bottom Right
@) - Page Scroller : Bottom Left
C)
#) Set "Back Page Placement" to BOTTOM_LEFT.
#) Select "Set backPagePlacement" from the "Set Notebook Values" menu.
#) Set "Orientation" to VERTICAL.
#) Select "Set orientation" from the "Set Notebook Values" menu.
#) The visual configuration of the NoteBook should be as follows:
@) - Binding : Top
@) - Major Tab : Bottom
@) - Minor Tab : Left
@) - Status Area : Bottom Right
@) - Page Scroller : Bottom Left
C)
#) Set "Back Page Placement" to TOP_RIGHT.
#) Select "Set backPagePlacement" from the "Set Notebook Values" menu.
#) Set "Orientation" to HORIZONTAL.
#) Select "Set orientation" from the "Set Notebook Values" menu.
#) The visual configuration of the NoteBook should be as follows:
@) - Binding : Left
@) - Major Tab : Right
@) - Minor Tab : Top
@) - Status Area : Bottom Left
@) - Page Scroller : Bottom Right
C)
#) Set "Back Page Placement" to TOP_RIGHT.
#) Select "Set backPagePlacement" from the "Set Notebook Values" menu.
#) Set "Orientation" to VERTICAL.
#) Select "Set orientation" from the "Set Notebook Values" menu.
#) The visual configuration of the NoteBook should be as follows:
@) - Binding : Bottom
@) - Major Tab : Top
@) - Minor Tab : Right
@) - Status Area : Bottom Left
@) - Page Scroller : Bottom Right
C)
#) Set "Back Page Placement" to TOP_LEFT.
#) Select "Set backPagePlacement" from the "Set Notebook Values" menu.
#) Set "Orientation" to HORIZONTAL.
#) Select "Set orientation" from the "Set Notebook Values" menu.
#) The visual configuration of the NoteBook should be as follows:
@) - Binding : Right
@) - Major Tab : Left.
@) - Minor Tab : Top
@) - Status Area : Bottom Right
@) - Page Scroller : Bottom Left
C)
#) Set "Back Page Placement" to TOP_LEFT.
#) Select "Set backPagePlacement" from the "Set Notebook Values" menu.
#) Set "Orientation" to VERTICAL.
#) Select "Set orientation" from the "Set Notebook Values" menu.
#) The visual configuration of the NoteBook should be as follows:
@) - Binding : Bottom
@) - Major Tab : Top
@) - Minor Tab : Left
@) - Status Area : Bottom Right
@) - Page Scroller : Bottom Left
E)