GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DtDndCreateSourceIcon(library call) DtDndCreateSourceIcon(library call)

DtDndCreateSourceIcon — create a drag source icon

#include &<Dt/Dnd.h>
Widget DtDndCreateSourceIcon(
Widget parent,
Pixmap pixmap,
Pixmap mask);

The DtDndCreateSourceIcon function creates a Motif drag icon, named sourceIcon, based on the characteristics of the pixmap argument. The resulting drag icon is suitable for use with DtDndDragStart(3).

The parent argument is the parent of the drag icon. Typically this widget is the drag source.

The pixmap argument is the pixmap representation of the data to be dragged.

The mask argument is the mask for the pixmap.

When it calls XmCreateDragIcon(3), the DtDndCreateSourceIcon function sets Motif resources in the drag icon; the application must not modify the values of any of these resources:

XmNwidth
XmNheight
XmNpixmap
XmNmask
XmNdepth

Upon successful completion, the DtDndCreateSourceIcon function returns a drag icon created by calling XmCreateDragIcon(3) with the characteristics of the pixmap; otherwise, it returns NULL.

Dt/Dnd.h - DtDnd(5), DtDndDragStart(3), XmCreateDragIcon(3), XmDragIcon(3), XmDragStart(3), XtDestroyWidget(3).


Search for    or go to Top of page |  Section l |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.