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

Home » Public Forums » archive » widget_table
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: widget_table [message #54982 is a reply to message #54889] Thu, 19 July 2007 16:12 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Jul 19, 1:24 pm, 2...@onetel.com wrote:
> Naively, as "table" is the WidgetID from above, in the PRO
> imager_parameters_quit_event, routine i put:
>
> WIDGET_CONTROL, table, GET_VALUE=table_value
>
> to which IDL responded by saying "Variable is undefined: TABLE", so
> i'm clearly doing something not right.

Did you add that WIDGET_CONTROL *after* you defined table?

> As I'm really a beginner with widgets could you indicate how i either
> "Store tableID either in your quit button uvalue" or "save a pointer
> to a structure".

Get David's book.

> As a beginner i do find the help in the IDL rather limited, it could
> do with more but really simple examples how how to do the things with
> widget that people want. Generally i find the examples to long and
> complicated you get lost in all the different things that are going
> on.

The two examples programs I see for table widgets are 59 and 129 lines
long. It's hard to write a widget program that actually does something
in much shorter. Here are the example programs in case you haven't
seen them:

http://idlastro.gsfc.nasa.gov/idl_html_help/Example_Single_D ata_Type_Data.html
http://idlastro.gsfc.nasa.gov/idl_html_help/Example_Structur e_Data.html

> Would you know any websites where i can find simple examples of
> table widget codes.

Not specifically table widgets, but I think you should try to
understand this problem more generally, then try to learn the
specifics of table widgets. The article David originally referred you
to would be a good start (better yet, his book).

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: making DIALOG_MESSAGE jump out
Next Topic: Tab completion of variables and routines at the IDL command line

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

Current Time: Sun Nov 30 17:59:25 PST 2025

Total time taken to generate the page: 0.17143 seconds