12#ifndef ROOT_TToggleGroup 
   13#define ROOT_TToggleGroup 
#define ClassDefOverride(name, id)
 
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
 
The TNamed class is the base class for all named ROOT classes.
 
TObject * First() const override
Return the first object in the collection.
 
Int_t IndexOf(const TObject *obj) const override
Return index of object in collection.
 
TObject * Last() const override
Return the last object in the collection.
 
TObject * Remove(TObject *obj) override
Remove object from collection.
 
TObject * RemoveAt(Int_t idx) override
Remove object at index idx.
 
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
 
This class defines check-box facility for TToggle objects It is used in context menu "selectors" for ...
 
virtual void Remove(Int_t pos)
 
virtual Int_t GetTogglesCount()
 
TOrdCollection * fToggles
 
virtual Int_t InsertAt(TToggle *t, Int_t pos, Bool_t select=1)
Add a new toggle at a specific position.
 
virtual TToggle * At(Int_t idx)
 
virtual void Select(Int_t idx)
Select a toggle.
 
virtual void Remove(TToggle *t)
 
virtual Int_t Add(TToggle *t, Bool_t select=1)
Add a new toggle.
 
virtual Int_t IndexOf(TToggle *t)
 
virtual void DeleteAll()
Disposes of all objects and clears array.
 
TToggleGroup()
Constructor.
 
virtual ~TToggleGroup()
Deletes togglegroup but does not disposes toggled objects!
 
TToggleGroup & operator=(const TToggleGroup &)
Assignment operator.
 
virtual TToggle * First()
 
This class defines toggling facility for both - object's method or variables.