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

Home » Public Forums » archive » widget_list in IDL 5.1
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
widget_list in IDL 5.1 [message #11934] Tue, 09 June 1998 00:00 Go to previous message
Jonathan Rogness is currently offline  Jonathan Rogness
Messages: 7
Registered: April 1997
Junior Member
I'm building an interface to routines that I've written over the past
couple of years, and after we upgraded to IDL 5.1 earlier this week I
discovered I can now use the MULTIPLE keyword to WIDGET_LIST, which
allows users to select more than one item in the list.

Here's my problem: how can I tell which items have been selected? The
index field of the Event structure is still a single number, not an
array. Even if many items are selected, Event.Index is just the index
of the /first/ selected item. Do I have to call widget_control? Out of
curiosity I tried using the get_value keyword to widget_control, but it
looks like that's still not an option with list widgets.

My apologies if this is answered in the documentation. I only have
printed manuals through version 5.0, and our online HyperHelp is causing
my window manager to crash. (Hopefully RSI will fix that relatively
soon.) I can see the documentation for WIDGET_LIST, which doesn't
answer my question, but if I try to look up WIDGET_CONTROL, I end up
having to restart my X-Server because of the crash.

Thanks for any help -

Jon
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: new book/software - multiscale image processing
Next Topic: odd behavior of loadct

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

Current Time: Fri Oct 10 14:57:49 PDT 2025

Total time taken to generate the page: 1.03173 seconds