X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Dec 2007 05:24 PM by  anon
IDL 7
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
06 Dec 2007 05:24 PM
    The old IDL versions used to let you force the graphics to always be on top so graphics windows were visible while typing code into the command line. Where do I find this option in IDL 7.0?

    Deleted User



    New Member


    Posts:
    New Member


    --
    06 Dec 2007 05:24 PM
    The option is not yet there, and, in fact, this first iteration of the IDL Workbench has issues with opening new graphics and new widget windows on top of the Workbench after a first window has fallen behind the workbench. For example, WSHOW is at least partially, if not fully, disabled. It is a top priority of our IDL development team to restore the ability to pin graphics windows "on top" and to restore the functionality of WSHOW. The task is simply much more difficult with the new IDL Workbench architecture because two processes are now involved. It is hard for a process-in-focus, in this case the Eclipse/IDL process and its command line, to control the operating system's window precedence for a second independent process, in this case the IDL math and graphics manipulation process. The most obvious workaround based on routines familiar to most programmers is to use the windowing system's ALT-Tab key combination (or its UNIX/Linux/Mac equivalent) to toggle bringing the Graphics Window in front. This is certainly a new requirement, but not much more costly in key entry steps required compared to the CTRL-W step (on Windows) that earlier version IDLDE required to move keyboard focus back to the IDL> command line. A much better option, however, is to take advantage of the extraordinary flexibility of how the Eclipse workbench window displays. Here is an example. Let's say you know you are going to be processing graphics windows and you are interested primarily in your Console, your Command Line, your Variable View and your Graphics and/or widget window(s). Here are some steps that, after initial execution, can give you a "Perspective" that is graphics development friendly with a simple click on the main Workbench 'Minimize' button. Step 1: 'Resize Down' your main IDL Workbench window. Step 2: By clicking and dragging on their tab labels, you can one by one tear off of the Workbench the Views that interest you most. You pull the Console View, the Command Line View and the Variable View onto independent strategic locations on your desktop where each one lives as an independently resizable and relocatable window. Step 3: It is not hard to position and resize 3 or 4 Views like these so that they leave plenty of real estate for your graphics, iTools or widget windows. Step 4: Your main IDL Workbench window, which now contains the Views you are LEAST interested in, can be resized to a minimal size (100 x 100, if you want) and pushed as far out of the way as you want. Step 5: When everything is laid out like you like, save this Perspective with the easy-to-use 'Window->Save Perspective As...' dialog. I call my multi-window perspective "Graphics Processing". Step 6: Go to your 'Window->Preferences...->General->Perspectives' dialog and click on the 'Open a New Perspective in a New Window' option. Hit 'Apply' and 'OK'. Step 7: Now hit the little 'Open Perspective' icon in the middle of your little Main Workbench window and select the "IDL" perspective. This will now put the routine IDL perspective in a separate, independently closable/minimizable window. Maximize that window to make it your full-blown Workbench perspective, where you get easy access to all your Views, not just the ones for graphics processing. This is where you would do your work in the Editor and in debugging. Your Workbench configuration is now stored in two distinct window icons on your task bar. When you want Graphics Processing with extra real estate for IDL graphics and widget windows, you need only Minimize the IDL Perspective Window. Re-maximize it when you are done with your graphics debugging/development work. Maximized or minimized, both Perspectives will reload on the display in the state they were last in every time you restart the IDLDE. James Jones ITT Technical Support
    You are not authorized to post a reply.