Blob Blame History Raw
'\" t
...\" DropSitT.sgm /main/8 1996/09/08 20:41:28 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 "XmDropSiteRegister" "library call"
.SH "NAME"
\fBXmDropSiteRegister\fP \(em A Drag and Drop function that identifies
a drop site and assigns resources that specify its behavior
.iX "XmDropSiteRegister"
.iX "Drag and Drop functions" "XmDropSiteRegister"
.iX "register functions" "XmDropSiteRegister"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/DragDrop\&.h>
\fBvoid \fBXmDropSiteRegister\fP\fR(
\fBWidget \fBwidget\fR\fR,
\fBArgList \fBarglist\fR\fR,
\fBCardinal \fBargcount\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmDropSiteRegister\fP identifies the specified widget or
gadget as a drop site and sets resource values that define
the drop site\&'s behavior\&. The routine assigns default values
to any resources that are not specified in the argument list\&.
The toolkit generates a warning message if a drop site is
registered with \fBXmNdropSiteActivity\fP set to
\fBXmDROP_SITE_ACTIVE\fP and the \fBXmNdropProc\fP resource
is NULL\&.
.PP
If the drop site is a descendant of a widget that is registered
as a drop site, the \fBXmNdropSiteType\fP resource of the ancestor
drop site must be specified as \fBXmDROP_SITE_COMPOSITE\fP\&. The
ancestor must be registered before the descendant\&. The drop site
is stacked above all other sibling drop sites already registered\&.
.IP "\fIwidget\fP" 10
Specifies the ID of the widget to be registered\&.
.IP "\fIarglist\fP" 10
Specifies the argument list\&.
.IP "\fIargcount\fP" 10
Specifies the number of attribute/value pairs in the argument
list (\fIarglist\fP)\&.
.PP
For a complete definition of DropSite and its associated resources,
see \fBXmDropSite\fP(3)\&.
.SH "RELATED"
.PP
\fBXmDisplay\fP(3),
\fBXmDropSite\fP(3),
\fBXmDropSiteEndUpdate\fP(3),
\fBXmDropSiteStartUpdate\fP(3),
\fBXmDropSiteUpdate\fP(3),
\fBXmDropSiteUnregister\fP(3), and
\fBXmScreen\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:22