library: libGui #include "TGTextBuffer.h"

# TGTextBuffer

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

## class TGTextBuffer

| Inheritance Chart:

`TGTextBuffer`

        public:

                          TGTextBuffer()
                          TGTextBuffer(Int_t length)
                          TGTextBuffer(const TGTextBuffer&)
                  virtual ~TGTextBuffer()
                     void AddText(Int_t pos, const char* text)
                     void AddText(Int_t pos, const char* text, Int_t length)
           static TClass* Class()
                     void Clear()
                   UInt_t GetBufferLength() const
              const char* GetString() const
                   UInt_t GetTextLength() const
          virtual TClass* IsA() const
            TGTextBuffer& operator=(const TGTextBuffer&)
                     void RemoveText(Int_t pos, Int_t length)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

          TString* fBuffer

## Class Description

     TGTextBuffer

     A text buffer is used in several widgets, like TGTextEntry,
     TGFileDialog, etc. It is a little wrapper around the powerful
     TString class and used for single line texts. For multi line texts
     use TGText.

### Inline Functions

                     void ~TGTextBuffer()
             TGTextBuffer TGTextBuffer()
             TGTextBuffer TGTextBuffer(Int_t length)
                   UInt_t GetTextLength() const
                   UInt_t GetBufferLength() const
              const char* GetString() const
                     void AddText(Int_t pos, const char* text)
                     void AddText(Int_t pos, const char* text, Int_t length)
                     void RemoveText(Int_t pos, Int_t length)
                     void Clear()
                  TClass* Class()
                  TClass* IsA() const
                     void ShowMembers(TMemberInspector& insp, char* parent)
                     void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
             TGTextBuffer TGTextBuffer(const TGTextBuffer&)
            TGTextBuffer& operator=(const TGTextBuffer&)

Author: Fons Rademakers 05/05/98
Last update: root/gui:$Name: $:$Id: TGTextBuffer.cxx,v 1.2 2002/02/23 16:05:11 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *