XmDragIcon man page on DigitalUNIX

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

XmDragIcon(3X)							XmDragIcon(3X)

NAME
       XmDragIcon - The DragIcon widget class

SYNOPSIS
       #include <Xm/DragDrop.h>

DESCRIPTION
       A  DragIcon  is	a component of the visual used to represent the source
       data in a drag and drop transaction.  During a drag operation,  a  real
       or simulated X cursor provides drag-over visuals consisting of a static
       portion that represents the object being dragged, and dynamic cues that
       provide	visual	feedback  during  the  drag  operation.	 The visual is
       attained by blending together  various  XmDragIcons  specified  in  the
       XmDragContext associated with the drag operation.

       The  static  portion of the drag-over visual is the graphic representa‐
       tion that identifies the drag source.  For example, when a  user	 drags
       several	items within a list, a DragIcon depicting a list might be sup‐
       plied as the visual.  The XmDragContext resources,  XmNsourceCursorIcon
       or  XmNsourcePixmapIcon,	 specify a DragIcon to use for the static por‐
       tion of the visual.

       A drag-over visual incorporates dynamic cues in order to provide visual
       feedback	 in  response  to the user's actions.  For instance, the drag-
       over visual might use different indicators  to  identify	 the  type  of
       operation  (copy,  link,	 or move) being performed.  Dynamic cues could
       also alert the user that a drop site is valid or invalid as the pointer
       traverses  the  drop site.  The XmNoperationCursorIcon and XmNstateCur‐
       sorIcon resources of XmDragContext specify DragIcons for dynamic cues.

       A drag-over visual typically consists of a source, operation and	 state
       DragIcon.   The	XmNblendModel resource of XmDragContext offers several
       options that determine which icons are blended to produce the drag-over
       visual.	DragIcon resources control the relative position of the opera‐
       tion and state icons (if used).	If a particular DragIcon is not speci‐
       fied, the toolkit uses the XmScreen default DragIcons.

       An  application initializes a DragIcon with the function XmCreateDragI‐
       con or through entries in the resource database.	 If a pixmap  and  its
       mask  (optional)	 are  specified	 in the resource database, the toolkit
       converts the values in the X11 Bitmap file format and assigns values to
       the corresponding resources.

   Classes
       DragIcon inherits behavior and a resource from Object.

       The class pointer is xmDragIconObjectClass.

       The class name is XmDragIcon.

   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).

       XmDragIcon Resource Set

       Class: XmCAttachment
       Default: XmATTACH_NORTH_WEST
       Type:  unsigned char
       Access: CSG
       Class: XmCDepth
       Default: 1
       Type:  int
       Access: CSG
       Class: XmCHeight
       Default: 0
       Type:  Dimension
       Access: CSG
       Class: XmCHot
       Default: 0
       Type:  Position
       Access: CSG
       Class: XmCHot
       Default: 0
       Type:  Position
       Access: CSG
       Class: XmCOffset
       Default: 0
       Type:  Position
       Access: CSG
       Class: XmCOffset
       Default: 0
       Type:  Position
       Access: CSG
       Class: XmCPixmap
       Default: XmUNSPECIFIED_PIXMAP
       Type:  Pixmap
       Access: CSG
       Class: XmCWidth
       Default: 0
       Type:  Dimension
       Access: CSG

	      Specifies a relative location on the source icon for the attach‐
	      ment of the state or operation icon.  The origin	of  the	 state
	      and  operation icons is aligned with the specified compass point
	      on the source icon. The XmNoffsetX and XmNoffsetY resources  can
	      be used to further refine the icon positions.  The possible val‐
	      ues are: Attaches the origin of the state or operation  icon  to
	      the  northwest point on the source icon.	Attaches the origin of
	      the state or operation icon to the north	point  on  the	source
	      icon.  Attaches the origin of the state or operation icon to the
	      northeast point on the source icon.  Attaches the origin of  the
	      state  or	 operation  icon to the east point on the source icon.
	      Attaches the origin of the state or operation icon to the south‐
	      east point on the source icon.  Attaches the origin of the state
	      or operation icon	 to  the  south	 point	on  the	 source	 icon.
	      Attaches the origin of the state or operation icon to the south‐
	      west point on the source icon.  Attaches the origin of the state
	      or  operation  icon  to  the  west  point	 on  the  source icon.
	      Attaches the origin of the state or operation icon to the center
	      of the source icon.  The XmNoffsetX and XmNoffsetY resources may
	      be used to center the attached icon.  Attaches the hotspot coor‐
	      dinates  of  a state or operation DragIcon to an x,y position on
	      the source icon.	The x,y coordinate is  taken  from  the	 event
	      passed  to  the  XmDragStart  function, and made relative to the
	      widget passed as an argument to the  same	 function.   Specifies
	      the  depth  of  the pixmap.  Specifies the height of the pixmap.
	      Specifies the x-coordinate of the hotspot of a  cursor  DragIcon
	      in relation to the origin of the pixmap bounding box.  Specifies
	      the y-coordinate of the hotspot of a cursor DragIcon in relation
	      to the origin of the pixmap bounding box.	 Specifies a pixmap of
	      depth one to use as the DragIcon mask pixmap.  Specifies a hori‐
	      zontal  offset  (in pixels) of the origin of the state or opera‐
	      tion icon relative to the attachment point on the source icon. A
	      positive	offset value moves the origin to the right; a negative
	      value moves the origin to the left.  Specifies a vertical offset
	      (in  pixels)  of the origin of the state or operation icon rela‐
	      tive to the attachment point on the  source  icon.   A  positive
	      offset  value  moves the origin down; a negative value moves the
	      origin up.  Specifies a pixmap to use as	the  DragIcon  pixmap.
	      Specifies the width of the pixmap.

   Inherited Resources
       DragIcon	 inherits behavior and a resource from Object.	For a complete
       description of this resource, refer to the Object man page.

       Object Resource Set

       Class: XmCCallback
       Default: NULL
       Type:  XtCallbackList
       Access: C

SEE ALSO
       Object(3X),  XmCreateDragIcon(3X),  XmDisplay(3X),   XmDragContext(3X),
       XmDropSite(3X), XmDropTransfer(3X), XmScreen(3X)

								XmDragIcon(3X)
[top]

List of man pages available for DigitalUNIX

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