/* * 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: DNDList1.dat /main/6 1995/07/14 11:54:27 drk $" */ #) This is the DNDList1 test. #) This is just to test the DND support in the Motif List widget. To test this, you need to run another Motif client with an editable Text(Field) widget in it. #) Position the pointer on the item \"PushButton\" in the list. Initiate drag by pressing BTransfer (MB2 by default). #) With BTransfer pressed, drag the pointer over to the Text widget, and release BTransfer. The text \"PushButton\" should appear in the Text widget. C) #) Select \"DrawnButton\", \"Label\", \"ArrowButton\" items in the List by clicking MouseButton1 on these items. #) Initiate drag with the pointer positioned on one of these selected items and pressing BTransfer. #) With BTransfer pressed, drag the pointer over to the Text widget, and release BTransfer. Three items \"DrawnButton\", \"Label\" and \"ArrowButton\" should appear in the Text widget on three consecutive lines. #) Initiate drag by pressing BTransfer with the pointer over the item \"Separator\" in the List. #) With BTransfer pressed, drag the pointer over to the Text widget, and release BTransfer. This time, only the text \"Separator\" should appear new in the Text widget. E)