Re: [ROOT] access *TOGGLE* menu entries

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Apr 09 2002 - 10:37:33 MEST


Hi Oliver,

  you can change the toggle via the API by just calling the method. Next
time the context menu pops up this new state is correctly reflected in
the toggle.

Cheers, Fons.



On Tue, 2002-04-09 at 09:47, Oliver Gutsche wrote:
> Hi Rooters!
> 
> I am using the *TOGGLE* CINT generated menu entries, defined in the 
> headerfile of the object. In special cases, I want to change the state 
> of a toggle from outside. Is there a possibility to do so?
> 
> Thanks for your help,
> 
> OLI
> -- 
> +-----------------------------------------------------------------------+
> | Oliver Gutsche                 E-Mail: oliver.gutsche@desy.de         |
> | DESY / ZEUS / Geb 1b / Rm 152c Tel.: +49 (40) 8998 - 3062             |
> | Notkestrasse 85                Fax.: +49 (40) 8998 - 3092             |
> | 22607 Hamburg                  Homepage: http://www.desy.de/~gutsche/ |
> +-----------------------------------------------------------------------+
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET