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

Home » Public Forums » archive » Re: mbar and event handlers
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: mbar and event handlers [message #5352] Thu, 07 December 1995 00:00 Go to previous message
Runar J|rgensen is currently offline  Runar J|rgensen
Messages: 6
Registered: December 1995
Junior Member
>> This is because you are telling xmanager to assign the event handler
>> to the menu bar base instead of the top level base.

Not quite. The menu bar base is the top (or main, root) base.

My point is that unless the event handler routine is named according
to the menu bar base it will not respond to events generated by any
item in the menu bar. But it is responding fine to events generated by e.g.
a button (child widget of top level base).

But if the event handler routine is named after the menu bar name, it will
respond to menu bar events but not to e.g. button widgets even if they are
child of the same base. BTW, the base of a button can not be the name of
the menu bar. I've tried.

Runar J�rgensen

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-
Runar Jorgensen ||
University of Oslo || Phone: +47 2285 5663
Department of Physics || Telefax: +47 2285 5671
P.O.Box 1048 Blindern || email: runar.jorgensen@fys.uio.no
0313 Oslo; Norway ||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=-=-=-=-=-=-=-
[Message index]
 
Read Message
Read Message
Previous Topic: how to list variable names from netCDF file?
Next Topic: Re: RSI / CreaSo survey: Whish list

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

Current Time: Sat Nov 29 08:01:26 PST 2025

Total time taken to generate the page: 1.84841 seconds