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: DNDText1.dat /main/6 1995/07/14 11:55:11 drk $"
*/


#) This is the DNDText1 test.

#) This is just to test the DND support in the Text widget.

#) Enter some text in the Text widget.

#) Select some of the entered text.

#) Position the pointer on the selected text and initiate drag by
   pressing BTransfer (MB2 by default).

#) With BTransfer pressed, drag the pointer over to some other part
   of the Text widget and release BTransfer. The selected text should
   get moved from its original position to the point where BTransfer
   was released.

#) Select some text again.

#) Position the pointer on the selected text and initiate drag by
   pressing BTransfer (MB2 by default).

#) Now hold \<Ctrl\> key down and with BTransfer pressed, drag the
   pointer to some other location in the Text widget and still
   holding the \<Ctrl\> key, release BTransfer. This time, the
   selected text should get copied into the new location, meaning
   it should still be present at its original position also.

E)