Re: [ROOT] menu

From: Jayoung Wu (jayoung@glue.umd.edu)
Date: Wed Sep 27 2000 - 17:36:54 MEST


Thanks a lot!

I have one more question.
Considering the following context menu,

> >                |-----------------------|
> >                | ATICDisplay           |
> >                |=======================|
> >                | SetDrawSICalibator    |
> >                | SetDrawSNCalibrator   |
> >                | SetDrawBCCalibrator   |
> >                | SetSWHandler          |
> >                | GetEvent              |
> >                | Zoomin                |
> >                | Zoomout               |
> >                | SetGeometry           |
> >                |-----------------------|
> >                | Delete                |
> >                | DrawClass             |
> >                | DrawClones            |
> >                | Dump                  |
> >                | Inspect               |
> >                | SetDrawOption         |
> >                |-----------------------|

the bottom part seems to be automatically inherited from root.
When I click Delete, DrawClones or SetDrawOption it gives me a dialog
window for option. What kind of option does it mean? I do not know what
value I should type in. Whenever I clik OK it causes segementation fault. 

Could you please explain it?

---
Again thanks a lot!
Jayoung



On Wed, 27 Sep 2000, Rene Brun wrote:

> Hi Jayoung,
> 
> To get one of your class member functions in the context menu,
> simply add the string *MENU* in a comment field following
> the prototype definition of your class.
> See examples in TObject.h, TPad.h
> 
> Rene Brun
> 
> On Tue, 26 Sep 2000, Jayoung Wu wrote:
> 
> > Hi ROOTERs,
> > 
> > I am working on somebody else's program which displays each event graphically.
> > When I click 3rd button of mouse it shows a menu bar as following.
> > 
> >                |-----------------------|
> >                | ATICDisplay           |
> >                |=======================|
> >                | SetDrawSICalibator    |
> >                | SetDrawSNCalibrator   |
> >                | SetDrawBCCalibrator   |
> >                | SetSWHandler          |
> >                | GetEvent              |
> >                | Zoomin                |
> >                | Zoomout               |
> >                | SetGeometry           |
> >                |-----------------------|
> >                | Delete                |
> >                | DrawClass             |
> >                | DrawClones            |
> >                | Dump                  |
> >                | Inspect               |
> >                | SetDrawOption         |
> >                |-----------------------|
> > 
> > I wonder how those functions(for example GetEvent) are incuded in this
> > menu bar. I could not locate any clue in the source program.
> > 
> > Could you explain how a function can be shown(and exected) in this kind of
> > menu bar?
> > 
> > ---
> > Thanx,
> > Jayoung
> > 
> > 
> > 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:33 MET