home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / x / 18749 < prev    next >
Encoding:
Text File  |  1992-11-05  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!caen!sol.ctr.columbia.edu!mary.fordham.edu!sbhatia
  3. From: sbhatia@mary.fordham.edu (SABU)
  4. Subject: how to create a button using XLIB????
  5. Sender: nobody@ctr.columbia.edu
  6. Organization: Fordham University
  7. Date: Thu, 5 Nov 1992 14:57:00 GMT
  8. News-Software: VAX/VMS VNEWS 1.41    
  9. Message-ID: <5NOV199210570324@mary.fordham.edu>
  10. Distribution: usa
  11. X-Posted-From: mary.fordham.edu
  12. NNTP-Posting-Host: sol.ctr.columbia.edu
  13. Lines: 24
  14.  
  15.  
  16. Hi,
  17.  
  18.     Could anybody out there guide me as to how one goes about
  19. creating buttons using XLIB. The issues that I am very interested in
  20. are for ex-: who supplies the colormap, the caller or does the
  21. button widget create it's own colormap. How to change the color of the button
  22. when user points to it and presses the mouse button. How do
  23. you handle expose events, like for example, I create a button to quit.
  24. I place it on some window, but that window gets covered by another window
  25. when I raise this window I would like to restre the contents of
  26. the button.
  27.  
  28.  
  29. thanks,
  30.  
  31. sabu
  32.  
  33. ////////////////////////////////////////////////////////////////////////
  34. /   Internet:  SBHATIA@mary.fordham.edu                                /
  35. /   BITnet:    SBHATIA@FORDMULC                                        /
  36. /                                                                      /
  37. /                                                                      /
  38. ////////////////////////////////////////////////////////////////////////
  39.