TGTextButton Class Reference

#include <TGButton.h>

Inheritance diagram for TGTextButton:

TGButton TGButton TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TEveGedNameTextButton TEveGedNameTextButton TGCheckButton TGCheckButton TGRadioButton TGRadioButton TGSplitButton TGSplitButton List of all members.

Public Member Functions

 TGTextButton (const TGWindow *p, TGHotString *s, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kRaisedFrame|kDoubleBorder)
 TGTextButton (const TGWindow *p=0, const char *s=0, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kRaisedFrame|kDoubleBorder)
 TGTextButton (const TGWindow *p, const char *s, const char *cmd, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kRaisedFrame|kDoubleBorder)
virtual ~TGTextButton ()
virtual TGDimension GetDefaultSize () const
virtual Bool_t HandleKey (Event_t *event)
const TGHotStringGetText () const
virtual const char * GetTitle () const
TString GetString () const
virtual void SetTextJustify (Int_t tmode)
Int_t GetTextJustify () const
virtual void SetText (TGHotString *new_label)
virtual void SetText (const TString &new_label)
virtual void SetTitle (const char *label)
virtual void SetFont (FontStruct_t font, Bool_t global=kFALSE)
virtual void SetFont (const char *fontName, Bool_t global=kFALSE)
virtual void SetTextColor (Pixel_t color, Bool_t global=kFALSE)
virtual void SetForegroundColor (Pixel_t fore)
Bool_t HasOwnFont () const
void SetWrapLength (Int_t wl)
Int_t GetWrapLength () const
void SetMargins (Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
virtual void SetLeftMargin (Int_t val)
virtual void SetRightMargin (Int_t val)
virtual void SetTopMargin (Int_t val)
virtual void SetBottomMargin (Int_t val)
Int_t GetLeftMargin () const
Int_t GetRightMargin () const
Int_t GetTopMargin () const
Int_t GetBottomMargin () const
void ChangeText (const char *title)
FontStruct_t GetFontStruct () const
virtual void Layout ()
virtual void SavePrimitive (ostream &out, Option_t *option="")
 TGTextButton (const TGWindow *p, TGHotString *s, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kRaisedFrame|kDoubleBorder)
 TGTextButton (const TGWindow *p=0, const char *s=0, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kRaisedFrame|kDoubleBorder)
 TGTextButton (const TGWindow *p, const char *s, const char *cmd, Int_t id=-1, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t option=kRaisedFrame|kDoubleBorder)
virtual ~TGTextButton ()
virtual TGDimension GetDefaultSize () const
virtual Bool_t HandleKey (Event_t *event)
const TGHotStringGetText () const
virtual const char * GetTitle () const
TString GetString () const
virtual void SetTextJustify (Int_t tmode)
Int_t GetTextJustify () const
virtual void SetText (TGHotString *new_label)
virtual void SetText (const TString &new_label)
virtual void SetTitle (const char *label)
virtual void SetFont (FontStruct_t font, Bool_t global=kFALSE)
virtual void SetFont (const char *fontName, Bool_t global=kFALSE)
virtual void SetTextColor (Pixel_t color, Bool_t global=kFALSE)
virtual void SetForegroundColor (Pixel_t fore)
Bool_t HasOwnFont () const
void SetWrapLength (Int_t wl)
Int_t GetWrapLength () const
void SetMargins (Int_t left=0, Int_t right=0, Int_t top=0, Int_t bottom=0)
virtual void SetLeftMargin (Int_t val)
virtual void SetRightMargin (Int_t val)
virtual void SetTopMargin (Int_t val)
virtual void SetBottomMargin (Int_t val)
Int_t GetLeftMargin () const
Int_t GetRightMargin () const
Int_t GetTopMargin () const
Int_t GetBottomMargin () const
void ChangeText (const char *title)
FontStruct_t GetFontStruct () const
virtual void Layout ()
virtual void SavePrimitive (ostream &out, Option_t *option="")

Static Public Member Functions

static FontStruct_t GetDefaultFontStruct ()
static FontStruct_t GetDefaultFontStruct ()

Protected Member Functions

void Init ()
virtual void DoRedraw ()
void Init ()
virtual void DoRedraw ()

Protected Attributes

TGHotStringfLabel
Int_t fMLeft
Int_t fMRight
Int_t fMTop
Int_t fMBottom
Int_t fTMode
Int_t fWrapLength
Int_t fHKeycode
TGTextLayoutfTLayout
FontStruct_t fFontStruct
Bool_t fHasOwnFont
Bool_t fStateOn
Bool_t fPrevStateOn
TGHotStringfLabel
TGTextLayoutfTLayout

Static Protected Attributes

static const TGFontfgDefaultFont
static const TGFontfgDefaultFont

Private Member Functions

 TGTextButton (const TGTextButton &)
TGTextButtonoperator= (const TGTextButton &)
 TGTextButton (const TGTextButton &)
TGTextButtonoperator= (const TGTextButton &)

Detailed Description

Definition at line 140 of file TGButton.h.


Constructor & Destructor Documentation

TGTextButton::TGTextButton ( const TGTextButton  )  [private]

TGTextButton::TGTextButton ( const TGWindow p,
TGHotString s,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = kRaisedFrame|kDoubleBorder 
)

Definition at line 374 of file TGButton.cxx.

References fFontStruct, fLabel, Init(), and s.

TGTextButton::TGTextButton ( const TGWindow p = 0,
const char *  s = 0,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = kRaisedFrame|kDoubleBorder 
)

Definition at line 388 of file TGButton.cxx.

References fFontStruct, fLabel, TGWindow::GetName(), Init(), and p.

TGTextButton::TGTextButton ( const TGWindow p,
const char *  s,
const char *  cmd,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = kRaisedFrame|kDoubleBorder 
)

Definition at line 401 of file TGButton.cxx.

References TGWidget::fCommand, fFontStruct, fLabel, and Init().

TGTextButton::~TGTextButton (  )  [virtual]

Definition at line 467 of file TGButton.cxx.

References TGObject::fClient, fHasOwnFont, fHKeycode, TGGCPool::FindGC(), fLabel, TGButton::fNormGC, TGWindow::fParent, TGGCPool::FreeGC(), fTLayout, TGClient::GetGCPool(), TGWindow::GetMainFrame(), kDeepCleanup, kKeyLockMask, kKeyMod1Mask, kKeyMod2Mask, kKeyShiftMask, main(), and TGWindow::MustCleanup().

TGTextButton::TGTextButton ( const TGTextButton  )  [private]

TGTextButton::TGTextButton ( const TGWindow p,
TGHotString s,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = kRaisedFrame|kDoubleBorder 
)

TGTextButton::TGTextButton ( const TGWindow p = 0,
const char *  s = 0,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = kRaisedFrame|kDoubleBorder 
)

TGTextButton::TGTextButton ( const TGWindow p,
const char *  s,
const char *  cmd,
Int_t  id = -1,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  option = kRaisedFrame|kDoubleBorder 
)

virtual TGTextButton::~TGTextButton (  )  [virtual]


Member Function Documentation

void TGTextButton::Init (  )  [protected]

Definition at line 415 of file TGButton.cxx.

References TGFont::ComputeTextLayout(), SetWindowAttributes_t::fBitGravity, TGObject::fClient, fFontStruct, fgDefaultFont, fHasOwnFont, TGFrame::fHeight, fHKeycode, TGObject::fId, TGFontPool::FindFont(), fLabel, SetWindowAttributes_t::fMask, fMBottom, fMLeft, fMRight, fMTop, fPrevStateOn, fStateOn, TGButton::fTHeight, fTLayout, fTMode, TGButton::fTWidth, TGFrame::fWidth, SetWindowAttributes_t::fWinGravity, fWrapLength, TGFontPool::GetFont(), TGClient::GetFontPool(), TGFont::GetFontStruct(), TGHotString::GetHotChar(), TGString::GetLength(), TGWindow::GetMainFrame(), TGString::GetString(), gVirtualX, kFALSE, kKeyLockMask, kKeyMod1Mask, kKeyMod2Mask, kKeyShiftMask, kTextCenterX, kTextCenterY, kTextLeft, kWABitGravity, kWAWinGravity, main(), TGFrame::Resize(), and TGWindow::SetWindowName().

Referenced by TGTextButton().

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

Reimplemented from TGFrame.

Definition at line 615 of file TGButton.cxx.

References TGFrame::DoRedraw(), TGTextLayout::DrawText(), TGObject::fClient, TGFrame::fHeight, TGObject::fId, TGGCPool::FindGC(), fLabel, fMBottom, fMLeft, fMRight, fMTop, TGButton::fNormGC, TGButton::fState, TGButton::fTHeight, fTLayout, fTMode, TGButton::fTWidth, TGFrame::fWidth, TGGC::GetForeground(), TGGC::GetGC(), TGResourcePool::GetGCPool(), TGButton::GetHibckgndGC(), TGFrame::GetHilightGC(), TGHotString::GetHotPos(), TGClient::GetResourcePool(), TGFrame::GetShadowGC(), gVirtualX, hi, kButtonDisabled, kButtonDown, kButtonEngaged, kTextBottom, kTextLeft, kTextRight, kTextTop, TGGC::SetForeground(), TGTextLayout::UnderlineChar(), x, and y.

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

FontStruct_t TGTextButton::GetDefaultFontStruct (  )  [static]

Definition at line 723 of file TGButton.cxx.

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

Referenced by G__G__Gui1_202_0_5(), G__setup_memfuncTGTextButton(), SavePrimitive(), and TGuiBldEditor::TGuiBldEditor().

TGDimension TGTextButton::GetDefaultSize (  )  const [virtual]

Reimplemented from TGFrame.

Definition at line 713 of file TGButton.cxx.

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

Referenced by DNDMainFrame::DNDMainFrame().

Bool_t TGTextButton::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

Definition at line 669 of file TGButton.cxx.

References TGButton::EmitSignals(), TGObject::fClient, TGWidget::fCommand, TGWidget::fMsgWindow, Event_t::fState, TGButton::fState, TGButton::fStayDown, TGButton::fTip, Event_t::fType, TGButton::fUserData, TGWidget::fWidgetId, gVirtualX, TGToolTip::Hide(), TGButton::IsDown(), kButtonDisabled, kButtonDown, kButtonEngaged, kButtonUp, kC_COMMAND, kCM_BUTTON, kFALSE, kGKeyPress, kKeyMod1Mask, kKeyRelease, kTRUE, MK_MSG(), TGClient::ProcessLine(), TGFrame::SendMessage(), and TGButton::SetState().

const TGHotString* TGTextButton::GetText (  )  const [inline]

Definition at line 187 of file TGButton.h.

References fLabel.

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

Reimplemented from TObject.

Definition at line 188 of file TGButton.h.

References TString::Data(), and fLabel.

Referenced by TGFileDialog::ProcessMessage().

TString TGTextButton::GetString (  )  const [inline]

Definition at line 189 of file TGButton.h.

References fLabel, and TGString::GetString().

Referenced by TGShutter::GetItem(), TGShutter::RemovePage(), and TGFileDialog::~TGFileDialog().

void TGTextButton::SetTextJustify ( Int_t  tmode  )  [virtual]

Definition at line 561 of file TGButton.cxx.

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

Referenced by ButtonWindow::DoHPosition(), ButtonWindow::DoVPosition(), TGListView::SetHeader(), TGListView::SetHeaders(), TextAlignWindow::SetTextPosition(), and TEveWindowSlot::TEveWindowSlot().

Int_t TGTextButton::GetTextJustify (  )  const [inline]

Definition at line 191 of file TGButton.h.

References fTMode.

Referenced by TGuiBldDragManager::ChangeProperties(), ButtonWindow::DoHPosition(), ButtonWindow::DoVPosition(), and TextAlignWindow::SetTextPosition().

void TGTextButton::SetText ( TGHotString new_label  )  [virtual]

Definition at line 513 of file TGButton.cxx.

References fHKeycode, fLabel, TGHotString::GetHotChar(), TGWindow::GetMainFrame(), gVirtualX, kKeyLockMask, kKeyMod1Mask, kKeyMod2Mask, kKeyShiftMask, Layout(), and main().

Referenced by ButtonLayoutWindow::ButtonLayoutWindow(), MyMainFrame::ChangePauseLabel(), TGuiBldEditor::ChangeSelected(), MyMainFrame::ChangeStartLabel(), TEveViewerListEditor::DoBrightness(), TStyleManager::DoMoreLess(), TEditQueryFrame::OnNewQueryMore(), TNewQueryDlg::OnNewQueryMore(), TMemStatDrawDlg::PlaceCtrls(), TGShutter::RenamePage(), TGeoVolumeEditor::SetModel(), TEveGedNameFrame::SetModel(), SetText(), SetTitle(), TEveViewerListEditor::SwitchColorSet(), TGuiBldEditor::SwitchLayout(), TNewQueryDlg::TNewQueryDlg(), TSessionQueryFrame::UpdateInfos(), and TEveCompositeFrame::WindowNameChanged().

void TGTextButton::SetText ( const TString new_label  )  [virtual]

Definition at line 553 of file TGButton.cxx.

References SetText().

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

Definition at line 194 of file TGButton.h.

References SetText().

Referenced by ChangeText(), and TGColorSelect::Rename().

void TGTextButton::SetFont ( FontStruct_t  font,
Bool_t  global = kFALSE 
) [virtual]

Definition at line 733 of file TGButton.cxx.

References TGObject::fClient, fFontStruct, fHasOwnFont, TGGCPool::FindGC(), TGButton::fNormGC, TGGC::GetAttributes(), TGGC::GetGC(), TGGCPool::GetGC(), TGResourcePool::GetGCPool(), TGClient::GetResourcePool(), gVirtualX, kTRUE, Layout(), and TGGC::SetFont().

Referenced by ButtonLayoutWindow::ButtonLayoutWindow(), and SetFont().

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

Definition at line 759 of file TGButton.cxx.

References TGObject::fClient, TGClient::GetFont(), TGFont::GetFontStruct(), and SetFont().

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

Definition at line 771 of file TGButton.cxx.

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

Referenced by ButtonLayoutWindow::ButtonLayoutWindow(), TProofProgressLog::Init(), SetForegroundColor(), TGLViewerEditor::SetModel(), and TEveGedNameFrame::TEveGedNameFrame().

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

Reimplemented from TGFrame.

Definition at line 198 of file TGButton.h.

References SetTextColor().

Bool_t TGTextButton::HasOwnFont (  )  const

Definition at line 790 of file TGButton.cxx.

References fHasOwnFont.

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

Definition at line 200 of file TGButton.h.

References fWrapLength, and Layout().

Int_t TGTextButton::GetWrapLength (  )  const [inline]

Definition at line 201 of file TGButton.h.

References fWrapLength.

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

Definition at line 202 of file TGButton.h.

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

virtual void TGTextButton::SetLeftMargin ( Int_t  val  )  [inline, virtual]

Definition at line 205 of file TGButton.h.

References fMLeft.

Referenced by ButtonWindow::DoLeftMargin().

virtual void TGTextButton::SetRightMargin ( Int_t  val  )  [inline, virtual]

Definition at line 206 of file TGButton.h.

References fMRight.

Referenced by ButtonWindow::DoRightMargin().

virtual void TGTextButton::SetTopMargin ( Int_t  val  )  [inline, virtual]

Definition at line 207 of file TGButton.h.

References fMTop.

Referenced by ButtonWindow::DoTopMargin().

virtual void TGTextButton::SetBottomMargin ( Int_t  val  )  [inline, virtual]

Definition at line 208 of file TGButton.h.

References fMBottom.

Referenced by ButtonWindow::DoBottomMargin().

Int_t TGTextButton::GetLeftMargin (  )  const [inline]

Definition at line 210 of file TGButton.h.

References fMLeft.

Int_t TGTextButton::GetRightMargin (  )  const [inline]

Definition at line 211 of file TGButton.h.

References fMRight.

Int_t TGTextButton::GetTopMargin (  )  const [inline]

Definition at line 212 of file TGButton.h.

References fMTop.

Int_t TGTextButton::GetBottomMargin (  )  const [inline]

Definition at line 213 of file TGButton.h.

References fMBottom.

void TGTextButton::ChangeText ( const char *  title  )  [inline]

Definition at line 215 of file TGButton.h.

References SetTitle().

Referenced by TProofProgressDialog::DoEnableSpeedo().

FontStruct_t TGTextButton::GetFontStruct (  )  const [inline]

Definition at line 217 of file TGButton.h.

References fFontStruct.

Referenced by TGuiBldDragManager::ChangeProperties().

void TGTextButton::Layout (  )  [virtual]

Reimplemented from TGFrame.

Definition at line 494 of file TGButton.cxx.

References TGFont::ComputeTextLayout(), TGObject::fClient, fFontStruct, fgDefaultFont, TGFontPool::FindFont(), fLabel, TGButton::fTHeight, fTLayout, TGButton::fTWidth, fWrapLength, TGFontPool::GetFont(), TGClient::GetFontPool(), TGFont::GetFontStruct(), TGString::GetLength(), TGString::GetString(), kTextLeft, and TGClient::NeedRedraw().

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

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

Reimplemented from TGButton.

Definition at line 1735 of file TGButton.cxx.

References TGFrame::fBackground, fFontStruct, TGFontPool::FindFont(), TGGCPool::FindGC(), fLabel, fMBottom, fMLeft, fMRight, fMTop, TGButton::fNormGC, TString::Form(), TGWindow::fParent, fTMode, TGWidget::fWidgetId, fWrapLength, gClient, GetDefaultFontStruct(), TGFrame::GetDefaultFrameBackground(), TGButton::GetDefaultGC(), TGResourcePool::GetFontPool(), TGResourcePool::GetGCPool(), TGFrame::GetHeight(), TGHotString::GetHotPos(), TGWindow::GetName(), TGFrame::GetOptions(), TGFrame::GetOptionString(), TGClient::GetResourcePool(), TGString::GetString(), TGFrame::GetWidth(), kDoubleBorder, kRaisedFrame, TGGC::SavePrimitive(), TGFont::SavePrimitive(), TGButton::SavePrimitive(), and TGFrame::SaveUserColor().

void TGTextButton::Init (  )  [protected]

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

Reimplemented from TGFrame.

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

static FontStruct_t TGTextButton::GetDefaultFontStruct (  )  [static]

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

Reimplemented from TGFrame.

virtual Bool_t TGTextButton::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGFrame.

const TGHotString* TGTextButton::GetText (  )  const [inline]

Definition at line 187 of file TGButton.h.

References fLabel.

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

Reimplemented from TObject.

Definition at line 188 of file TGButton.h.

References TString::Data(), and fLabel.

TString TGTextButton::GetString (  )  const [inline]

Definition at line 189 of file TGButton.h.

References fLabel, and TGString::GetString().

virtual void TGTextButton::SetTextJustify ( Int_t  tmode  )  [virtual]

Int_t TGTextButton::GetTextJustify (  )  const [inline]

Definition at line 191 of file TGButton.h.

References fTMode.

virtual void TGTextButton::SetText ( TGHotString new_label  )  [virtual]

virtual void TGTextButton::SetText ( const TString new_label  )  [virtual]

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

Definition at line 194 of file TGButton.h.

References SetText().

virtual void TGTextButton::SetFont ( FontStruct_t  font,
Bool_t  global = kFALSE 
) [virtual]

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

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

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

Reimplemented from TGFrame.

Definition at line 198 of file TGButton.h.

References SetTextColor().

Bool_t TGTextButton::HasOwnFont (  )  const

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

Definition at line 200 of file TGButton.h.

References fWrapLength, and Layout().

Int_t TGTextButton::GetWrapLength (  )  const [inline]

Definition at line 201 of file TGButton.h.

References fWrapLength.

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

Definition at line 202 of file TGButton.h.

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

virtual void TGTextButton::SetLeftMargin ( Int_t  val  )  [inline, virtual]

Definition at line 205 of file TGButton.h.

References fMLeft.

virtual void TGTextButton::SetRightMargin ( Int_t  val  )  [inline, virtual]

Definition at line 206 of file TGButton.h.

References fMRight.

virtual void TGTextButton::SetTopMargin ( Int_t  val  )  [inline, virtual]

Definition at line 207 of file TGButton.h.

References fMTop.

virtual void TGTextButton::SetBottomMargin ( Int_t  val  )  [inline, virtual]

Definition at line 208 of file TGButton.h.

References fMBottom.

Int_t TGTextButton::GetLeftMargin (  )  const [inline]

Definition at line 210 of file TGButton.h.

References fMLeft.

Int_t TGTextButton::GetRightMargin (  )  const [inline]

Definition at line 211 of file TGButton.h.

References fMRight.

Int_t TGTextButton::GetTopMargin (  )  const [inline]

Definition at line 212 of file TGButton.h.

References fMTop.

Int_t TGTextButton::GetBottomMargin (  )  const [inline]

Definition at line 213 of file TGButton.h.

References fMBottom.

void TGTextButton::ChangeText ( const char *  title  )  [inline]

Definition at line 215 of file TGButton.h.

References SetTitle().

FontStruct_t TGTextButton::GetFontStruct (  )  const [inline]

Definition at line 217 of file TGButton.h.

References fFontStruct.

virtual void TGTextButton::Layout (  )  [virtual]

Reimplemented from TGFrame.

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

Reimplemented from TGButton.


Member Data Documentation

TGHotString* TGTextButton::fLabel [protected]

Definition at line 143 of file TGButton.h.

Referenced by TGSplitButton::CalcSize(), TGCheckButton::DoRedraw(), DoRedraw(), TGRadioButton::DoRedraw(), TGSplitButton::DoRedraw(), GetString(), GetText(), GetTitle(), TGSplitButton::Init(), Init(), TGCheckButton::Init(), TGRadioButton::Init(), TGSplitButton::Layout(), Layout(), TGRadioButton::SavePrimitive(), SavePrimitive(), TGCheckButton::SavePrimitive(), TGSplitButton::SetText(), SetText(), TGTextButton(), and ~TGTextButton().

Int_t TGTextButton::fMLeft [protected]

Definition at line 144 of file TGButton.h.

Referenced by DoRedraw(), TGSplitButton::DoRedraw(), TGSplitButton::GetDefaultSize(), GetDefaultSize(), GetLeftMargin(), Init(), TGRadioButton::SavePrimitive(), SavePrimitive(), TGCheckButton::SavePrimitive(), SetLeftMargin(), and SetMargins().

Int_t TGTextButton::fMRight [protected]

Definition at line 145 of file TGButton.h.

Referenced by DoRedraw(), TGSplitButton::DoRedraw(), TGSplitButton::GetDefaultSize(), GetDefaultSize(), GetRightMargin(), Init(), TGRadioButton::SavePrimitive(), SavePrimitive(), TGCheckButton::SavePrimitive(), SetMargins(), and SetRightMargin().

Int_t TGTextButton::fMTop [protected]

Definition at line 146 of file TGButton.h.

Referenced by DoRedraw(), TGSplitButton::DoRedraw(), TGSplitButton::GetDefaultSize(), GetDefaultSize(), GetTopMargin(), Init(), TGRadioButton::SavePrimitive(), SavePrimitive(), TGCheckButton::SavePrimitive(), SetMargins(), and SetTopMargin().

Int_t TGTextButton::fMBottom [protected]

Definition at line 147 of file TGButton.h.

Referenced by DoRedraw(), TGSplitButton::DoRedraw(), GetBottomMargin(), TGSplitButton::GetDefaultSize(), GetDefaultSize(), Init(), TGRadioButton::SavePrimitive(), SavePrimitive(), TGCheckButton::SavePrimitive(), SetBottomMargin(), and SetMargins().

Int_t TGTextButton::fTMode [protected]

Definition at line 148 of file TGButton.h.

Referenced by DoRedraw(), TGSplitButton::DoRedraw(), GetTextJustify(), TGSplitButton::Init(), Init(), TGRadioButton::SavePrimitive(), SavePrimitive(), TGCheckButton::SavePrimitive(), SetTextJustify(), and TGSplitButton::TGSplitButton().

Int_t TGTextButton::fWrapLength [protected]

Definition at line 149 of file TGButton.h.

Referenced by GetWrapLength(), Init(), TGSplitButton::Layout(), Layout(), TGRadioButton::SavePrimitive(), SavePrimitive(), TGCheckButton::SavePrimitive(), TGSplitButton::SetText(), SetWrapLength(), and TGSplitButton::TGSplitButton().

Int_t TGTextButton::fHKeycode [protected]

Definition at line 150 of file TGButton.h.

Referenced by TGSplitButton::Init(), Init(), TGCheckButton::Init(), TGRadioButton::Init(), TGSplitButton::SetText(), SetText(), TGSplitButton::TGSplitButton(), and ~TGTextButton().

TGTextLayout* TGTextButton::fTLayout [protected]

Definition at line 151 of file TGButton.h.

Referenced by TGCheckButton::DoRedraw(), DoRedraw(), TGRadioButton::DoRedraw(), TGSplitButton::DoRedraw(), Init(), TGSplitButton::Layout(), Layout(), and ~TGTextButton().

FontStruct_t TGTextButton::fFontStruct [protected]

Definition at line 152 of file TGButton.h.

Referenced by TGSplitButton::CalcSize(), GetFontStruct(), Init(), TGSplitButton::Layout(), Layout(), TGRadioButton::SavePrimitive(), SavePrimitive(), TGCheckButton::SavePrimitive(), SetFont(), TGSplitButton::SetFont(), TGSplitButton::SetText(), TGSplitButton::TGSplitButton(), and TGTextButton().

Bool_t TGTextButton::fHasOwnFont [protected]

Definition at line 153 of file TGButton.h.

Referenced by HasOwnFont(), TGSplitButton::Init(), Init(), SetFont(), TGSplitButton::SetFont(), SetTextColor(), and ~TGTextButton().

Bool_t TGTextButton::fStateOn [protected]

Definition at line 154 of file TGButton.h.

Referenced by TGCheckButton::DoRedraw(), TGRadioButton::DoRedraw(), TGRadioButton::EmitSignals(), TGCheckButton::EmitSignals(), TGRadioButton::HandleButton(), TGCheckButton::HandleButton(), TGSplitButton::Init(), Init(), TGCheckButton::IsDisabledAndSelected(), TGRadioButton::IsDisabledAndSelected(), TGRadioButton::IsDown(), TGRadioButton::IsOn(), TGCheckButton::PSetState(), TGRadioButton::PSetState(), TGCheckButton::SetDisabledAndSelected(), and TGRadioButton::SetDisabledAndSelected().

Bool_t TGTextButton::fPrevStateOn [protected]

Definition at line 155 of file TGButton.h.

Referenced by TGRadioButton::HandleButton(), TGCheckButton::HandleButton(), TGSplitButton::Init(), and Init().

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

Definition at line 157 of file TGButton.h.

Referenced by GetDefaultFontStruct(), Init(), TGSplitButton::Layout(), Layout(), TGSplitButton::SetText(), and TGSplitButton::TGSplitButton().

TGHotString* TGTextButton::fLabel [protected]

Definition at line 143 of file TGButton.h.

TGTextLayout* TGTextButton::fTLayout [protected]

Definition at line 151 of file TGButton.h.

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

Definition at line 157 of file TGButton.h.


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