Blob Blame History Raw
/* 
 * 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
*/ 
/*
static char rcsid[] = "$XConsortium: Form13.dat /main/4 1995/07/13 18:02:20 drk $"
*/

#) A client with a form should appear. The form should be about
   200x100 pixels, and should have three ArrowButtons within it.
   The form will have top/bottom/left/right Attachment set to
   XmATTACH_POSITION.  Each arrow will have a topPosition of 25 and
   a bottomPosition of 75.  The first arrow will have a leftPosition
  of 10 and a rightPosition of 30.  The second arrow will have a
   leftPosition of 40 and a rightPosition of 60.  The third arrow
   will have a leftPosition of 70 and a rightPosition of 90.
!) 
#) Note that the above resource settings will result in ArrowButton
   widgets which are centered vertically in the form, are each 20%
   as wide as the form, 50% as tall as the form, and separated
   horizontally from the form and eachother by a space 10% as wide
   as the form. 
!) 
#) Resize the client several times. You should see the arrows move
   and resize,  but retain the same relative positions and sizes. 
!) 
#) Iconify and Normalize the client window. 
!) 
E)