/* $XConsortium: ScrollWin6.dat /main/4 1995/07/17 10:23:50 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
*/
#) Testing the XmNscrolledWindowChildType resource of the
ScrollingWindow widget. You should see a scrolled window whose
childType is XmNO_SCROLL
#) There should be no scrollbars visible.
C)
#) Testing the XmNscrolledWindowChildType resource of the
ScrollingWindow widget. You should see a scrolled window whose
childType is XmSCROLL_VERT.
#) There will be two scroll bars visible but only the vertical
scrollbar does anything. Try scrolling by using the mouse in both
the horizontal and vertical scrollbars.
#) Now try scrolling using the keyboard. Use KTab to move from the
vertical scrollbar to the horizontal one (and vice versa.) Then
use the KUp, KDown, KLeft, KRight, MCtrl KUp, MCtrl KDown, MCtrl
KRight and MCtrl KLeft keys. The work window should only move
vertically.
C)
#) Testing the XmNscrolledWindowChildType resource of the
ScrollingWindow widget. You should see a scrolled window whose
childType is XmSCROLL_HOR.
#) There will be two scroll bars visible but only the horizontal
scrollbar does anything. Try scrolling by using the mouse in both
the horizontal and vertical scrollbars.
#) Now try scrolling using the keyboard. Use KTab to move from the
vertical scrollbar to the horizontal one (and vice versa.) Then
use the KUp, KDown, KLeft, KRight, MCtrl KUp, MCtrl KDown, MCtrl
KRight and MCtrl KLeft keys. The work window should only move
horizontally.
C)
#) Testing the XmNscrolledWindowChildType resource of the
ScrollingWindow widget. You should see a scrolled window whose
childType is XmWORK_AREA
#) There will be two scroll bars visible and both should work. Try
scrolling by using the mouse in both the horizontal and vertical
scrollbars.
#) Now try scrolling using the keyboard. Use KTab to move from the
vertical scrollbar to the horizontal one (and vice versa.) Then
use the KUp, KDown, KLeft, KRight, MCtrl KUp, MCtrl KDown, MCtrl
KRight and MCtrl KLeft keys. The work window should move in both
directions.
C)
#) Testing the XmNscrolledWindowChildType resource of the
ScrollingWindow widget. You should see a scrolled window with two
scrollbars whose childType is XmHOR_SCROLLBAR and XmVERT_SCROLLBAR.
The two scrollbars should have wide shadows.
E)