library: libTreeViewer #include "TTVLVContainer.h"

# TTVLVContainer

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

## class TTVLVContainer : public TGLVContainer

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

<-

`TGCompositeFrame`

<-

`TGContainer`

<-

`TGLVContainer`

<-

`TTVLVContainer`

        public:

                          TTVLVContainer(const TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kSunkenFrame)
                          TTVLVContainer(const TTVLVContainer&)
                  virtual ~TTVLVContainer()
             virtual void AddThisItem(TTVLVEntry* item)
           static TClass* Class()
              const char* Cut() const
                     void EmptyAll()
              const char* Ex() const
              TTVLVEntry* ExpressionItem(Int_t index)
                   TList* ExpressionList()
              const char* Ey() const
              const char* Ez() const
             TTreeViewer* GetViewer()
           virtual Bool_t HandleButton(Event_t* event)
           virtual Bool_t HandleMotion(Event_t* event)
          virtual TClass* IsA() const
                     void RemoveNonStatic()
              const char* ScanList() const
                     void SelectItem(const char* name)
             virtual void SetListView(TGListView* lv)
                     void SetViewer(TTreeViewer* viewer)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

              Cursor_t fCursor          current cursor
              Cursor_t fDefaultCursor   default cursor
           TGListView* fListView        associated list view
          TTreeViewer* fViewer          pointer to tree viewer
                TList* fExpressionList  list of user defined expression widgets

## Class Description

     TGItemContext  -  empty object used as context menu support for
     TGLVTreeEntries

TTVLVContainer(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options) :TGLVContainer(p, w, h,options | kSunkenFrame)

     TGLVContainer constructor

~TTVLVContainer()

     TGLVContainer destructor

const char* Cut()

     return the cut entry

TTVLVEntry* ExpressionItem(Int_t index)

     return the expression item at specific position

TList* ExpressionList()

     return the list of user-defined expressions

const char* Ex()

     return the expression on X

const char* Ey()

     return the expression on Y

const char* Ez()

     return the expression on Z

const char* ScanList()

     return the cut entry

Bool_t HandleButton(Event_t *event)

     Handle mouse button event in container.

Bool_t HandleMotion(Event_t *event)

     Handle mouse motion events.

void EmptyAll()

     Clear all names and aliases for expression type items

void RemoveNonStatic()

     remove all non-static items from the list view, except expressions

void SelectItem(const char* name)

     select an item

### Inline Functions

                      void AddThisItem(TTVLVEntry* item)
              TTreeViewer* GetViewer()
                      void SetListView(TGListView* lv)
                      void SetViewer(TTreeViewer* viewer)
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)
            TTVLVContainer TTVLVContainer(const TTVLVContainer&)

Last update: root/treeviewer:$Name: $:$Id: TTVLVContainer.cxx,v 1.10 2003/07/15 14:25:22 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *