Blob Blame History Raw
/* $XConsortium: OptionMenu4a.dat /main/4 1995/07/17 10:16:50 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 containing a Form widget with nine OptionMenu
   children will appear.  The window will be located 350 pixels down
   from the top left corner of the display.  Click on the buttons
   labeled 'Himalayan', 'Siamese', and 'E. Shorthair' and
   you'll see the same (shared) menu pane.
      Note: there should be no warning messages in the xterm window. 
   The text should be rendered right to left.  Any toggle button
   indicators should appear to the left side of the option menu. 
#) Move the pointer into the client window.  Traverse from button to
   button using the down arrow key.  The focus should move through
   the buttons in the following order:
      Himalayan, Siamese, D. Shorthair
      Maine Cat, Burmese, E. Shorthair,
      Turkish Van,  Persian,
      Russian Blue. 
C)


#) The client window will now contain 3 OptionMenu children.
   The option menu label should appear to the right of the 
   bar graphic.
   The three OptionMenu children share the same PulldownMenu.  OptionMenu1
   sets XmNmenuHistory to Button1, OptionMenu2 sets XmNmenuHistory to
   Button3, and OptionMenu3 sets XmNmenuHistory to Button2. 
#) Verify the defaults are set correctly. 
C)


#) The client window will now contain one OptionMenu child.  The
   selection area should be initialized to A Long Item. 
#) Verify that the OptionMenu indicator (a little rectangular button) appears
   to the left of the A Long Item label. 
#  Verify the position of the pulldown menu is to the right of the
   OptionMenu indicator.
C)


#) The client window will now be empty.  A menu shell will
   appear that contains one OptionMenu child. 
#) The Button Label should read: Button Label:
   The contents of the OptionMenu should read: new long Text.  
#) Verify that the Button Label appears to the right of the option menu.
   The OptionMenu indicator should appear to the left of the
   OptionMenu label.
E)