33 fInputbuffer.reserve(32);
34 setg(&fInputbuffer[0], &fInputbuffer[0], &fInputbuffer[0]);
35 setp(&fInputbuffer[0], &fInputbuffer[0]);
44 typedef std::char_traits<char> Tr;
46 return Tr::not_eof(c);
66 TGTextView(parent, w, h, id, sboptions, back), std::ostream(&fStreambuffer),
77 TGTextView(parent, w, h, text, id, sboptions, back),
78 std::ostream(&fStreambuffer), fStreambuffer(this)
88 TGTextView(parent, w, h, string, id, sboptions, back),
89 std::ostream(&fStreambuffer), fStreambuffer(this)
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
virtual int overflow(int=traits::eof())
Method called to put a character into the controlled output sequence without changing the current pos...
std::vector< char > fLinebuffer
virtual void AddLineFast(const char *string)
Add a line of text to the view widget.
ClassImp(TGTextViewStreamBuf) TGTextViewStreamBuf
TGTextViewStreamBuf constructor.
virtual void ShowBottom()
Show bottom of the page.
virtual void Update()
update the whole window of text view
R__EXTERN TSystem * gSystem
TGTextViewostream(const TGWindow *parent=0, UInt_t w=1, UInt_t h=1, Int_t id=-1, UInt_t sboptions=0, Pixel_t back=TGTextView::GetWhitePixel())
TGTextViewostream constructor.