A text buffer is used in several widgets, like TGTextEntry, TGFileDialog, etc.
UInt_t GetBufferLength() const
void AddText(Int_t pos, const char *text)
void AddText(Int_t pos, const char *text, Int_t length)
const char * GetString() const
void RemoveText(Int_t pos, Int_t length)
TGTextBuffer(const TGTextBuffer &)=delete
TGTextBuffer & operator=(const TGTextBuffer &)=delete
UInt_t GetTextLength() const
TGTextBuffer(Int_t length)