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: TearOffM1.dat /main/5 1995/07/13 18:41:13 drk $"
*/



#) Test for PIR 3208 
!)
#) Post Menu1 by selecting MB1 on MenuBtn1.  Move the mouse to an xterm
 window.  Press MB1 and drag.  Text in the xterm should get highlighted
 and Menu1 should disappear.
!)
#) Post Menu1 by selecting MB1 on MenuBtn1.  Tear off the menu by selecting
the tear off button.  Popup Cascade menu1 by clicking MB1 on cascade1.
Move the mouse to an xterm window.  Press MB1 and drag.  The text in the
xterm should get highlighted and the cascaded menu should disappear.
!)
#) Tear off Menu1 again.  The menu already torn off should disappear at this
  point and be replaced.
!)
#) Unpost the torn off menu.

C)

/* Test for PIRS 3500, 3512 */
#) Post Menu1 by clicking MB1 in MenuBtn1.  Press MB2 on the tear off button
   and drag the menu around the screen.  The tear off icon should not flutter
   as it is moved around the screen, over other windows.  
!)
#) Run this same test; however use a monochrome display.  Verify that the
   drag icon appears.
!)
#) Unpost the torn off menu by using KCancel.
C)

/* Test for PIR 3516 */
#) Select MB1 on MenuBtn2 to post Menu2.  Use MB2 Press on the tear off
   button to initiate the tear off.  Drag the mouse to a different location.
   Release MB2.  The menu should be torn off.
!)
#) Select MB1 in the title bar of the torn off menu to give it input focus.
!)
#) The highlight focus should appear in toggle2.
!)
#) Unpost the torn off menu by closing them via the window menu.
C)

#) Click MB1 on MenuBtn1 to bring up Menu1.
!)
#) Drag MB2 on the tear off button to tear off Menu1.  Release MB2.
!)
#) Post MenuBtn1.  Select toggle1.  The toggle1 indicator should  be
   filled in, in both the currently posted menu and the torn off one.
!)
#) Unpost the torn off menu.
!)

C)
E)