void Delete(Option_t *option="")
Remove all objects from the collection AND delete all heap based objects.
This class defines toggling facility for both - object's method or variables.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
TOrdCollection * fToggles
void AddLast(TObject *obj)
Add object at the end of the collection.
virtual void Select(Int_t idx)
Select a toggle.
ClassImp(TToggleGroup) TToggleGroup
Constructor.
This class defines check-box facility for TToggle objects It is used in context menu "selectors" for ...
virtual TObject * Clone(const char *newname="") const
Make a clone of an collection using the Streamer facility.
virtual void Toggle()
Toggles the Values and State of this object and connected data!
TToggleGroup & operator=(const TToggleGroup &)
Assignment operator.
virtual TToggle * At(Int_t idx)
The TNamed class is the base class for all named ROOT classes.
virtual Bool_t GetState()
Returns the state of Toggle according to its current value and fOnValue, returns true if they match...
virtual Int_t Add(TToggle *t, Bool_t select=1)
Add a new toggle.
virtual Int_t InsertAt(TToggle *t, Int_t pos, Bool_t select=1)
Add a new toggle at a specific position.
void select(Int_t replica=1, Int_t color=kGreen)
virtual ~TToggleGroup()
Deletes togglegroup but does not disposes toggled objects!
virtual void DeleteAll()
Disposes of all objects and clears array.
virtual Int_t IndexOf(TToggle *t)
void AddAt(TObject *obj, Int_t idx)
Insert object at position idx in the collection.