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