/*
* 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: RowCol1.dat /main/7 1995/07/13 18:54:22 drk $"
*/
#) A row column with two push buttons should appear. The labels, 'button1'
and 'button2' should appear centered in the buttons.
#) Press button1. The label should change to 'a' and still be centered in the
button.
#) Press button2. The label should change to 'a' and still be centered in the
button.
C)
#) A RowColumn widget should be displayed, with an arrowbutton and
'Label1' directly below it.
C)
#) 'Label1' will now be to the right of the arrowbutton and 'PushButton1'
will appear below the arrowbutton.
C)
#) 'ToggleButton1' will appear below 'Label1'.
C)
#) The background will have changed to a yellow and black pixmap.
C)
#) The margin width and height will have changed to 20 pixels.
C)
#) The spacing will have changed to 20 pixels.
#) Click on the arrowbutton - it should appear depressed.
#) Click on 'Label1' - nothing should happen.
#) Click on 'ToggleButton1' - the indicator should appear filled in.
#) Press and hold MB1 on 'PushButton1' - the background color
of the pushbutton should change.
C)
#)The black entry border will appear around each child of the rowcolumn.
#) Click in the border of the arrow button. The button should appear
pressed in and out, and an \"Activation Callback\"
message should appear in the standard out window.
#) Repeat for the push button.
#) Repeat for the Toggle button, pressing both in the border
and over the toggle button itself. Instead of
\"Activation callback\", the message should say a \"Value changed\"
callback was received. Also verify that the state printed in the message
matches the visible state of the toggle button. (A filled-in indicator is
ON, a raised indicator is OFF.)
C)
#) The number of rows will have changed to four.
#) Move the client window so that it partially obscures
the lower left corner of the term window.
#) Raise the term window.
#) Raise the client window.
#) Resize the lower right corner of the client window to
240 x 180. Only the arrowbutton and 'Label1' should be visible.
C)
#) The number of rows has changed to one.
C)
#) Resize the window several times. The buttons should grow or shrink
to fit the window.
C)
E)