A Drag and Drop function that reorders a stack of widgets that are registered drop sites
#include <Xm/DragDrop.h> void XmDropSiteConfigureStackingOrder Widget widgetWidget siblingCardinal stack_mode
XmDropSiteConfigureStackingOrder changes the stacking order of the drop site specified by widget. The stacking order controls the manner in which drag-under effects are clipped by overlapping siblings, regardless of whether they are active. The stack mode is relative either to the entire stack, or to another drop site within the stack. The stack order can be modified only if the drop sites are siblings in both the widget and drop site hierarchy, and the widget parent of the drop sites is registered as a composite drop site.
If the sibling parameter is not specified, then widget is restacked as follows:
For a complete definition of DropSite and its associated resources, see XmDropSite (3).
XmDropSite (3), XmDropSiteRetrieve (3), and XmDropSiteQueryStackingOrder (3).