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

Home » Public Forums » archive » Re: Event when Window is activated
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: Event when Window is activated [message #41752] Wed, 08 December 2004 18:36 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Hadfield writes:

> At least that's my understanding of the original question. But I think
> it would be more sensible to renew the sub-GUI immediately the main-GUI
> value changes. The problem then is how to tell the sub-GUI of the
> change. There are many ways to do that, depending on the program
> structure, and sending an event from the mainGUI is one of them.

Indeed. In the object widget environment I often code in,
the sub-GUI would have registered "an interest" in knowing
about things that happened in the main-GUI. When something
of importance occurs, a message is sent to all interested
parties. These messages are similar to events, although
passed directly from one widget object to another.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: bindkey in IDL
Next Topic: grid plots

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

Current Time: Fri Oct 10 15:58:50 PDT 2025

Total time taken to generate the page: 1.03722 seconds