TGString


class description - source file - inheritance tree

class TGString

    private:
public:
TGString TGString() TGString TGString(TString s) TGString TGString(const char* s) TGString TGString(const TGString* s) TGString TGString(TGString&) virtual void ~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 virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
protected:
TString fString embedded string public:


See also

TGHotString

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.            
                                                                      


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


           TGString TGString()
           TGString TGString(TString s)
           TGString TGString(const char* s)
           TGString TGString(const TGString* s)
              Int_t GetLength() const
        const char* GetString() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           TGString TGString(TGString&)
               void ~TGString()


Author: Fons Rademakers 05/01/98
Last update: root/gui:$Name: $:$Id: TGString.cxx,v 1.1.1.1 2000/05/16 17:00:42 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.