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

Home » Public Forums » archive » graphics 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: graphics window [message #85787 is a reply to message #76335] Sun, 08 September 2013 09:26 Go to previous messageGo to previous message
peterkamatej is currently offline  peterkamatej
Messages: 2
Registered: September 2013
Junior Member
Dne středa, 25. května 2011 18:38:40 UTC+2 David Fanning napsal(a):
> David Fanning writes:
>
>> That window also immediately appears on top of the Workbench.
>> However, when I click in the editor to edit the file, the
>> damn window won't go away! It stubbornly persists in staying
>> directly in front of the area of the Workbench I want to type in!
>
> I found a button in the IDL graphics preferences that
> was set. The button was "Graphics windows stay on top".
> This button was set in my Workbench.
>
> With the button not selected, the function graphics
> window appears in front of the Workbench when it is
> created, but then disappears seemingly forever when
> I click in the Workbench to type something. Nothing
> I can find to do in the Workbench brings it forward.
>
> I can find it again by either clicking on my IDL
> icon in the taskbar at the bottom of my page,
> finding the window I want, and clicking on it. Or,
> I can find it by cycling through the 10-20 open
> windows I have on my computer at any one time with
> Alt-Tab. It disappears again when I do anything
> in the Workbench.
>
> Cheers,
>
> David
>
>
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Dear David,

I see this is quite an old discussion but just for the case this question is still unanswered..

You can get the Object Graphics window back to front very simply, there is a method "Show" of the Window object. Try this:

IDL> MyWindow = window(window_title='Hello World!')

When you click on the workbench, the window disappears into background.

IDL> MyWindow.show

You have the window back.

Slightly more complicated it is with the Plot object, which does not have a "show" method. However, it has a "window" property, which retrieves a reference to the parent Window object. Therefore, you can get a Plot into foreground by this

IDL> MyGraphics = plot(hanning(100))
IDL> MyGraphics.window.show

Cheers,

Matej
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cutting/grouping
Next Topic: How to re-use object methods

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

Current Time: Fri Oct 10 19:21:26 PDT 2025

Total time taken to generate the page: 0.32265 seconds