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

Home » Public Forums » archive » Re: Determining window types
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: Determining window types [message #33327 is a reply to message #33324] Thu, 19 December 2002 06:29 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
James Tappin (sjt@star.sr.bham.ac.uk) writes:

> Is there any way of determining whether a graphics window is:
> 1) A draw widget
> 2) A pixmap or
> 3) A regular window?
>
> While "device, window_state=wstat" is useful to prevent trying to do illegal
> operations on on-existent windows, there are sufficient differences between
> the 3 types of window it would be very useful to be able to distinguish
> from within a program.

I don't think there is any way to determine between
windows of different types, but I have to admit I
don't really see the need for this capability.

Graphics programs are typically either written in such
a way that they are completely ignorant of where they
are "going" (I.e., they go into PostScript output as
easily as they go into the current graphics window)
or they are written in such as way that you know
*exactly* where graphic output is going (ie., a
widget program).

I think only programs that *hope* they know what
the hell they are doing would benefit from this
feature. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: The IDL Book Bidness
Next Topic: How do I get the path for a UNIT of a file?

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

Current Time: Sun Oct 12 14:11:28 PDT 2025

Total time taken to generate the page: 0.95958 seconds