Blob Blame History Raw
# $XConsortium: Menu5.scr /main/6 1995/07/17 20:26:10 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 client window will appear with a radio box widget with two
#   children, "toggle1" and "toggle2". 

CompareVisual rc2

# Move the pointer into the client window and Press MB3.  A popup
#   menu will appear.  The cursor will change to a picture of a man. 

LocatePointer rc2
PressMB Btn3 
LocatePointer option1
CompareVisual popup

# Drag the cursor down through the popup menu.  Several nested
#   popup menus will appear. 

LocatePointer option2
LocatePointer option3
LocatePointer pdbtn3
LocatePointer option1h
LocatePointer option2h
LocatePointer pdbtn2
LocatePointer option1n
LocatePointer option2n
LocatePointer pdbtn1
LocatePointer option1o

# Release MB3.  The popup menu will disappear.  A message indicating
#   which pushbutton was activated will be printed to the xterm
#   window. 

ReleaseMB Btn3

# Follow same instructions as above, but now use KMenu to post the Menu
#   and use the arrow keys and return to traverse and select.

LocatePointer rc2
ClickKey KMenu
ClickKey KDown
ClickKey KDown
ClickKey KDown
ClickKey KRight
ClickKey KDown
ClickKey KDown
ClickKey KDown
ClickKey KRight
ClickKey KDown
ClickKey KDown
ClickKey KRight
ClickKey KDown
ClickKey KReturn

Continue
Exit