# $XConsortium: Navigation14a.scr /main/4 1995/07/17 20:43:57 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 WindowFocus parent ClickKey KDown ClickKey KDown ClickKey KDown CompareVisual parent ClickKey KDown ClickKey KTab ClickKey KRight ClickKey KRight ClickKey KRight ClickKey KSpace CompareVisual RowCol Continue #) ScrollBar/Scale destroyed and recreated. #) You should not be able to traverse to this widget with Tab or Arrows. WindowFocus Shell1 LocatePointer DefaultButton ClickKey KUp ClickKey KUp ClickKey KUp ClickKey KUp ClickKey KSpace CompareVisual parent ClickKey KTab ClickKey KTab ClickKey KTab ClickKey KTab ClickKey KSpace CompareVisual parent Continue #) Tab behavior should be as before. #) Click on the scroll bar/scale and on other widgets. #) In no case should the focus move anywhere other than where you # place the focus. WindowFocus Shell1 LocatePointer DefaultButton ClickKey KUp ClickKey KUp ClickKey KSpace ClickKey KUp ClickKey KUp CompareVisual parent ClickKey KTab ClickKey KSpace ClickKey KTab ClickKey KTab ClickKey KTab CompareVisual parent LocatePointer ScrollBar RScaleUpOrLeftSliderArea ClickMB Btn1 CompareVisual parent LocatePointer ScrollBar RScaleSlider ClickMB Btn1 CompareVisual parent Continue #) Now all the children of the Bulletin Board are tab groups. #) The traversal order should be from left to right, top to bottom. # This is Panel 4. WindowFocus Shell1 LocatePointer Text ClickMB Btn1 ClickKey KUp InputString "Versailles" ClickKey KSpace CompareVisual parent Wait 10 ClickKey KLeft InputString "Cannes" ClickKey KTab ClickKey KTab # this space is here because it will produce an visual # error if traversal order has changed and focus has # not moved, space goes to text instead of toggle button! ClickKey KSpace CompareVisual parent ClickKey KTab ClickKey KTab ClickKey KTab CompareVisual parent ClickKey KDown ClickKey KDown ClickKey KDown CompareVisual parent Continue #) Now all the children of the Bulletin Board are STICKY tab groups. #) The traversal order should still be from left to right, top to bottom. LocatePointer parent ClickKey KTab ClickKey KDown ClickKey KSpace CompareVisual parent ClickKey KTab ClickKey KTab ClickKey KTab CompareVisual parent Continue #) An EXCLUSIVE_TAB_GROUP ScrolledList has been added. #) The list is a tab group. The tab group status of the other widgets # should not have changed. #) The tab order should be counter-clockwise among the original children, # with the ScrolledList after the RowColumn. LocatePointer parent ClickKey KTab ClickKey KDown ClickKey KDown ClickKey KDown # same sort of trick here - space has no effect in ScrollBar but # it does in all the other widgets! Tricky, eh? ClickKey KSpace CompareVisual parent ClickKey KTab ClickKey KSpace CompareVisual parent ClickKey KTab ClickKey KSpace CompareVisual parent ClickKey KTab ClickKey KSpace ClickKey KDown ClickKey KSpace ClickKey KDown ClickKey KSpace ClickKey KDown ClickKey KSpace CompareVisual parent ClickKey KTab ClickKey KSpace CompareVisual parent Continue #) The text and button children have been returned to XmNONE navigationType. #) The scroll bar/scale and RowColumn children were returned to XmTAB_GROUP. #) Their parent bulletin board is now an EXCLUSIVE_TAB_GROUP. #) The list remains an EXCLUSIVE_TAB_GROUP. #) The list should remain a tab group. The other children should be # traversable via the arrow keys. #) The traversal order within the first tab group should be: button; # scale/scrollbar; the three children of the row column; text. #) The second tab group is the scrolled list. LocatePointer parent ClickKey KSpace #toggle Toggle1 ClickKey KDown ClickKey KSpace CompareVisual RowCol #down to text and change it ClickKey KDown ClickKey KDown ClickKey KDown ClickKey KLeft ClickKey KLeft ClickKey KLeft ClickKey KLeft ClickKey KLeft ClickKey KBackSpace ClickKey KBackSpace ClickKey Ka ClickKey KRight ClickKey KBackSpace ClickKey KBackSpace ClickKey Kc ClickKey Ky CompareVisual parent #over to ScrollBar, end of line for Down arrow! ClickKey KDown ClickKey KDown CompareVisual ScrollBar #to ScrolledList ClickKey KTab ClickKey KSpace CompareVisual parent Continue Exit