Blob Blame History Raw
# $XConsortium: Form11.scr /main/4 1995/07/17 20:17:58 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 with a form should appear. The form should should
#)   have the following attributes:
#)      size = 4 inches by 3 inches
#)      scrollbar1 = .5 inches from the right edge extending 1/4 way down
#)      scrollbar2 = .5 inches from the bottom edge extending to the x
#)      location of the vertical scrollbar 
#) Resize the client several times. The vertical scrollbar should
#)   maintain its original height and spacing from the right edge.
#)   The horizontal scrollbar should be .5 inches from the bottom
#)   edge but should grow horizontally. Its right edge should always
#)   extend to the x location of the vertical scrollbar. 
#) Iconify and Normalize the client. You should see the scrollbars. 



WindowMove Shell1 200 350
CompareVisual form
WindowResize Shell1 NorthEast 240 165
CompareVisual form
WindowResize Shell1 SouthEast 300 200
CompareVisual form
WindowResize Shell1 NorthWest 200 150
CompareVisual form
WindowIconify Shell1
WindowDeiconify Shell1
CompareVisual form
# this KHelp does not actually call the callback
WindowFocus Shell1
LocatePointer form
ClickKey KHelp
Exit