home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8292 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  2.1 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!ucbvax!GATEWAY.IITB.ERNET.IN!vijay
  2. From: vijay@GATEWAY.IITB.ERNET.IN (Vijay Talati)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Re: How to get grabs(with xwd) from Popuped menus ??
  5. Message-ID: <9301010451.AA03400@CC_2.iitb.ernet.in>
  6. Date: 1 Jan 93 04:51:45 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Distribution: inet
  9. Organization: The Internet
  10. Lines: 43
  11.  
  12. In-Reply-To: Your message of 26 Dec 92 20:07:20 +0530.
  13.              <1992Dec04.124312.17974@infko.uucp>
  14.  
  15.  
  16. >
  17.  
  18. >Hy folks,
  19. Hi,
  20.  
  21. >I want do get some grabs of my motif program to put it in the documentation.
  22. >I have problems getting grabs from PopUped menus, since they are closed when
  23. >another window gets the focus.
  24.  
  25. I did the following when i wanted to print the popup menus screen.
  26. I have openwin 2.0 , which has a snapshot program. (this should be availble
  27. on other platforms also.. i am not sure). Snapshot allows you to
  28. set a timer .. it takes the snap of the specified window/region after
  29. that many seconds.
  30. So what i did was, opened a window and fitted my program display into that 
  31. window such that only top bar of that window is seen. Then i started snapshot
  32. with time =16 secs and selected that window. Then i selected the button which 
  33. created the pop_menu. After 16 secs the snap was taken, and lo.. here you
  34. have the pop-menu in a snapshot.
  35. Nxt step was simply viewing that snapshot and grabbing it through xwd.
  36. [ Using simple xwd will also give you the top bar of the window.. i used
  37. xdump (from Uni. of Wisconsin.. ftp.cs.uwm.edu:/soft-eng). It allows
  38. to cut a region and print.
  39.  
  40. >My question: How can I get grabs (with xwd or s.th like that) from my Menu
  41. >system?
  42. I hope your question is answered!
  43.  
  44.  
  45. [ Marcus, i had sent this mail to thielman@sun.koblenz.fh-rpl.de, but it
  46.  bounced back. Hence this.]
  47.  
  48. Vijay
  49. -----------------------------------------------------------------------
  50. Vijay Talati                        Email: vijay@iitb.ernet.in
  51. ERNet Lab.                          (X.400):
  52. Computer Centre                      s=Talati ou=gateway o=iitb prmd=ernet c=in
  53. Indian Institute of Technology        Voice: (022)-5783177
  54. Powai, Bombay - 400076                     (022)-5782545 ext. 2791/2799
  55.