Blob Blame History Raw
# $XConsortium: Navigation3.scr /main/4 1995/07/17 20:44:41 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 a test of traversal behaviors.  
#) We used XmAddTabGroup to add five simple widgets to the TAB list.
#) The widgets that have been specified as Tab groups are those with a red
# background. You should move between these widgets when you press the Tab or
# Shift-Tab key. 
#The reason there are six instead of five is because all the
#non-specified buttons are grouped into one tab group automatically by the
#toolkit.
#) The labels of the red (tabbable) buttons indicate the order in which
#they should be traversed.
#) The up and down arrow keys should only move the focus among the buttons 
#in the first tab group.
#) Use the space key to activate (depress) the buttons. 
#) Try moving amongst the buttons and back and forth between the tab groups.
#) Click MB1 on any other (non-red) button. The location cursor (focus)
# should not move between the red buttons.

WindowFocus Shell1
CompareVisual btn31
ClickKey KTab
CompareVisual btn41
ClickKey KTab
CompareVisual misc1
ClickKey KTab
CompareVisual btn33
ClickKey KTab
CompareVisual btn1
ClickKey KTab
CompareVisual btn2
ClickKey KTab
CompareVisual btn31
ClickKey KRight
CompareVisual rc3

LocatePointer toggle1
ClickMB Btn1
CompareVisual toggle1
LocatePointer btn3
ClickMB Btn1
CompareVisual btn3

Continue 
Exit