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

Home » Public Forums » archive » IDL 7.0 (Windows version) - widget_table does not generate expected event
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL 7.0 (Windows version) - widget_table does not generate expected event [message #66281] Wed, 06 May 2009 04:48 Go to next message
bkaifler is currently offline  bkaifler
Messages: 2
Registered: May 2009
Junior Member
I would like to have widget_table generate an insert character event
without changing the contents of the widget. Keyword ALL_EVENTS is
set, but the event handler is not called. Here is a simple test:

pro table_eh, event
print, 'event'
end

pro test
tlb_id = widget_base()
base_id = widget_base(tlb_id)

data = [[indgen(5)],[indgen(5)]]
table_id = widget_table(base_id, VALUE=data, /ALL_EVENTS, $
EVENT_PRO='table_eh')

widget_control, tlb_id, /REALIZE
xmanager, 'gui', tlb_id
end


I tested this program with IDL 6.4 (Linux version) and it behaves as
expected. The help page for widget_table does not mention any changes
in IDL 7.0. What am I missing?

Thanks for your attention

Bernd
Re: IDL 7.0 (Windows version) - widget_table does not generate expected event [message #66469 is a reply to message #66281] Thu, 07 May 2009 17:08 Go to previous message
Mark[1] is currently offline  Mark[1]
Messages: 66
Registered: February 2008
Member
On May 6, 11:48 pm, bkaif...@gmx.de wrote:
> I tested this program with IDL 6.4 (Linux version) and it behaves as
> expected. The help page for widget_table does not mention any changes
> in IDL 7.0.

Widget handling in IDL 7.0 was affected by the new Eclipse-based DE. I
recall an issue with timer events.

You should report this to ITTVIS.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to judge a Function's parameters ?
Next Topic: best image plotting routine

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

Current Time: Wed Oct 08 15:12:38 PDT 2025

Total time taken to generate the page: 0.00700 seconds