# $XConsortium: PushBGad3.scr /main/6 1995/07/17 20:06:40 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 simple test of traversal behaviors. The two boxed groups of # widgets are tab groups. You can move between the groups by pressing TAB # or Shift-TAB. Within each group, move between the buttons by using the # up and down arrow keys. Use the space key to activate (depress) # the buttons. Try moving amongst the buttons and back and forth between # the tab groups. LocatePointer arrow1 CompareVisual rc1 ClickKey KTab ClickKey KDown ClickKey KDown ClickKey KTab ClickKey KDown CompareVisual rc1 Continue # Using the up and down arrow keys, move to the button labeled "arrow2". # The button should now have the highlight around it. Press return, and # this pushbutton will become unmanaged and the highlight should move to # the button labelled "arrow3". # Now move up to the button labelled "arrow1" and press return. # The "arrow2" button will be managed and visible again, but the # highlight should remain around "arrow1". LocatePointer arrow2 CompareVisual rc1 ClickKey KActivate CompareVisual rc1 ClickKey KUp ClickKey KActivate CompareVisual rc1 Exit