12#ifndef ROOT_TToggleGroup
13#define ROOT_TToggleGroup
#define ClassDef(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 * Remove(TObject *obj)
Remove object from collection.
Int_t IndexOf(const TObject *obj) const
Return index of object in collection.
TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
TObject * RemoveAt(Int_t idx)
Remove object at index idx.
TObject * First() const
Return the first object in the collection.
TObject * Last() const
Return the last object in the collection.
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.