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

Home » Public Forums » archive » call to X device opens window
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: call to X device opens window [message #50972 is a reply to message #50742] Wed, 25 October 2006 17:23 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bringfried Stecklum writes:

> Just a quick question related to the X device. I am just wondering why
> device,set_font='AnyFontYouLike' opens a window if none are open while,
> e.g. device,deco=0 does not do it?

Of course, you don't have to see this window
open on your display, I don't think. I think
a pixmap window works just as well.

thisWindow = !D.Window
Window, /Free, /pixmap, XSize=10, YSize=10
Device, Set_Font='AnyFont'
WDelete, !D.Window
IF thisWindow GE 0 THEN WSet, thisWindow

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: !P.SYMSIZE still broken? after 5 years?
Next Topic: Suggestions for tips

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

Current Time: Fri Oct 10 20:56:16 PDT 2025

Total time taken to generate the page: 0.19089 seconds