library: libCore
#include "TToggleGroup.h"

TToggleGroup


class description - header file - source file - inheritance tree (.pdf)

class TToggleGroup : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
TToggleGroup

    public:
TToggleGroup() TToggleGroup(const TToggleGroup&) virtual ~TToggleGroup() virtual Int_t Add(TToggle* t, Bool_t select = 1) virtual TToggle* At(Int_t idx) static TClass* Class() virtual void DeleteAll() virtual TToggle* First() virtual Int_t GetTogglesCount() virtual Int_t IndexOf(TToggle* t) virtual Int_t InsertAt(TToggle* t, Int_t pos, Bool_t select = 1) virtual TClass* IsA() const virtual TToggle* Last() TToggleGroup& operator=(const TToggleGroup&) virtual void Remove(TToggle* t) virtual void Remove(Int_t pos) virtual void Select(Int_t idx) virtual void Select(TToggle* t) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TOrdCollection* fToggles list of TToggle objects TToggle* fSelected currently selected object

Class Description

                                                                      
 TToggleGroup                                                         
                                                                      
 This class defines check-box facility for TToggle objects            
 It is used in context menu "selectors" for picking up a value.       
                                                                      

TToggleGroup()
 Constructor.
~TToggleGroup()
 Deletes togglegroup but does not disposes toggled objects!
Int_t Add(TToggle *t, Bool_t select)
 Add a new toggle.
Int_t InsertAt(TToggle *t, Int_t pos,Bool_t select)
 Add a new toggle at a specific position.
void Select(Int_t idx)
 Select a toggle.
void Select(TToggle *t)
 Selector a toggle.
void DeleteAll()
 Disposes of all objects and clears array
TToggleGroup()
Int_t GetTogglesCount()
void Remove(TToggle *t)
void Remove(Int_t pos)
Int_t IndexOf(TToggle *t)

Author: Piotr Golonka 31/07/97
Last update: root/meta:$Name: $:$Id: TToggleGroup.cxx,v 1.3 2006/03/20 21:43:43 pcanal Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.