TGLabel Class Reference

#include <TGLabel.h>

Inheritance diagram for TGLabel:

TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TGLabel (const TGWindow *p, TGString *text, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
 TGLabel (const TGWindow *p=0, const char *text=0, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGLabel ()
virtual TGDimension GetDefaultSize () const
const TGStringGetText () const
virtual const char * GetTitle () const
virtual void SetText (TGString *newText)
void SetText (const char *newText)
virtual void ChangeText (const char *newText)
virtual void SetTitle (const char *label)
void SetText (Int_t number)
void SetTextJustify (Int_t tmode)
Int_t GetTextJustify () const
virtual void SetTextFont (TGFont *font, Bool_t global=kFALSE)
virtual void SetTextFont (FontStruct_t font, Bool_t global=kFALSE)
virtual void SetTextFont (const char *fontName, Bool_t global=kFALSE)
virtual void SetTextColor (Pixel_t color, Bool_t global=kFALSE)
virtual void SetTextColor (TColor *color, Bool_t global=kFALSE)
virtual void SetForegroundColor (Pixel_t fore)
virtual void Disable (Bool_t on=kTRUE)
virtual void Enable ()
Bool_t IsDisabled () const
Bool_t HasOwnFont () const
void SetWrapLength (Int_t wl)
Int_t GetWrapLength () const
void Set3DStyle (Int_t style)
Int_t Get3DStyle () const
void SetMargins (Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
Int_t GetLeftMargin () const
Int_t GetRightMargin () const
Int_t GetTopMargin () const
Int_t GetBottomMargin () const
GContext_t GetNormGC () const
FontStruct_t GetFontStruct () const
TGFontGetFont () const
virtual void Layout ()
virtual void SavePrimitive (ostream &out, Option_t *option="")
 TGLabel (const TGWindow *p, TGString *text, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
 TGLabel (const TGWindow *p=0, const char *text=0, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGLabel ()
virtual TGDimension GetDefaultSize () const
const TGStringGetText () const
virtual const char * GetTitle () const
virtual void SetText (TGString *newText)
void SetText (const char *newText)
virtual void ChangeText (const char *newText)
virtual void SetTitle (const char *label)
void SetText (Int_t number)
void SetTextJustify (Int_t tmode)
Int_t GetTextJustify () const
virtual void SetTextFont (TGFont *font, Bool_t global=kFALSE)
virtual void SetTextFont (FontStruct_t font, Bool_t global=kFALSE)
virtual void SetTextFont (const char *fontName, Bool_t global=kFALSE)
virtual void SetTextColor (Pixel_t color, Bool_t global=kFALSE)
virtual void SetTextColor (TColor *color, Bool_t global=kFALSE)
virtual void SetForegroundColor (Pixel_t fore)
virtual void Disable (Bool_t on=kTRUE)
virtual void Enable ()
Bool_t IsDisabled () const
Bool_t HasOwnFont () const
void SetWrapLength (Int_t wl)
Int_t GetWrapLength () const
void Set3DStyle (Int_t style)
Int_t Get3DStyle () const
void SetMargins (Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
Int_t GetLeftMargin () const
Int_t GetRightMargin () const
Int_t GetTopMargin () const
Int_t GetBottomMargin () const
GContext_t GetNormGC () const
FontStruct_t GetFontStruct () const
TGFontGetFont () const
virtual void Layout ()
virtual void SavePrimitive (ostream &out, Option_t *option="")

Static Public Member Functions

static FontStruct_t GetDefaultFontStruct ()
static const TGGCGetDefaultGC ()
static FontStruct_t GetDefaultFontStruct ()
static const TGGCGetDefaultGC ()

Protected Member Functions

virtual void DoRedraw ()
virtual void DrawText (GContext_t gc, Int_t x, Int_t y)
virtual void DoRedraw ()
virtual void DrawText (GContext_t gc, Int_t x, Int_t y)

Protected Attributes

TGStringfText
UInt_t fTWidth
UInt_t fTHeight
Int_t fMLeft
Int_t fMRight
Int_t fMTop
Int_t fMBottom
Int_t fTMode
Int_t f3DStyle
Int_t fWrapLength
Int_t fTFlags
Bool_t fTextChanged
GContext_t fNormGC
TGFontfFont
TGTextLayoutfTLayout
Bool_t fHasOwnFont
Bool_t fDisabled
TGStringfText
TGFontfFont
TGTextLayoutfTLayout

Static Protected Attributes

static const TGFontfgDefaultFont
static const TGGCfgDefaultGC
static const TGFontfgDefaultFont
static const TGGCfgDefaultGC

Private Member Functions

 TGLabel (const TGLabel &)
TGLabeloperator= (const TGLabel &)
 TGLabel (const TGLabel &)
TGLabeloperator= (const TGLabel &)

Detailed Description

Definition at line 38 of file TGLabel.h.


Constructor & Destructor Documentation

TGLabel::TGLabel ( const TGLabel  )  [private]

TGLabel::TGLabel ( const TGWindow p,
TGString text,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

TGLabel::TGLabel ( const TGWindow p = 0,
const char *  text = 0,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

TGLabel::~TGLabel (  )  [virtual]

Definition at line 129 of file TGLabel.cxx.

References TGObject::fClient, fFont, fgDefaultFont, fHasOwnFont, TGGCPool::FindGC(), fNormGC, TGFontPool::FreeFont(), TGGCPool::FreeGC(), fText, fTLayout, TGClient::GetFontPool(), and TGClient::GetGCPool().

TGLabel::TGLabel ( const TGLabel  )  [private]

TGLabel::TGLabel ( const TGWindow p,
TGString text,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

TGLabel::TGLabel ( const TGWindow p = 0,
const char *  text = 0,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  options = kChildFrame,
Pixel_t  back = GetDefaultFrameBackground() 
)

virtual TGLabel::~TGLabel (  )  [virtual]


Member Function Documentation

void TGLabel::DoRedraw (  )  [protected, virtual]

Reimplemented from TGFrame.

Definition at line 196 of file TGLabel.cxx.

References TGFrame::DoRedraw(), DrawText(), f3DStyle, TGObject::fClient, fDisabled, fFont, fgDefaultGC, TGFrame::fHeight, TGGCPool::FindGC(), fMLeft, fMRight, fNormGC, fTextChanged, fTHeight, fTMode, TGFrame::fWidth, GetDefaultFontStruct(), TGFont::GetFontStruct(), TGGC::GetForeground(), TGGC::GetGC(), TGResourcePool::GetGCPool(), TGFrame::GetHilightGC(), TGClient::GetResourcePool(), TGFrame::GetShadowGC(), TGFrame::GetWhitePixel(), gVirtualX, hi, kFALSE, kRaisedFrame, kSunkenFrame, kTextBottom, kTextRight, kTextTop, TGGC::SetFont(), TGGC::SetForeground(), t, x, and y.

void TGLabel::DrawText ( GContext_t  gc,
Int_t  x,
Int_t  y 
) [protected, virtual]

Definition at line 187 of file TGLabel.cxx.

References TGTextLayout::DrawText(), TGObject::fId, and fTLayout.

Referenced by DoRedraw().

TGLabel& TGLabel::operator= ( const TGLabel  )  [private]

FontStruct_t TGLabel::GetDefaultFontStruct (  )  [static]

Definition at line 517 of file TGLabel.cxx.

References fgDefaultFont, gClient, TGResourcePool::GetDefaultFont(), TGFont::GetFontStruct(), and TGClient::GetResourcePool().

Referenced by DoRedraw(), G__G__Gui1_228_0_5(), G__setup_memfuncTGLabel(), SavePrimitive(), and TGXYLayout::TGXYLayout().

const TGGC & TGLabel::GetDefaultGC (  )  [static]

Definition at line 528 of file TGLabel.cxx.

References fgDefaultGC, gClient, TGResourcePool::GetFrameGC(), and TGClient::GetResourcePool().

Referenced by G__G__Gui1_228_0_6(), G__setup_memfuncTGLabel(), and SavePrimitive().

TGDimension TGLabel::GetDefaultSize (  )  const [virtual]

Reimplemented from TGFrame.

Definition at line 163 of file TGLabel.cxx.

References TGFrame::fHeight, fMBottom, fMLeft, fMRight, fMTop, fTHeight, TGFrame::fWidth, TGFrame::GetOptions(), h, kFixedHeight, kFixedWidth, and w.

Referenced by TGedNameFrame::SetModel().

const TGString* TGLabel::GetText (  )  const [inline]

Definition at line 88 of file TGLabel.h.

References fText.

Referenced by TGToolTip::GetText(), TGMdiDecorFrame::GetWindowName(), and SavePrimitive().

virtual const char* TGLabel::GetTitle (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 89 of file TGLabel.h.

References TString::Data(), and fText.

void TGLabel::SetText ( TGString newText  )  [virtual]

Definition at line 173 of file TGLabel.cxx.

References fText, fTextChanged, kTRUE, and Layout().

Referenced by TGuiBldNameFrame::ChangeSelected(), TGuiBldEditor::ChangeSelected(), ChangeText(), TGRootIDE::CheckRemote(), TGCommandPlugin::CheckRemote(), TRootBrowserLite::DisplayDirectory(), TFitEditor::DoAddition(), TGeoManagerEditor::DoCreateAssembly(), TGeoManagerEditor::DoCreateVolume(), TFitEditor::DoEnteredFunction(), TFitEditor::DoFunction(), TGeoTreeDialog::DoSelect(), TGeoMixtureEditor::DoSelectElement(), TGeoMediumEditor::DoSelectMaterial(), TGeoManagerEditor::DoSelectMaterial(), TGeoManagerEditor::DoSelectMaterial2(), TGeoManagerEditor::DoSelectMatrix(), TGeoVolumeEditor::DoSelectMatrix(), TGeoNodeEditor::DoSelectMatrix(), TGeoVolumeEditor::DoSelectMedium(), TGeoManagerEditor::DoSelectMedium(), TGeoManagerEditor::DoSelectMedium2(), TGeoNodeEditor::DoSelectMother(), TGeoVolumeEditor::DoSelectShape(), TGeoManagerEditor::DoSelectShape(), TGeoManagerEditor::DoSelectShape2(), TGeoManagerEditor::DoSelectTopVolume(), TGeoVolumeEditor::DoSelectVolume(), TGeoNodeEditor::DoSelectVolume(), TGeoManagerEditor::DoSelectVolume(), MyMainFrame::DoSetlabel(), TStyleDialog::DoUpdate(), TEveCaloVizEditor::MakeSliceInfo(), TSessionQueryFrame::Progress(), TProofProgressDialog::Progress(), TProofStartupDialog::Progress(), TSessionQueryFrame::ProgressLocal(), TSessionFrame::ProofInfos(), TGuiBldNameFrame::Reset(), TSessionQueryFrame::ResetProgressDialog(), TProofProgressDialog::ResetProgressDialog(), TGColorDialog::SetColorInfo(), TGRecorder::SetDefault(), XSReactionDlg::SetElement(), TGSelectBox::SetLabel(), TStructNodeEditor::SetModel(), TEveTriangleSetEditor::SetModel(), TGeoNodeEditor::SetModel(), TGeoMediumEditor::SetModel(), TF1Editor::SetModel(), TGeoVolumeEditor::SetModel(), TGedNameFrame::SetModel(), TGToolTip::SetText(), SetText(), SetTitle(), TGMdiDecorFrame::SetWindowName(), TGuiBldEditor::SwitchLayout(), TTreeViewer::SwitchTree(), TGRecorder::Update(), XSReactionDlg::UpdateCurIsotope(), TSessionQueryFrame::UpdateInfos(), and TStructViewerGUI::UpdateLabels().

void TGLabel::SetText ( const char *  newText  )  [inline]

Definition at line 91 of file TGLabel.h.

References SetText().

virtual void TGLabel::ChangeText ( const char *  newText  )  [inline, virtual]

Definition at line 92 of file TGLabel.h.

References SetText().

Referenced by DNDMainFrame::DataDropped(), and DNDMainFrame::ResetStatus().

virtual void TGLabel::SetTitle ( const char *  label  )  [inline, virtual]

Definition at line 93 of file TGLabel.h.

References SetText().

void TGLabel::SetText ( Int_t  number  )  [inline]

Definition at line 94 of file TGLabel.h.

References SetText().

void TGLabel::SetTextJustify ( Int_t  tmode  ) 

Definition at line 386 of file TGLabel.cxx.

References SetWindowAttributes_t::fBitGravity, TGObject::fId, SetWindowAttributes_t::fMask, fTextChanged, fTMode, SetWindowAttributes_t::fWinGravity, gVirtualX, kTextBottom, kTextCenterX, kTextCenterY, kTextRight, kTextTop, kTRUE, kWABitGravity, kWAWinGravity, and Layout().

Referenced by DNDMainFrame::DNDMainFrame(), TGFontDialog::GetFontName(), TGMsgBox::PMsgBox(), TGFontDialog::SetAlign(), TEveTriangleSetEditor::TEveTriangleSetEditor(), TGMdiTitleBar::TGMdiTitleBar(), TGeoMixtureEditor::UpdateElements(), and XSReactionDlg::XSReactionDlg().

Int_t TGLabel::GetTextJustify (  )  const [inline]

Definition at line 96 of file TGLabel.h.

References fTMode.

Referenced by TGuiBldDragManager::ChangeProperties(), and SavePrimitive().

void TGLabel::SetTextFont ( TGFont font,
Bool_t  global = kFALSE 
) [virtual]

Definition at line 318 of file TGLabel.cxx.

References TGObject::fClient, fFont, fgDefaultFont, fgDefaultGC, fHasOwnFont, TGGCPool::FindGC(), fNormGC, TGClient::FreeFont(), fTextChanged, TGGC::GetAttributes(), TGClient::GetFont(), TGFont::GetFontHandle(), TGGC::GetGC(), TGGCPool::GetGC(), TGResourcePool::GetGCPool(), TGClient::GetResourcePool(), kTRUE, Layout(), and TGGC::SetFont().

Referenced by TGFontDialog::GetFontName(), GTitleFrame::GTitleFrame(), SetTextFont(), TGMdiTitleBar::SetTitleBarColors(), TEveArrowEditor::TEveArrowEditor(), TEveCaloVizEditor::TEveCaloVizEditor(), and TEveTransSubEditor::TEveTransSubEditor().

void TGLabel::SetTextFont ( FontStruct_t  font,
Bool_t  global = kFALSE 
) [virtual]

Definition at line 286 of file TGLabel.cxx.

References TGObject::fClient, TGFontPool::GetFont(), TGClient::GetFontPool(), and SetTextFont().

void TGLabel::SetTextFont ( const char *  fontName,
Bool_t  global = kFALSE 
) [virtual]

Definition at line 302 of file TGLabel.cxx.

References TGObject::fClient, TGClient::GetFont(), and SetTextFont().

void TGLabel::SetTextColor ( Pixel_t  color,
Bool_t  global = kFALSE 
) [virtual]

Definition at line 353 of file TGLabel.cxx.

References TGObject::fClient, fgDefaultGC, fHasOwnFont, TGGCPool::FindGC(), fNormGC, TGGC::GetAttributes(), TGGC::GetGC(), TGGCPool::GetGC(), TGResourcePool::GetGCPool(), TGClient::GetResourcePool(), kTRUE, TGClient::NeedRedraw(), and TGGC::SetForeground().

Referenced by TGRootIDE::CheckRemote(), TGCommandPlugin::CheckRemote(), ClassImp(), TFitEditor::CreateFunctionGroup(), DNDMainFrame::DataDropped(), DNDMainFrame::DNDMainFrame(), TGFontDialog::GetFontName(), GTitleFrame::GTitleFrame(), LabelsWindow::LabelsWindow(), DNDMainFrame::ResetStatus(), TGFontDialog::SetColor(), SetForegroundColor(), SetTextColor(), TGMdiTitleBar::SetTitleBarColors(), TGedNameFrame::TGedNameFrame(), TGeoManagerEditor::TGeoManagerEditor(), TGeoMediumEditor::TGeoMediumEditor(), TGeoNodeEditor::TGeoNodeEditor(), TGeoTreeDialog::TGeoTreeDialog(), TGeoVolumeEditor::TGeoVolumeEditor(), TStyleDialog::TStyleDialog(), and TGRecorder::Update().

void TGLabel::SetTextColor ( TColor color,
Bool_t  global = kFALSE 
) [virtual]

Definition at line 375 of file TGLabel.cxx.

References SetTextColor().

virtual void TGLabel::SetForegroundColor ( Pixel_t  fore  )  [inline, virtual]

Reimplemented from TGFrame.

Definition at line 102 of file TGLabel.h.

References SetTextColor().

virtual void TGLabel::Disable ( Bool_t  on = kTRUE  )  [inline, virtual]

Definition at line 103 of file TGLabel.h.

References TGObject::fClient, fDisabled, and TGClient::NeedRedraw().

Referenced by TH2Editor::DoAddCol(), TH2Editor::DoHistChanges(), TH2Editor::DoHistComplex(), TH2Editor::DoHistSimple(), MyMainFrame::DoSwitch(), TH2Editor::SetModel(), and LabelsWindow::SwitchState().

virtual void TGLabel::Enable (  )  [inline, virtual]

Definition at line 105 of file TGLabel.h.

References TGObject::fClient, fDisabled, kFALSE, and TGClient::NeedRedraw().

Referenced by TH2Editor::DoAddCol(), TH2Editor::DoHistChanges(), TH2Editor::DoHistComplex(), TH2Editor::DoHistSimple(), MyMainFrame::DoSwitch(), TH2Editor::SetModel(), and LabelsWindow::SwitchState().

Bool_t TGLabel::IsDisabled (  )  const [inline]

Definition at line 106 of file TGLabel.h.

References fDisabled.

Referenced by MyMainFrame::DoSwitch(), and LabelsWindow::SwitchState().

Bool_t TGLabel::HasOwnFont (  )  const

Definition at line 442 of file TGLabel.cxx.

References fHasOwnFont.

void TGLabel::SetWrapLength ( Int_t  wl  )  [inline]

Definition at line 109 of file TGLabel.h.

References fWrapLength, and Layout().

Referenced by TGToolTip::HandleTimer().

Int_t TGLabel::GetWrapLength (  )  const [inline]

Definition at line 110 of file TGLabel.h.

References fWrapLength.

void TGLabel::Set3DStyle ( Int_t  style  )  [inline]

Definition at line 112 of file TGLabel.h.

References f3DStyle, TGObject::fClient, and TGClient::NeedRedraw().

Int_t TGLabel::Get3DStyle (  )  const [inline]

Definition at line 113 of file TGLabel.h.

References f3DStyle.

void TGLabel::SetMargins ( Int_t  left = 0,
Int_t  right = 0,
Int_t  top = 0,
Int_t  bottom = 0 
) [inline]

Definition at line 115 of file TGLabel.h.

References fMBottom, fMLeft, fMRight, fMTop, and top().

Int_t TGLabel::GetLeftMargin (  )  const [inline]

Definition at line 117 of file TGLabel.h.

References fMLeft.

Int_t TGLabel::GetRightMargin (  )  const [inline]

Definition at line 118 of file TGLabel.h.

References fMRight.

Int_t TGLabel::GetTopMargin (  )  const [inline]

Definition at line 119 of file TGLabel.h.

References fMTop.

Int_t TGLabel::GetBottomMargin (  )  const [inline]

Definition at line 120 of file TGLabel.h.

References fMBottom.

GContext_t TGLabel::GetNormGC (  )  const [inline]

Definition at line 122 of file TGLabel.h.

References fNormGC.

Referenced by TGuiBldDragManager::ChangeProperties(), and TGuiBldDragManager::ChangeTextColor().

FontStruct_t TGLabel::GetFontStruct (  )  const [inline]

Definition at line 123 of file TGLabel.h.

References fFont, and TGFont::GetFontStruct().

Referenced by TGuiBldDragManager::ChangeProperties().

TGFont* TGLabel::GetFont (  )  const [inline]

Definition at line 124 of file TGLabel.h.

References fFont.

void TGLabel::Layout (  )  [virtual]

Reimplemented from TGFrame.

Definition at line 151 of file TGLabel.cxx.

References TGFont::ComputeTextLayout(), TGObject::fClient, fFont, fText, fTHeight, fTLayout, fWrapLength, TGString::GetLength(), TGString::GetString(), and TGClient::NeedRedraw().

Referenced by SetText(), SetTextFont(), SetTextJustify(), and SetWrapLength().

void TGLabel::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGFrame.

Definition at line 451 of file TGLabel.cxx.

References TString::Data(), TGFrame::fBackground, TGObject::fClient, fDisabled, fFont, TGFontPool::FindFont(), TGGCPool::FindGC(), fMBottom, fMLeft, fMRight, fMTop, fNormGC, TString::Form(), TGWindow::fParent, fWrapLength, GetDefaultFontStruct(), TGFrame::GetDefaultFrameBackground(), GetDefaultGC(), TGResourcePool::GetFontPool(), TGFont::GetFontStruct(), TGResourcePool::GetGCPool(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGClient::GetResourcePool(), TGString::GetString(), GetText(), GetTextJustify(), TString::ReplaceAll(), TGGC::SavePrimitive(), TGFont::SavePrimitive(), and TGFrame::SaveUserColor().

virtual void TGLabel::DoRedraw (  )  [protected, virtual]

Reimplemented from TGFrame.

virtual void TGLabel::DrawText ( GContext_t  gc,
Int_t  x,
Int_t  y 
) [protected, virtual]

TGLabel& TGLabel::operator= ( const TGLabel  )  [private]

static FontStruct_t TGLabel::GetDefaultFontStruct (  )  [static]

static const TGGC& TGLabel::GetDefaultGC (  )  [static]

virtual TGDimension TGLabel::GetDefaultSize (  )  const [virtual]

Reimplemented from TGFrame.

const TGString* TGLabel::GetText (  )  const [inline]

Definition at line 88 of file TGLabel.h.

References fText.

virtual const char* TGLabel::GetTitle (  )  const [inline, virtual]

Reimplemented from TObject.

Definition at line 89 of file TGLabel.h.

References TString::Data(), and fText.

virtual void TGLabel::SetText ( TGString newText  )  [virtual]

void TGLabel::SetText ( const char *  newText  )  [inline]

Definition at line 91 of file TGLabel.h.

References SetText().

virtual void TGLabel::ChangeText ( const char *  newText  )  [inline, virtual]

Definition at line 92 of file TGLabel.h.

References SetText().

virtual void TGLabel::SetTitle ( const char *  label  )  [inline, virtual]

Definition at line 93 of file TGLabel.h.

References SetText().

void TGLabel::SetText ( Int_t  number  )  [inline]

Definition at line 94 of file TGLabel.h.

References SetText().

void TGLabel::SetTextJustify ( Int_t  tmode  ) 

Int_t TGLabel::GetTextJustify (  )  const [inline]

Definition at line 96 of file TGLabel.h.

References fTMode.

virtual void TGLabel::SetTextFont ( TGFont font,
Bool_t  global = kFALSE 
) [virtual]

virtual void TGLabel::SetTextFont ( FontStruct_t  font,
Bool_t  global = kFALSE 
) [virtual]

virtual void TGLabel::SetTextFont ( const char *  fontName,
Bool_t  global = kFALSE 
) [virtual]

virtual void TGLabel::SetTextColor ( Pixel_t  color,
Bool_t  global = kFALSE 
) [virtual]

virtual void TGLabel::SetTextColor ( TColor color,
Bool_t  global = kFALSE 
) [virtual]

virtual void TGLabel::SetForegroundColor ( Pixel_t  fore  )  [inline, virtual]

Reimplemented from TGFrame.

Definition at line 102 of file TGLabel.h.

References SetTextColor().

virtual void TGLabel::Disable ( Bool_t  on = kTRUE  )  [inline, virtual]

Definition at line 103 of file TGLabel.h.

References TGObject::fClient, fDisabled, and TGClient::NeedRedraw().

virtual void TGLabel::Enable (  )  [inline, virtual]

Definition at line 105 of file TGLabel.h.

References TGObject::fClient, fDisabled, kFALSE, and TGClient::NeedRedraw().

Bool_t TGLabel::IsDisabled (  )  const [inline]

Definition at line 106 of file TGLabel.h.

References fDisabled.

Bool_t TGLabel::HasOwnFont (  )  const

void TGLabel::SetWrapLength ( Int_t  wl  )  [inline]

Definition at line 109 of file TGLabel.h.

References fWrapLength, and Layout().

Int_t TGLabel::GetWrapLength (  )  const [inline]

Definition at line 110 of file TGLabel.h.

References fWrapLength.

void TGLabel::Set3DStyle ( Int_t  style  )  [inline]

Definition at line 112 of file TGLabel.h.

References f3DStyle, TGObject::fClient, and TGClient::NeedRedraw().

Int_t TGLabel::Get3DStyle (  )  const [inline]

Definition at line 113 of file TGLabel.h.

References f3DStyle.

void TGLabel::SetMargins ( Int_t  left = 0,
Int_t  right = 0,
Int_t  top = 0,
Int_t  bottom = 0 
) [inline]

Definition at line 115 of file TGLabel.h.

References fMBottom, fMLeft, fMRight, fMTop, and top().

Int_t TGLabel::GetLeftMargin (  )  const [inline]

Definition at line 117 of file TGLabel.h.

References fMLeft.

Int_t TGLabel::GetRightMargin (  )  const [inline]

Definition at line 118 of file TGLabel.h.

References fMRight.

Int_t TGLabel::GetTopMargin (  )  const [inline]

Definition at line 119 of file TGLabel.h.

References fMTop.

Int_t TGLabel::GetBottomMargin (  )  const [inline]

Definition at line 120 of file TGLabel.h.

References fMBottom.

GContext_t TGLabel::GetNormGC (  )  const [inline]

Definition at line 122 of file TGLabel.h.

References fNormGC.

FontStruct_t TGLabel::GetFontStruct (  )  const [inline]

Definition at line 123 of file TGLabel.h.

References fFont, and TGFont::GetFontStruct().

TGFont* TGLabel::GetFont (  )  const [inline]

Definition at line 124 of file TGLabel.h.

References fFont.

virtual void TGLabel::Layout (  )  [virtual]

Reimplemented from TGFrame.

virtual void TGLabel::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TGFrame.


Member Data Documentation

TGString* TGLabel::fText [protected]

Definition at line 41 of file TGLabel.h.

Referenced by GetText(), GetTitle(), Layout(), SetText(), and ~TGLabel().

UInt_t TGLabel::fTWidth [protected]

Definition at line 42 of file TGLabel.h.

UInt_t TGLabel::fTHeight [protected]

Definition at line 43 of file TGLabel.h.

Referenced by DoRedraw(), GetDefaultSize(), and Layout().

Int_t TGLabel::fMLeft [protected]

Definition at line 44 of file TGLabel.h.

Referenced by DoRedraw(), GetDefaultSize(), GetLeftMargin(), SavePrimitive(), and SetMargins().

Int_t TGLabel::fMRight [protected]

Definition at line 45 of file TGLabel.h.

Referenced by DoRedraw(), GetDefaultSize(), GetRightMargin(), SavePrimitive(), and SetMargins().

Int_t TGLabel::fMTop [protected]

Definition at line 46 of file TGLabel.h.

Referenced by GetDefaultSize(), GetTopMargin(), SavePrimitive(), and SetMargins().

Int_t TGLabel::fMBottom [protected]

Definition at line 47 of file TGLabel.h.

Referenced by GetBottomMargin(), GetDefaultSize(), SavePrimitive(), and SetMargins().

Int_t TGLabel::fTMode [protected]

Definition at line 48 of file TGLabel.h.

Referenced by DoRedraw(), GetTextJustify(), and SetTextJustify().

Int_t TGLabel::f3DStyle [protected]

Definition at line 49 of file TGLabel.h.

Referenced by DoRedraw(), Get3DStyle(), and Set3DStyle().

Int_t TGLabel::fWrapLength [protected]

Definition at line 50 of file TGLabel.h.

Referenced by GetWrapLength(), Layout(), SavePrimitive(), and SetWrapLength().

Int_t TGLabel::fTFlags [protected]

Definition at line 51 of file TGLabel.h.

Bool_t TGLabel::fTextChanged [protected]

Definition at line 52 of file TGLabel.h.

Referenced by DoRedraw(), SetText(), SetTextFont(), and SetTextJustify().

GContext_t TGLabel::fNormGC [protected]

Definition at line 53 of file TGLabel.h.

Referenced by DoRedraw(), GetNormGC(), SavePrimitive(), SetTextColor(), SetTextFont(), and ~TGLabel().

TGFont* TGLabel::fFont [protected]

Definition at line 54 of file TGLabel.h.

Referenced by DoRedraw(), GetFont(), GetFontStruct(), Layout(), SavePrimitive(), SetTextFont(), and ~TGLabel().

TGTextLayout* TGLabel::fTLayout [protected]

Definition at line 55 of file TGLabel.h.

Referenced by DrawText(), Layout(), and ~TGLabel().

Bool_t TGLabel::fHasOwnFont [protected]

Definition at line 56 of file TGLabel.h.

Referenced by HasOwnFont(), SetTextColor(), SetTextFont(), and ~TGLabel().

Bool_t TGLabel::fDisabled [protected]

Definition at line 57 of file TGLabel.h.

Referenced by Disable(), DoRedraw(), Enable(), IsDisabled(), and SavePrimitive().

const TGFont * TGLabel::fgDefaultFont [static, protected]

Definition at line 62 of file TGLabel.h.

Referenced by GetDefaultFontStruct(), SetTextFont(), and ~TGLabel().

const TGGC * TGLabel::fgDefaultGC [static, protected]

Definition at line 63 of file TGLabel.h.

Referenced by DoRedraw(), GetDefaultGC(), SetTextColor(), and SetTextFont().

TGString* TGLabel::fText [protected]

Definition at line 41 of file TGLabel.h.

TGFont* TGLabel::fFont [protected]

Definition at line 54 of file TGLabel.h.

TGTextLayout* TGLabel::fTLayout [protected]

Definition at line 55 of file TGLabel.h.

const TGFont* TGLabel::fgDefaultFont [static, protected]

Definition at line 62 of file TGLabel.h.

const TGGC* TGLabel::fgDefaultGC [static, protected]

Definition at line 63 of file TGLabel.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:37 2011 for ROOT_528-00b_version by  doxygen 1.5.1