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

Home » Public Forums » archive » Re: event fields
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: event fields [message #2365 is a reply to message #2357] Tue, 28 June 1994 01:19 Go to previous messageGo to previous message
robijn is currently offline  robijn
Messages: 18
Registered: June 1994
Junior Member
In article <2umumm$gqp@vulcan.giss.nasa.gov>,
Daniel M. Israel <crdmi@vulcan.giss.nasa.gov> wrote:
>
> Could someone explain event.handler? I read the manual, but I still
> don't get it.
>

event.id is the ID of the widget that sent the event, event.handler
is the widget to which the event handling function belongs. E.g.,
when you have a base widget with a lot of button widgets as childs,
you can associate an event function with the base widget only. When
a button is pressed, the base widget receives an event where event.ID
is the button that was pressed and event.handler is the ID of the base
widget. You'll need that in more complicated situations such as compound
widgets.

Frank
--
_____ ____
/ / / Frank Robijn Internet: Robijn@Strw.LeidenUniv.NL
/___ /___/ Sterrewacht Leiden Bitnet: Robijn@HLERUL51
/ / \ Phone (31) 71 275841 Local: Robijn@HL628
/ / \ Fax : (31) 71 275819 Snail: P.O.Box 9513, 2300 RA Leiden,
The Netherlands
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Array elements as named variables?
Next Topic: IDL and Emacs: idl.el, idl-shell.el updates

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

Current Time: Sat Oct 11 18:43:56 PDT 2025

Total time taken to generate the page: 2.40156 seconds