home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8243 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.1 KB  |  31 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!caen!garath
  3. From: garath@irony.engin.umich.edu (Scott Grosch)
  4. Subject: Drag and Drop example
  5. Message-ID: <wxZ=v-A@engin.umich.edu>
  6. Date: Tue, 29 Dec 92 08:21:46 EST
  7. Organization: University of Michigan (CAEN)
  8. Reply-To: garath@engin.umich.edu
  9. Originator: garath@irony.engin.umich.edu
  10. Nntp-Posting-Host: irony.engin.umich.edu
  11. Lines: 18
  12.  
  13.  
  14. Would someone be willing to send me a small example of how to use the drag and
  15. drop routines in motif 1.2?  I don't understand atoms at all, so I'm totally
  16. lost with what to do.  
  17.  
  18. I have a RowColumn widget that I want to be the source, and I have a label
  19. widget (an XpmPixmap basically) that I want as the drop site.  When the icon
  20. moves over the label widget I'd like for the icon to change to another icon
  21. so that the person knows they can drop there, but this is not at all necessary.
  22. Thank you very much.
  23.  
  24.         --Scott
  25.  
  26.  
  27. -- 
  28. Scott Grosch                              Internet: garath@engin.umich.edu
  29. Programmer                                        Bitnet: user7a4b@umichum
  30. Computer Aided Engineering Network                  University of Michigan
  31.