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

Home » Public Forums » archive » Keyboard/Input focus: MS windows vs linux
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: Keyboard/Input focus: MS windows vs linux [message #85529 is a reply to message #85528] Wed, 14 August 2013 19:10 Go to previous messageGo to previous message
Paddy Leahy is currently offline  Paddy Leahy
Messages: 7
Registered: August 2013
Junior Member
On Thursday, 15 August 2013 02:13:09 UTC+1, David Fanning wrote:
> I'd say you were probably hosed. But, this seems a little clunky to
>
> mean, and I'd do this another way. I'd store the graphics state in the
>
> user value of the draw widget. Then, at the time you make the draw
>
> widget the current graphics window to draw into it, restore it's graphic
>
> state. That way it is always ready to go when you want to use it.
>
>
>
> Cheers,
>
>
>
> David
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

That's more or less what I do. The problem is not getting the right graphics state for the widget, it is restoring the previous state when I go back to the IDL command line. If that doesn't happen, random plots tend to scrawl all over the widget instead of going to a normal graphics window. Obviously I could use WSET, TVLCT etc on the command line if necessary, or just remember to click on the widget if I happen to run the cursor over it, but that's clunky and shouldn't be necessary (and isn't, under linux).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A bug of NG plot?
Next Topic: Multiple images in the same Window

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

Current Time: Sun Nov 30 15:31:13 PST 2025

Total time taken to generate the page: 0.32320 seconds