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

Home » Public Forums » archive » TVRD() and WRITE_GIF
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
TVRD() and WRITE_GIF [message #18647] Tue, 25 January 2000 00:00
Mark Buckley is currently offline  Mark Buckley
Messages: 7
Registered: December 1998
Junior Member
Hi,

Hopefully this won't turn out to be a dozy question - I'm a bit out of
practise on IDL at the moment.

Anyway, what I'd like to do is grab a window image, so that I can write it
out as a GIF.

The difficulty I'm having is that as I'm using widgets, I'm not sure how to
get the actual window ID for the
the call to TVRD(), all I seem to get back is the draw widget contents.

e.g.

pro get_window

base = widget_base(/column)
junk = widget_label(base,value = "Hi")
draw = widget_draw(base,xsize=200,ysize=300)
.
.
widget_control,base,/realize
widget_control,draw,get_value = draw_id

res = tvrd()
help,res
end

This just returns me an array of the draw widget (200x300), not the whole
window.

cheers,

Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: CenterOfGravity
Next Topic: Fractal analysis in PV-WAVE, anyone?

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

Current Time: Sat Oct 11 09:18:52 PDT 2025

Total time taken to generate the page: 0.88059 seconds