|
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 |
static char rcsid[] = "$XConsortium: DNDDrop2.dat /main/6 1995/07/14 11:52:39 drk $"
|
|
Packit |
b099d7 |
*/
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) This is the DNDDrop2 test.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) There should be a topLevel window with title \"topLevel0\"
|
|
Packit |
b099d7 |
containing six PushButtons arranged in two rows, and a Text
|
|
Packit |
b099d7 |
widget, within a BulletinBoard.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) PushBtn0, PushBtn2, and PushBtn4 have been registered as SIMPLE
|
|
Packit |
b099d7 |
dropSites and BulletinBoard has been registered as COMPOSITE
|
|
Packit |
b099d7 |
dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Move \"topLevel0\" so that the control panel is fully visible.
|
|
Packit |
b099d7 |
The control panel should contain four optionMenus for modifying
|
|
Packit |
b099d7 |
animationStyle, dropActivity, dropSiteOperations, and
|
|
Packit |
b099d7 |
dragOperations. The control panel should also contain an
|
|
Packit |
b099d7 |
optionMenu \"Apply Changes To\" for applying the changes in
|
|
Packit |
b099d7 |
animationStyle, dropActivity, and dropSiteOperations, to the
|
|
Packit |
b099d7 |
either the SIMPLE dropSites, or the COMPOSITE dropSite, or
|
|
Packit |
b099d7 |
both.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) The \"Animation Style\" optionMenu should show the options,
|
|
Packit |
b099d7 |
\"HighLight\", \"ShadowOut\", \"ShadowIn\", \"None\", and
|
|
Packit |
b099d7 |
\"Pixmap\". \"Pixmap\" is insensitive. \"Highlight\" is the
|
|
Packit |
b099d7 |
selected item at startup.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) The \"Drop Activity\" optionMenu should show the options,
|
|
Packit |
b099d7 |
\"Active\",\"Inactive\" and \"Ignore"\. \"Active\" is the selected item
|
|
Packit |
b099d7 |
at startup.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) The \"Drop Operations\" optionMenu should show the options,
|
|
Packit |
b099d7 |
\"Move_n_Copy\", \"MoveOnly\", \"CopyOnly\", \"LinkOnly\",
|
|
Packit |
b099d7 |
\"Move_n_Link\", \"Copy_n_Link\", and \"All\". \"Move_n_Copy\"
|
|
Packit |
b099d7 |
is the selected item at startup.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) The \"Drag Operations\" optionMenu should show the options,
|
|
Packit |
b099d7 |
\"Move_n_Copy\", \"MoveOnly\", \"CopyOnly\", \"LinkOnly\",
|
|
Packit |
b099d7 |
\"Move_n_Link\", \"Copy_n_Link\", and \"All\". \"Move_n_Copy\"
|
|
Packit |
b099d7 |
is the selected item at startup.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) The \"Apply Changes To\" optionMenu should show the options,
|
|
Packit |
b099d7 |
\"PushButtons\", \"BulletinBoard\", and \"Both\". \"PushButtons\"
|
|
Packit |
b099d7 |
is the selected item at startup.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) If you want to run another DND test simultaneously and do not
|
|
Packit |
b099d7 |
care about the instructions of that test, run that test with
|
|
Packit |
b099d7 |
the option -u "-noinstruct". Otherwise, before proceeding
|
|
Packit |
b099d7 |
further you will have to reposition the control panels, the
|
|
Packit |
b099d7 |
topLevel windows, and the instruction panels of both the tests
|
|
Packit |
b099d7 |
so that they are all completely visible.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns. A dragIcon should
|
|
Packit |
b099d7 |
appear consisting of a runner, an open folder, and an arrowhead.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) With BTransfer pressed, drag the pointer over different PushBtns
|
|
Packit |
b099d7 |
and over the Text widget.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within PushBtn1, PushBtn3, or PushBtn5,
|
|
Packit |
b099d7 |
you should not see any visual change.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within PushBtn0, PushBtn2, or PushBtn4,
|
|
Packit |
b099d7 |
the borders of those PushBtns should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the BulletinBoard but outside of
|
|
Packit |
b099d7 |
PushBtn0, PushBtn2, PushBtn4, and the Text widget, the borders of
|
|
Packit |
b099d7 |
the BulletinBoard should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Move the pointer over to rootWindow and release BTransfer. The
|
|
Packit |
b099d7 |
dragIcon should snap back to from where the drag was initiated
|
|
Packit |
b099d7 |
and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"ShadowIn\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"PushButtons\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new animationStyle to all the registered PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, when the pointer is being dragged over PushBtn0, PushBtn2,
|
|
Packit |
b099d7 |
and PushBtn4, the dragUnder effect should be displayed by an
|
|
Packit |
b099d7 |
inset shadow.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is being dragged over other PushBtns or the
|
|
Packit |
b099d7 |
BulletinBoard outside of all the PushBtns and Text widget, the
|
|
Packit |
b099d7 |
borders of the BulletinBoard should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Move the pointer over to rootWindow and release BTransfer. The
|
|
Packit |
b099d7 |
dragIcon should snap back to from where the drag was initiated
|
|
Packit |
b099d7 |
and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"ShadowOut\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"PushButtons\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new animationStyle to all the registered PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, when the pointer is being dragged over PushBtn0, PushBtn2,
|
|
Packit |
b099d7 |
and PushBtn4, the dragUnder effect should be displayed by an
|
|
Packit |
b099d7 |
outset shadow.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is being dragged over other PushBtns or the
|
|
Packit |
b099d7 |
BulletinBoard outside of all the PushBtns and Text widget, the
|
|
Packit |
b099d7 |
borders of the BulletinBoard should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Move the pointer over to rootWindow and release BTransfer. The
|
|
Packit |
b099d7 |
dragIcon should snap back to from where the drag was initiated
|
|
Packit |
b099d7 |
and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"None\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"PushButtons\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new animationStyle to all the registered PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, even when the pointer is being dragged over PushBtn0,
|
|
Packit |
b099d7 |
PushBtn2, or PushBtn4, there should be no visual change.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is being dragged over other PushBtns or the
|
|
Packit |
b099d7 |
BulletinBoard outside of all the PushBtns and Text widget, the
|
|
Packit |
b099d7 |
borders of the BulletinBoard should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Move the pointer over to rootWindow and release BTransfer. The
|
|
Packit |
b099d7 |
dragIcon should snap back to from where the drag was initiated
|
|
Packit |
b099d7 |
and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"HighLight\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"PushButtons\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new animationStyle to all the registered PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"ShadowIn\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"BulletinBoard\" from the \"Apply Changes To\" menu to
|
|
Packit |
b099d7 |
apply this new animationStyle to the BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, when the pointer is being dragged over PushBtn0, PushBtn2,
|
|
Packit |
b099d7 |
and PushBtn4, the widgets should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is being dragged over other PushBtns or the
|
|
Packit |
b099d7 |
BulletinBoard outside of all the PushBtns and Text widget, the
|
|
Packit |
b099d7 |
dragUnder effect should be displayed by an inset shadow on the
|
|
Packit |
b099d7 |
BulletinBoard.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Move the pointer over to rootWindow and release BTransfer. The
|
|
Packit |
b099d7 |
dragIcon should snap back to from where the drag was initiated
|
|
Packit |
b099d7 |
and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"ShadowOut\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"BulletinBoard\" from the \"Apply Changes To\" menu to
|
|
Packit |
b099d7 |
apply this new animationStyle to the BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, when the pointer is being dragged over PushBtn0, PushBtn2,
|
|
Packit |
b099d7 |
and PushBtn4, the widgets should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is being dragged over other PushBtns or the
|
|
Packit |
b099d7 |
BulletinBoard outside of all the PushBtns and Text widget, the
|
|
Packit |
b099d7 |
dragUnder effect should be displayed by an outset shadow on the
|
|
Packit |
b099d7 |
BulletinBoard.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Move the pointer over to rootWindow and release BTransfer. The
|
|
Packit |
b099d7 |
dragIcon should snap back to from where the drag was initiated
|
|
Packit |
b099d7 |
and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"None\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"BulletinBoard\" from the \"Apply Changes To\" menu to
|
|
Packit |
b099d7 |
apply this new animationStyle to the BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, when the pointer is being dragged over PushBtn0, PushBtn2,
|
|
Packit |
b099d7 |
and PushBtn4, the widgets should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is being dragged over other PushBtns or the
|
|
Packit |
b099d7 |
BulletinBoard outside of all the PushBtns and Text widget,
|
|
Packit |
b099d7 |
there should be no visual feedback.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Move the pointer over to rootWindow and release BTransfer. The
|
|
Packit |
b099d7 |
dragIcon should snap back to from where the drag was initiated
|
|
Packit |
b099d7 |
and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"HighLight\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"BulletinBoard\" from the \"Apply Changes To\" menu to
|
|
Packit |
b099d7 |
apply this new animationStyle to the BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"ShadowIn\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Both\" from the \"Apply Changes To\" menu to apply this
|
|
Packit |
b099d7 |
new animationStyle to all the registered PushBtn dropSites and the
|
|
Packit |
b099d7 |
BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, when the pointer is being dragged over PushBtn0, PushBtn2,
|
|
Packit |
b099d7 |
and PushBtn4, the dragUnder effect should be displayed by an
|
|
Packit |
b099d7 |
inset shadow.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is being dragged over other PushBtns or the
|
|
Packit |
b099d7 |
BulletinBoard outside of all the PushBtns and Text widget, the
|
|
Packit |
b099d7 |
dragUnder effect should be displayed by an inset shadow on the
|
|
Packit |
b099d7 |
BulletinBoard.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"ShadowOut\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Both\" from the \"Apply Changes To\" menu to apply this
|
|
Packit |
b099d7 |
new animationStyle to all the registered PushBtn dropSites and the
|
|
Packit |
b099d7 |
BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, when the pointer is being dragged over PushBtn0, PushBtn2,
|
|
Packit |
b099d7 |
or PushBtn4, the dragUnder effect should be displayed by an
|
|
Packit |
b099d7 |
outset shadow. And when the pointer is being dragged over other
|
|
Packit |
b099d7 |
PushBtns or the BulletinBoard outside of all the PushBtns and
|
|
Packit |
b099d7 |
Text widget, the dragUnder effect should be displayed by an
|
|
Packit |
b099d7 |
outset shadow on the BulletinBoard.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"None\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Both\" from the \"Apply Changes To\" menu to apply this
|
|
Packit |
b099d7 |
new animationStyle to all the registered PushBtn dropSites and
|
|
Packit |
b099d7 |
the BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, even when the pointer is being dragged over PushBtn0,
|
|
Packit |
b099d7 |
PushBtn2, or PushBtn4, or anywhere on the BulletinBoard except
|
|
Packit |
b099d7 |
the Text widget, there should be no visual feedback.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the pointer is moving within the Text widget, the borders of
|
|
Packit |
b099d7 |
the Text widget should get highlighted.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"HighLight\" from the \"Animation Style\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Both\" from the \"Apply Changes To\" menu to apply this
|
|
Packit |
b099d7 |
new animationStyle to all the registered PushBtn dropSites and the
|
|
Packit |
b099d7 |
BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Inactive\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"PushButtons\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new dropActivity to all the registered PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, even when the pointer is being dragged over PushBtn0,
|
|
Packit |
b099d7 |
PushBtn2, or PushBtn4, there should be no visual change. But,
|
|
Packit |
b099d7 |
if you attempt drop on any of these three registered dropSites
|
|
Packit |
b099d7 |
by releasing BTransfer with the pointer over any one of them,
|
|
Packit |
b099d7 |
the dragIcon should melt into the background, since at this time,
|
|
Packit |
b099d7 |
the Bulletinboard dropSite which is active, accepts the drop.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Ignore\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"PushButtons\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new dropActivity to all the registered PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, even when the pointer is being dragged over PushBtn0,
|
|
Packit |
b099d7 |
PushBtn2, or PushBtn4, there should be no visual change. But,
|
|
Packit |
b099d7 |
if you attempt drop on any of these three registered dropSites
|
|
Packit |
b099d7 |
by releasing BTransfer with the pointer over any one of them,
|
|
Packit |
b099d7 |
the dragIcon should melt into the background, since at this time,
|
|
Packit |
b099d7 |
the Bulletinboard dropSite which is active, accepts the drop.
|
|
Packit |
b099d7 |
#) Select \"Active\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"PushButtons\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new dropActivity to all the registered PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, the visual changes should be back while dragging over
|
|
Packit |
b099d7 |
PushBtn0, PushBtn2, and PushBtn4. And also, if you attempt
|
|
Packit |
b099d7 |
drop over any one of these dropSites, the dragIcon should
|
|
Packit |
b099d7 |
melt into the background and disappear. This time, it is the
|
|
Packit |
b099d7 |
PushBtn dropSite which accepts the drop.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Inactive\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"BulletinBoard\" from the \"Apply Changes To\" menu to
|
|
Packit |
b099d7 |
apply this new dropActivity to the BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, wherever the pointer is being dragged over within the
|
|
Packit |
b099d7 |
BulletinBoard including the Text widget, there should be no visual
|
|
Packit |
b099d7 |
feedback. And also, if you attempt drop on any of the registered
|
|
Packit |
b099d7 |
dropSites including the Text widget, by releasing BTransfer with
|
|
Packit |
b099d7 |
the pointer over any one of them, the dragIcon should zap back to
|
|
Packit |
b099d7 |
the place of drag initiation and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Ignore\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"BulletinBoard\" from the \"Apply Changes To\" menu to
|
|
Packit |
b099d7 |
apply this new dropActivity to the BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, wherever the pointer is being dragged over within the
|
|
Packit |
b099d7 |
BulletinBoard including the Text widget, there should be no visual
|
|
Packit |
b099d7 |
feedback. And also, if you attempt drop on any of the registered
|
|
Packit |
b099d7 |
dropSites including the Text widget, by releasing BTransfer with
|
|
Packit |
b099d7 |
the pointer over any one of them, the dragIcon should zap back to
|
|
Packit |
b099d7 |
the place of drag initiation and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Active\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"BulletinBoard\" from the \"Apply Changes To\" menu to
|
|
Packit |
b099d7 |
apply this new dropActivity to the BulletinBoard dropSite.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Inactive\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Both\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new dropActivity to both the BulletinBoard dropSite
|
|
Packit |
b099d7 |
and the PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, wherever the pointer is being dragged over within the
|
|
Packit |
b099d7 |
BulletinBoard including the Text widget, there should be no visual
|
|
Packit |
b099d7 |
feedback. And also, if you attempt drop on any of the registered
|
|
Packit |
b099d7 |
dropSites including the Text widget, by releasing BTransfer with
|
|
Packit |
b099d7 |
the pointer over any one of them, the dragIcon should zap back to
|
|
Packit |
b099d7 |
the place of drag initiation and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Ignore\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Both\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new dropActivity to both the BulletinBoard dropSite
|
|
Packit |
b099d7 |
and the PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Initiate Drag by pressing BTransfer (MB2 by default) with the
|
|
Packit |
b099d7 |
pointer positioned on any of the PushBtns and start dragging.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Now, wherever the pointer is being dragged over within the
|
|
Packit |
b099d7 |
BulletinBoard including the Text widget, there should be no visual
|
|
Packit |
b099d7 |
feedback. And also, if you attempt drop on any of the registered
|
|
Packit |
b099d7 |
dropSites including the Text widget, by releasing BTransfer with
|
|
Packit |
b099d7 |
the pointer over any one of them, the dragIcon should zap back to
|
|
Packit |
b099d7 |
the place of drag initiation and disappear.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Active\" from the \"Drop Activity\" menu.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Select \"Both\" from the \"Apply Changes To\" menu to apply
|
|
Packit |
b099d7 |
this new dropActivity to both the BulletinBoard dropSite and
|
|
Packit |
b099d7 |
the PushBtn dropSites.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Click on the \"Test XmDisplay userData\" button.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) The label next to the button should have the text \"XmDisplay
|
|
Packit |
b099d7 |
userData works\" in it.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) This panel tests the XmDropSiteRegistered function.
|
|
Packit |
b099d7 |
#) You should see these lines printed to stdout:
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
!) For widget PushBtn0 :
|
|
Packit |
b099d7 |
Expected : True; Actual : True
|
|
Packit |
b099d7 |
!) For widget PushBtn1 :
|
|
Packit |
b099d7 |
Expected : False; Actual : False
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
E)
|