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.
Definition at line 17 of file TGTextBuffer.h.
Public Member Functions | |
TGTextBuffer () | |
TGTextBuffer (Int_t length) | |
virtual | ~TGTextBuffer () |
void | AddText (Int_t pos, const char *text) |
void | AddText (Int_t pos, const char *text, Int_t length) |
void | Clear () |
UInt_t | GetBufferLength () const |
const char * | GetString () const |
UInt_t | GetTextLength () const |
virtual TClass * | IsA () const |
void | RemoveText (Int_t pos, Int_t length) |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Member Functions | |
TGTextBuffer (const TGTextBuffer &)=delete | |
TGTextBuffer & | operator= (const TGTextBuffer &)=delete |
Private Attributes | |
TString | fBuffer |
#include <TGTextBuffer.h>
|
privatedelete |
|
inline |
Definition at line 26 of file TGTextBuffer.h.
|
inline |
Definition at line 27 of file TGTextBuffer.h.
|
inlinevirtual |
Definition at line 28 of file TGTextBuffer.h.
|
inline |
Definition at line 34 of file TGTextBuffer.h.
Definition at line 35 of file TGTextBuffer.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 39 of file TGTextBuffer.h.
|
inline |
Definition at line 37 of file TGTextBuffer.h.
|
inlinestatic |
Definition at line 39 of file TGTextBuffer.h.
|
inline |
Definition at line 31 of file TGTextBuffer.h.
|
inline |
Definition at line 32 of file TGTextBuffer.h.
|
inline |
Definition at line 30 of file TGTextBuffer.h.
|
inlinevirtual |
Definition at line 39 of file TGTextBuffer.h.
|
privatedelete |
Definition at line 36 of file TGTextBuffer.h.
|
virtual |
|
inline |
Definition at line 39 of file TGTextBuffer.h.
|
private |
Definition at line 20 of file TGTextBuffer.h.