comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Printing a collection of widget items
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Printing a collection of widget items [message #49499 is a reply to message #49494] Tue, 01 August 2006 17:34 Go to previous messageGo to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
Ryan. wrote:
> Dear All,
>
> I have one window with a collection of button, text, draw and label
> widgets (in one base widget) and would like to know if there is a way
> of printing it. I tried to get the value (id) of the base widget to
> try to use David Fanning's TVREAD routine, but you cannot call the
> get_value parameter on a widget_base. Has anyone been able to do this
> or does anyone know what the correct way to do it? My routine is quite
> lengthy because there are so many widgets so I will not include it but
> I can put it up if you would like. Thanks.
>
> Ryan.
>

Do you want a screenshot of your widget program? I'm don't think you can
do that from within IDL, but any decent image viewer / editor (e.g.,
Irfan View on Windows) can take screenshots. If you can find a command
line tool (probably Image Magick has one) to capture the currently
active window, you can just spawn a call to that.

If you don't care about the exact widget layout but more about the
information in the widgets, you can just capture the draw widget with
TVREAD, print it and manually print the values from the text / label
widgets next to it (XYOUTS).

Good luck,
Benjamin
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: can't change PATH preference under Windows?
Next Topic: Interpolation question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:18:29 PDT 2025

Total time taken to generate the page: 0.00424 seconds