library: libGui
#include "TGString.h"

TGString


class description - header file - source file - inheritance tree (.pdf)

class TGString : public TString

Inheritance Chart:
TString
<-
TGString
<-
TGHotString

    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)

Data Members




Class Description

                                                                      
 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)
 cconstructor
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.
TGString()
TGString(const char *s)
TGString(Int_t number)
TGString(const TGString *s)
virtual ~TGString()
Int_t GetLength()
void SetString(const char *s)

Author: Fons Rademakers 05/01/98
Last update: root/gui:$Name: $:$Id: TGString.cxx,v 1.6 2006/05/26 09:16:29 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.