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) 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(Int_t pos) virtual void Remove(TToggle* t) virtual void Select(TToggle* t) virtual void Select(Int_t idx) 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: 1.03/09 07/12/97 23.44.40 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.