TToggleGroup


class description - source file - inheritance tree

class TToggleGroup : public TNamed


    public:
TToggleGroup TToggleGroup() TToggleGroup TToggleGroup(TToggleGroup&) virtual void ~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() 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)

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()

~TToggleGroup()
 Deletes togglegroup but does not disposes toggled objects!

Int_t Add(TToggle *t, Bool_t select)

Int_t InsertAt(TToggle *t, Int_t pos,Bool_t select)

void Select(Int_t idx)

void Select(TToggle *t)

void DeleteAll()
 Disposes of all objects and clears array



Inline Functions


               Int_t GetTogglesCount()
            TToggle* At(Int_t idx)
                void Remove(TToggle* t)
                void Remove(Int_t pos)
            TToggle* First()
            TToggle* Last()
               Int_t IndexOf(TToggle* t)
             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
        TToggleGroup TToggleGroup(TToggleGroup&)


Author: Piotr Golonka 31/07/97
Last update: root/meta:$Name: $:$Id: TToggleGroup.cxx,v 1.1.1.1 2000/05/16 17:00:43 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - 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.