Re: [ROOT] context menu

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 21 2000 - 23:49:46 MEST


Hi Dmitri,
If you want to remove the Delete item from the context menu
of one (or more) of your classes, simply redefine the function
Delete in your class (to be dummy or calling TObject::Delete).
The important thing in this case is to not specify //*MEMU*
in the comment field of the prototype.

Rene Brun


On Wed, 21 Jun 2000, Dmitri Litvintsev wrote:

> 
> 
> Dear Rooters,
> 
> I've got the request. Is it possible to introduce some kind of 
> switch to turn off appearance of base class methods in ContextMenu?
> 
> Users just keep clicking 'Delete' and then bitch about the results 
> produced.
> 
> Dmitri Litvintsev
> 
> /----------------------------------------------------------\
> | Tel:       (630) 840 5005                                |  
> | FAX:       (630) 840 2968                                |      
> | office:    169-E CDF Trailers                            |
> | E-mail:    litvinse@fnal.gov                             |
> \----------------------------------------------------------/
> 
> 
> 
> 



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