Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I programatically control xwd to dump a specific window?

0
Posted

How do I programatically control xwd to dump a specific window?

0

I need a non-interactive way to tell xwd what X window to make an image of… NOT by the traditional point-and-click method. [Last modified: July 95] Answer: Ken Sall (ksall@cen.com) wrote: 1. Get the window id of the toplevel shell widget using the “XtWindow” function. 2. Invoke “xwd” from the program that has access to the window id, such as: Window dumpId; /* returned from XtWindow */ sprintf (cmd_string, “xwd -frame -out tmp.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.