TGTextView
class description - source file - inheritance tree
public:
TGTextView TGTextView(TGWindow* parent, UInt_t w, UInt_t h, UInt_t options = kChildFrame, ULong_t back = fgDefaultFrameBackground)
TGTextView TGTextView(TGTextView&)
virtual void ~TGTextView()
TClass* Class()
virtual void Clear(Option_t* opt)
virtual void DrawBorder()
virtual TGDimension GetDefaultSize()
const TGTextFrame* GetTextFrame()
virtual TClass* IsA()
virtual void Layout()
Bool_t LoadBuffer(char* txtbuf)
Bool_t LoadFile(char* fname)
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
TGTextFrame* fTextCanvas
TGVScrollBar* fVsb
TGTextView
A TGTextView displays a file or a text buffer in a frame with a
vertical scrollbar. Internally it uses a TGTextFrame which displays
the text.
TGTextView(TGWindow *parent, UInt_t w, UInt_t h,
UInt_t options, ULong_t back) :
TGCompositeFrame(parent, w, h, options, back)
Create text view widget.
~TGTextView()
Delete text view widget.
Bool_t LoadFile(const char *fname)
Load file in text view widget.
Bool_t LoadBuffer(const char *txtbuf)
Load 0 terminated txtbuf buffer in text view widget.
void Clear(Option_t *)
Clear text view widget.
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
Handle scrollbar messages.
void Layout()
Layout TGTextFrame and vertical scrollbar in the text view widget.
void DrawBorder()
Draw border of text view widget.
Inline Functions
TGDimension GetDefaultSize()
const TGTextFrame* GetTextFrame()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TGTextView TGTextView(TGTextView&)
Author: Fons Rademakers 23/02/98
Last update: 2.00/06 26/04/98 17.30.00 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.