library: libCore
#include "TToggleGroup.h"


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

class TToggleGroup : public TNamed

Inheritance Chart:

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

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

Class Description

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


 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)
                 void StreamerNVirtual(TBuffer& b)
         TToggleGroup TToggleGroup(const TToggleGroup&)
        TToggleGroup& operator=(const TToggleGroup&)

Author: Piotr Golonka 31/07/97
Last update: root/meta:$Name: $:$Id: TToggleGroup.cxx,v 2000/05/16 17:00:43 rdm 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.