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