library: libGui #include "TGString.h" |
TGString
class description - source file - inheritance tree (.pdf)
public:
TGString()
TGString(const char* s)
TGString(Int_t number)
TGString(const TGString* s)
TGString(const TGString&)
virtual ~TGString()
static TClass* Class()
virtual void Draw(Drawable_t id, GContext_t gc, Int_t x, Int_t y)
virtual void DrawWrapped(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, FontStruct_t font)
Int_t GetLength() const
virtual Int_t GetLines(FontStruct_t font, UInt_t w)
const char* GetString() const
virtual TClass* IsA() const
TGString& operator=(const TGString&)
virtual void SetString(const char* s)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGString and TGHotString
TGString wraps a TString and adds some graphics routines like
drawing, size of string on screen depending on font, etc.
TGHotString is a string with a "hot" character unerlined.
TGString(const TGString *s) : TString(s->Data())
ctor
void Draw(Drawable_t id, GContext_t gc, Int_t x, Int_t y)
Draw string.
void DrawWrapped(Drawable_t id, GContext_t gc,
Int_t x, Int_t y, UInt_t w, FontStruct_t font)
Draw a string in a column with width w. If string is longer than
w wrap it to next line.
Int_t GetLines(FontStruct_t font, UInt_t w)
Get number of lines of width w the string would take using a certain font.
Inline Functions
void ~TGString()
TGString TGString(const char* s)
TGString TGString(Int_t number)
TGString TGString(const TGString* s)
Int_t GetLength() const
const char* GetString() const
void SetString(const char* s)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TGString TGString(const TGString&)
TGString& operator=(const TGString&)
Author: Fons Rademakers 05/01/98
Last update: root/gui:$Name: $:$Id: TGString.cxx,v 1.5 2004/07/25 07:21:45 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - 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.