'\" t .\" DropSitQ.sgm /main/8 1996/09/08 20:41:18 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmDropSiteQueryStackingOrder" 3 .SH "NAME" \fBXmDropSiteQueryStackingOrder\fP \(em 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" .SH "SYNOPSIS" .PP .nf #include \fBStatus \fBXmDropSiteQueryStackingOrder\fP\fR( \fBWidget \fBwidget\fR\fR, \fBWidget *\fBparent_return\fR\fR, \fBWidget **\fBchild_returns\fR\fR, \fBCardinal *\fBnum_child_returns\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmDropSiteQueryStackingOrder\fP 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 \fBXtFree\fP\&. .IP "\fIwidget\fP" 10 Specifies the widget ID\&. For this widget, you obtain the list of its children, its parent, and the number of children\&. .IP "\fIparent_return\fP" 10 Returns the widget ID of the drop site parent of the specified widget\&. .IP "\fIchild_returns\fP" 10 Returns a pointer to the list of drop site children associated with the specified widget\&. The function allocates memory to hold the list\&. The application is responsible for managing the allocated space\&. The application can recover the allocated space by calling \fBXtFree\fP\&. .IP "\fInum_child_returns\fP" 10 Returns the number of drop site children for the specified widget\&. .PP For a complete definition of DropSite and its associated resources, see \fBXmDropSite\fP(3)\&. .SH "RETURN" .PP Returns 0 (zero) if the routine fails; returns a nonzero value if it succeeds\&. .SH "RELATED" .PP \fBXmDropSite\fP(3) and \fBXmDropSiteConfigureStackingOrder\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:22