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

Home » Public Forums » archive » Re: Update text widget
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: Update text widget [message #65240 is a reply to message #65238] Thu, 19 February 2009 10:29 Go to previous messageGo to previous message
titan is currently offline  titan
Messages: 59
Registered: March 2006
Member
Hi David,

> You can "communicate" with a widget by sending it
> events. These events can be generated by graphical
> user interface objects (buttons, text widgets, and
> the like), or you can just make up an event and send
> it to a widget, assuming you know the identifier of
> that widget, with Widget_Control and the SEND_EVENT
> keyword.


what I have in mind is the following
consider a simple process (for example a for cycle) I know that when
it is finished I can communicate it to user writing
test_1msg='process A finished'
print,test_1msg
but if I don't have any command line I would like to do the same
updating my widget text from sensitive=0 to sensitive=1
It could be handled with the SEND_EVENT keyword?
Could you please suggest me something or some example to study??

> Go to some reputable web site (I could suggest one if you can't
> find one) and find a widget program. See how information is passed
> in that program. And I would locate a good book on IDL, too. I think
> it will be extremely difficult to learn to write decent widget programs
> if all you have to go on is the IDL documentation.
>
> Widget programming is not difficult, once you get your head around
> how events happen and are processed (one at a time), and how to
> find the information you need to do whatever it is you need to do.

I know that I have to study more the "widget way" and, in the next
day, I will seriously think to buy your book

thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Interpolating/gridding field reflectance spectra
Next Topic: file export to something vector-based?

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

Current Time: Thu Oct 09 15:20:13 PDT 2025

Total time taken to generate the page: 0.24035 seconds