Blame tests/DragAndDrop/DNDMenu1.dat

Packit b099d7
/* $XConsortium: DNDMenu1.dat /main/4 1995/07/17 10:05:28 drk $ */
Packit b099d7
/*
Packit b099d7
 * Motif
Packit b099d7
 *
Packit b099d7
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
Packit b099d7
 *
Packit b099d7
 * These libraries and programs are free software; you can
Packit b099d7
 * redistribute them and/or modify them under the terms of the GNU
Packit b099d7
 * Lesser General Public License as published by the Free Software
Packit b099d7
 * Foundation; either version 2 of the License, or (at your option)
Packit b099d7
 * any later version.
Packit b099d7
 *
Packit b099d7
 * These libraries and programs are distributed in the hope that
Packit b099d7
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
Packit b099d7
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
Packit b099d7
 * PURPOSE. See the GNU Lesser General Public License for more
Packit b099d7
 * details.
Packit b099d7
 *
Packit b099d7
 * You should have received a copy of the GNU Lesser General Public
Packit b099d7
 * License along with these librararies and programs; if not, write
Packit b099d7
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
Packit b099d7
 * Floor, Boston, MA 02110-1301 USA
Packit b099d7
*/
Packit b099d7
/*
Packit b099d7
 * HISTORY
Packit b099d7
*/
Packit b099d7
Packit b099d7
Packit b099d7
#) This is a basic test for dragging from menus.
Packit b099d7
#) A client will appear containing a tear-off Pulldown menu with a MenuBar
Packit b099d7
   labeled "MenuBar", an Option menu with "OptionItem1" displayed in the 
Packit b099d7
   selection area , and a label "PopupMenu" for which an event handler has
Packit b099d7
   been set, which posts a tear-off Popup menu on pressing MB3.
Packit b099d7
#) There will also be a Popup shell. containing a Text widget.
Packit b099d7
C)
Packit b099d7
Packit b099d7
#) Initiate Drag by pressing BTransfer (MB2 by default) with the 
Packit b099d7
   pointer positioned on the MenuBar. 
Packit b099d7
#) With BTransfer pressed, drag the pointer over the Text widget. 
Packit b099d7
#) Release BTransfer. The dragIcon should melt into the background, indicating
Packit b099d7
   a successful drop. The line "MenuBar" should appear in the Text widget.
Packit b099d7
C)
Packit b099d7
Packit b099d7
Packit b099d7
#) Post the Pulldown menu, by pressing MB1 on the MenuBar,
Packit b099d7
   and tear it off by releasing MB1 on the tear-off
Packit b099d7
   control.  The menu should have one item "PulldownMenu".
Packit b099d7
#) Initiate Drag by pressing BTransfer (MB2 by default) with the 
Packit b099d7
   pointer positioned on the menu item. 
Packit b099d7
#) With BTransfer pressed, drag the pointer over the Text widget. 
Packit b099d7
#) Release BTransfer. The dragIcon should melt into the background, indicating
Packit b099d7
   a successful drop. The line "PulldownMenu" should appear in the Text widget.
Packit b099d7
#) Dismiss the tear-off by choosing "Close" from the window menu.
Packit b099d7
C)
Packit b099d7
Packit b099d7
Packit b099d7
#) Initiate Drag by pressing BTransfer (MB2 by default) with the 
Packit b099d7
   pointer positioned on the selection area, of the Option menu.
Packit b099d7
#) With BTransfer pressed, drag the pointer over the Text widget. 
Packit b099d7
#) Release BTransfer. The dragIcon should melt into the background, indicating
Packit b099d7
   a successful drop. The line "OptionItem1" should appear in the Text widget.
Packit b099d7
C)
Packit b099d7
Packit b099d7
#) Post the Popup menu by pressing MB3 on the label, and tear it off by 
Packit b099d7
   releasing MB3 on the tear-off control. The menu should have a single item,
Packit b099d7
   "PopupMenu".
Packit b099d7
#) Initiate Drag by pressing BTransfer (MB2 by default) with the 
Packit b099d7
   pointer positioned on the menu item of the Popup.
Packit b099d7
#) With BTransfer pressed, drag the pointer over the Text widget. 
Packit b099d7
#) Release BTransfer. The dragIcon should melt into the background, indicating
Packit b099d7
   a successful drop. The line "PopupMenu" should appear in the Text widget.
Packit b099d7
C)
Packit b099d7
Packit b099d7
E)   
Packit b099d7
Packit b099d7