Have to correct myself. *TOGGLE in contextmenu's is implemented. I was refering to something else (option menu's in argument input dialogs) that are not yet implemented. So to make *TOGGLE work you need SetXXX() and GetXXX() functions. Look for example in TPad.h: virtual void SetGridx(Int_t value = 1) {fGridx = value;} // *TOGGLE* requires the exisitence of a: Bool_t GetGridx() {return fGridx;} Cheers, Fons. Fons Rademakers wrote: > > Hi Dmitry, > > Only *MENU works, *TOGGLE will come soon, after easter. > > Cheers, Fons. > > Dmitry Kirillov wrote: > > > > Hi, > > How can I use such options of ContextMenu as // *TOGGLE*, or > > // *MENU* *ARGS..., as it done for example in TPad.h? > > Only // *MENU* works. > > > > Thanks, > > Dmitri > > -- > Org: CERN, European Laboratory for Particle Physics. > Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 > E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910 -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland Phone: +41 22 7679248 E-Mail: Fons.Rademakers@cern.ch Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:31 MET