XmDropSiteQueryStackingOrder(3) | Library Functions Manual | XmDropSiteQueryStackingOrder(3) |
XmDropSiteQueryStackingOrder — A Drag and Drop function that returns the parent, a list of children, and the number of children for a specified widget "XmDropSiteQueryStacking\%Order" "Drag and Drop functions" "XmDropSiteQueryStacking\%Order"
#include <Xm/DragDrop.h> Status XmDropSiteQueryStackingOrder( Widget widget, Widget *parent_return, Widget **child_returns, Cardinal *num_child_returns);
XmDropSiteQueryStackingOrder obtains the parent, a list of children registered as drop sites, and the number of children registered as drop sites for a given widget. The children are listed in current stacking order, from bottom-most (first child) to the top-most (last child). This function allocates memory for the returned data that must be freed by calling XtFree.
For a complete definition of DropSite and its associated resources, see XmDropSite(3).
Returns 0 (zero) if the routine fails; returns a nonzero value if it succeeds.