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

Home » Public Forums » archive » Re: Adding Widgets to ENVI
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: Adding Widgets to ENVI [message #55878 is a reply to message #55877] Mon, 17 September 2007 17:32 Go to previous message
Jeff N. is currently offline  Jeff N.
Messages: 120
Registered: April 2005
Senior Member
On Sep 17, 7:02 pm, David Fanning <da...@dfanning.com> wrote:
> Folks,
>
> Suppose, for whatever reasion, I did NOT want to add widgets
> to a user function in ENVI with WIDGET_AUTO_BASE. Suppose
> I understood widget programming and felt comfortable building
> my own widgets. How would I go about getting a widget ID
> from ENVI so that I could pass it as a group leader to
> my widget creation function and build a legitimate
> modal widget. (Recall that to make a widget a modal
> widget, you must also specify a group leader for that
> widget.) Can I somehow obtain the TLB for the ENVI
> menu bar?
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/


David,

If you write a function that gets called from the ENVI menu, you're
still passed an event structure, so can't you use the "top" element
(ie, event.top) from that structure to do what you want?

Jeff
[Message index]
 
Read Message
Read Message
Previous Topic: Adding Widgets to ENVI
Next Topic: HDF attribute retrieval

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

Current Time: Sat Oct 11 18:44:42 PDT 2025

Total time taken to generate the page: 0.87834 seconds