XmDropTransfer man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

XmDropTransfer(3X)		   OSF/Motif		    XmDropTransfer(3X)

NAME
       XmDropTransfer - The DropTransfer widget class

SYNOPSIS
       #include <Xm/DragDrop.h>

DESCRIPTION
       DropTransfer provides a set of resources that identifies the procedures
       and associated information required by the toolkit in order to  process
       and  complete a drop transaction.  Clients should not explicitly create
       a DropTransfer widget.  Instead, a client initiates a transfer by call‐
       ing  XmDropTransferStart,  which initializes and returns a DropTransfer
       widget.	If this function is called within an XmNdropProc callback, the
       actual  transfers are initiated after the callback returns.  Even if no
       data needs to be transferred, XmDropTransferStart needs	to  be	called
       (typically  with	 no  arguments,	 or just setting XmNtransferStatus) to
       finish the drag and drop transaction.

       The XmNdropTransfers resource specifies a transfer list that  describes
       the  requested target types for the source data.	 A transfer list is an
       array of XmDropTransferEntryRec structures, each of which identifies  a
       target type.  The transfer list is analogous to the MULTIPLE selections
       capability defined in the Inter-Client Communication Conventions Manual
       (ICCCM).

       The DropTransfer resource, XmNtransferProc, specifies a transfer proce‐
       dure of type XtSelectionCallbackProc that delivers the requested selec‐
       tion  data.  This procedure operates in conjunction with the underlying
       Xt selection capabilities and is called for each target in the transfer
       list.   Additional  target  types  can be requested after a transfer is
       initiated by calling the XmDropTransferAdd function.

   Structures
       An XmDropTransferEntry is a pointer to the following structure of  type
       XmDropTransferEntryRec,	which identifies a selection target associated
       with    a    given    drop    transaction:     typedef	  struct     {
	 XtPointer client_data;	   Atom	     target; } XmDropTransferEntryRec,
       *XmDropTransferEntry;

       Specifies any additional information required by this selection	target
       Specifies a selection target associated with the drop operation

   Classes
       DropTransfer inherits behavior and a resource from Object.

       The class pointer is xmDropTransferObjectClass.

       The class name is XmDropTransfer.

   New Resources
       The  following table defines a set of widget resources used by the pro‐
       grammer to specify data.	 The programmer can also set the resource val‐
       ues  for	 the  inherited classes to set attributes for this widget.  To
       reference a resource by name or by class in a .Xdefaults	 file,	remove
       the XmN or XmC prefix and use the remaining letters.  To specify one of
       the defined values for a resource in a .Xdefaults file, remove  the  Xm
       prefix and use the remaining letters (in either lowercase or uppercase,
       but include any underscores between words).  The codes  in  the	access
       column  indicate if the given resource can be set at creation time (C),
       set by using XtSetValues (S), retrieved by using XtGetValues (G), or is
       not applicable (N/A).

			    XmDropTransfer Resource Set
	─────────────────────────────────────────────────────────────────────
	Name			    Default			      Access
	      Class			  Type
	─────────────────────────────────────────────────────────────────────
	─────────────────────────────────────────────────────────────────────
	XmNdropTransfers	    NULL			      CG
	      XmCDropTransfers		   XmDropTransferEntryRec *
	─────────────────────────────────────────────────────────────────────
	XmNincremental		    False			      CSG
	      XmCIncremental		   Boolean
	─────────────────────────────────────────────────────────────────────
	XmNnumDropTransfers	    0				      CSG
	      XmCNumDropTransfers	   Cardinal
	─────────────────────────────────────────────────────────────────────
	XmNtransferProc		    NULL			      CSG
	      XmCTransferProc		   XtSelectionCallbackProc
	─────────────────────────────────────────────────────────────────────
	XmNtransferStatus	    XmTRANSFER_SUCCESS		      CSG
	      XmCTransferStatus		   unsigned char
	─────────────────────────────────────────────────────────────────────

       Specifies  the address of an array of drop transfer entry records.  The
       drop transfer is complete when all the entries in the  list  have  been
       processed.  Specifies a Boolean value that indicates whether the trans‐
       fer on the receiver side uses the  Xt  incremental  selection  transfer
       mechanism  described  in X Toolkit Intrinsics—C Language Interface.  If
       the value is True, the receiver uses incremental transfer; if the value
       is  False,  the receiver uses atomic transfer.  Specifies the number of
       entries in XmNdropTransfers.  If this resource is set to 0 at any time,
       the  transfer  is  considered complete.	The value of XmNtransferStatus
       determines the completion handshaking process.  Specifies  a  procedure
       of  type	 XtSelectionCallbackProc that delivers the requested selection
       values.	The widget argument passed to this procedure is the DropTrans‐
       fer  widget.  The selection atom passed is _MOTIF_DROP.	For additional
       information on selection callback procedures, see X Toolkit Intrinsics—
       C  Language Interface.  Specifies the current status of the drop trans‐
       fer.  The client updates this value when the transfer ends and communi‐
       cates  the value to the initiator.  The possible values are: The trans‐
       fer succeeded.  The transfer failed.

   Inherited Resources
       DropTransfer inherits behavior and a resource from Object.  For a  com‐
       plete description of this resource, refer to the Object reference page.

				 Object Resource Set
		 ────────────────────────────────────────────────────
		 Name		      Default		      Access
		       Class		    Type
		 ────────────────────────────────────────────────────
		 ────────────────────────────────────────────────────
		 XmNdestroyCallback   NULL		      C
		       XmCCallback	     XtCallbackList
		 ────────────────────────────────────────────────────

RELATED INFORMATION
       Object(3X), XmDisplay(3X), XmDragContext(3X), XmDragIcon(3X), XmDrop‐
       Site(3X), XmDropTransferAdd(3X), and XmDropTransferStart(3X).

							    XmDropTransfer(3X)
[top]

List of man pages available for Ultrix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net