*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtDndCreateSourceIcon (3)              
Title
Content
Arch
Section
 

Contents


 DtDndCreateSourceIcon(library call)     DtDndCreateSourceIcon(library call)




 NAME    [Toc]    [Back]
      DtDndCreateSourceIcon - create a drag source icon

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Dnd.h>
      Widget DtDndCreateSourceIcon(
      Widget parent,
      Pixmap pixmap,
      Pixmap mask);

 DESCRIPTION    [Toc]    [Back]
      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

 RETURN VALUE    [Toc]    [Back]
      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.

 SEE ALSO    [Toc]    [Back]
      Dt/Dnd.h - DtDnd(5), DtDndDragStart(3), XmCreateDragIcon(3),
      XmDragIcon(3), XmDragStart(3), XtDestroyWidget(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
htmake IRIX create a web site from a source document tree
autoproject Linux create a skeleton source package for a new program
XmDragCancel IRIX A Drag and Drop function that terminates a drag transaction
XmDragCancel Tru64 A Drag and Drop function that terminates a drag transaction
XmDragCancel HP-UX A Drag and Drop function that terminates a drag transaction
mkstr NetBSD create an error message file by massaging C source
mkstr IRIX create an error message file by massaging C source
mkstr OpenBSD create an error message file by massaging C source
mkstr FreeBSD create an error message file by massaging C source
XmDragStart Tru64 A Drag and Drop function that initiates a drag and drop transaction
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service