TGTreeLBEntry Class Reference

#include <TGFSComboBox.h>

Inheritance diagram for TGTreeLBEntry:

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

Public Member Functions

 TGTreeLBEntry (const TGWindow *p=0, TGString *text=0, const TGPicture *pic=0, Int_t id=-1, TGString *path=0, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kHorizontalFrame, Pixel_t back=GetWhitePixel())
virtual ~TGTreeLBEntry ()
const TGStringGetText () const
const TGPictureGetPicture () const
const TGStringGetPath () const
virtual TGDimension GetDefaultSize () const
virtual void Activate (Bool_t a)
virtual void Update (TGLBEntry *e)
virtual void DrawCopy (Handle_t id, Int_t x, Int_t y)
 TGTreeLBEntry (const TGWindow *p=0, TGString *text=0, const TGPicture *pic=0, Int_t id=-1, TGString *path=0, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=kHorizontalFrame, Pixel_t back=GetWhitePixel())
virtual ~TGTreeLBEntry ()
const TGStringGetText () const
const TGPictureGetPicture () const
const TGStringGetPath () const
virtual TGDimension GetDefaultSize () const
virtual void Activate (Bool_t a)
virtual void Update (TGLBEntry *e)
virtual void DrawCopy (Handle_t id, Int_t x, Int_t y)

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 DoRedraw ()

Protected Attributes

TGStringfText
TGStringfPath
const TGPicturefPic
TGSelectedPicturefSelPic
UInt_t fTWidth
UInt_t fTHeight
Bool_t fActive
GContext_t fNormGC
FontStruct_t fFontStruct
TGStringfText
TGStringfPath
const TGPicturefPic
TGSelectedPicturefSelPic

Static Protected Attributes

static const TGFontfgDefaultFont
static TGGCfgDefaultGC
static const TGFontfgDefaultFont
static TGGCfgDefaultGC

Detailed Description

Definition at line 35 of file TGFSComboBox.h.


Constructor & Destructor Documentation

TGTreeLBEntry::TGTreeLBEntry ( const TGWindow p = 0,
TGString text = 0,
const TGPicture pic = 0,
Int_t  id = -1,
TGString path = 0,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  options = kHorizontalFrame,
Pixel_t  back = GetWhitePixel() 
)

TGTreeLBEntry::~TGTreeLBEntry (  )  [virtual]

Definition at line 91 of file TGFSComboBox.cxx.

References fPath, fSelPic, and fText.

TGTreeLBEntry::TGTreeLBEntry ( const TGWindow p = 0,
TGString text = 0,
const TGPicture pic = 0,
Int_t  id = -1,
TGString path = 0,
GContext_t  norm = GetDefaultGC()(),
FontStruct_t  font = GetDefaultFontStruct(),
UInt_t  options = kHorizontalFrame,
Pixel_t  back = GetWhitePixel() 
)

virtual TGTreeLBEntry::~TGTreeLBEntry (  )  [virtual]


Member Function Documentation

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

Reimplemented from TGLBEntry.

Definition at line 148 of file TGFSComboBox.cxx.

References DrawCopy(), and TGObject::fId.

Referenced by Activate().

FontStruct_t TGTreeLBEntry::GetDefaultFontStruct (  )  [static]

Definition at line 183 of file TGFSComboBox.cxx.

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

Referenced by G__G__Gui2_344_0_2(), and G__setup_memfuncTGTreeLBEntry().

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

Definition at line 193 of file TGFSComboBox.cxx.

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

Referenced by G__G__Gui2_344_0_3(), and G__setup_memfuncTGTreeLBEntry().

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

Definition at line 63 of file TGFSComboBox.h.

References fText.

Referenced by Update().

const TGPicture* TGTreeLBEntry::GetPicture (  )  const [inline]

Definition at line 64 of file TGFSComboBox.h.

References fPic.

Referenced by Update().

const TGString* TGTreeLBEntry::GetPath (  )  const [inline]

Definition at line 65 of file TGFSComboBox.h.

References fPath.

Referenced by TRootBrowserLite::ProcessMessage(), and TGFileDialog::ProcessMessage().

TGDimension TGTreeLBEntry::GetDefaultSize (  )  const [virtual]

Reimplemented from TGFrame.

Definition at line 156 of file TGFSComboBox.cxx.

References fPic, fTHeight, fTWidth, TGPicture::GetHeight(), TGPicture::GetWidth(), and TMath::Max().

void TGTreeLBEntry::Activate ( Bool_t  a  )  [virtual]

Reimplemented from TGLBEntry.

Definition at line 101 of file TGFSComboBox.cxx.

References DoRedraw(), fActive, TGObject::fClient, fPic, and fSelPic.

void TGTreeLBEntry::Update ( TGLBEntry e  )  [virtual]

Reimplemented from TGLBEntry.

Definition at line 168 of file TGFSComboBox.cxx.

References TGObject::fClient, fFontStruct, TGObject::fId, fPic, fText, fTWidth, GetPicture(), GetText(), gVirtualX, and TGClient::NeedRedraw().

void TGTreeLBEntry::DrawCopy ( Handle_t  id,
Int_t  x,
Int_t  y 
) [virtual]

Reimplemented from TGFrame.

Definition at line 118 of file TGFSComboBox.cxx.

References TGString::Draw(), TGPicture::Draw(), fActive, TGObject::fClient, fFontStruct, TGFrame::fgBlackPixel, TGFrame::fgDefaultSelectedBackground, TGFrame::fgWhitePixel, TGFrame::fHeight, fNormGC, fPic, fSelPic, fText, fTHeight, fTWidth, TGPicture::GetHeight(), TGClient::GetResourcePool(), TGResourcePool::GetSelectedFgndColor(), TGPicture::GetWidth(), gVirtualX, and int.

Referenced by DoRedraw().

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

Reimplemented from TGLBEntry.

static FontStruct_t TGTreeLBEntry::GetDefaultFontStruct (  )  [static]

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

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

Definition at line 63 of file TGFSComboBox.h.

References fText.

const TGPicture* TGTreeLBEntry::GetPicture (  )  const [inline]

Definition at line 64 of file TGFSComboBox.h.

References fPic.

const TGString* TGTreeLBEntry::GetPath (  )  const [inline]

Definition at line 65 of file TGFSComboBox.h.

References fPath.

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

Reimplemented from TGFrame.

virtual void TGTreeLBEntry::Activate ( Bool_t  a  )  [virtual]

Reimplemented from TGLBEntry.

virtual void TGTreeLBEntry::Update ( TGLBEntry e  )  [virtual]

Reimplemented from TGLBEntry.

virtual void TGTreeLBEntry::DrawCopy ( Handle_t  id,
Int_t  x,
Int_t  y 
) [virtual]

Reimplemented from TGFrame.


Member Data Documentation

TGString* TGTreeLBEntry::fText [protected]

Definition at line 38 of file TGFSComboBox.h.

Referenced by DrawCopy(), GetText(), Update(), and ~TGTreeLBEntry().

TGString* TGTreeLBEntry::fPath [protected]

Definition at line 39 of file TGFSComboBox.h.

Referenced by GetPath(), and ~TGTreeLBEntry().

const TGPicture* TGTreeLBEntry::fPic [protected]

Definition at line 40 of file TGFSComboBox.h.

Referenced by Activate(), DrawCopy(), GetDefaultSize(), GetPicture(), and Update().

TGSelectedPicture* TGTreeLBEntry::fSelPic [protected]

Definition at line 41 of file TGFSComboBox.h.

Referenced by Activate(), DrawCopy(), and ~TGTreeLBEntry().

UInt_t TGTreeLBEntry::fTWidth [protected]

Definition at line 42 of file TGFSComboBox.h.

Referenced by DrawCopy(), GetDefaultSize(), and Update().

UInt_t TGTreeLBEntry::fTHeight [protected]

Definition at line 43 of file TGFSComboBox.h.

Referenced by DrawCopy(), and GetDefaultSize().

Bool_t TGTreeLBEntry::fActive [protected]

Reimplemented from TGLBEntry.

Definition at line 44 of file TGFSComboBox.h.

Referenced by Activate(), and DrawCopy().

GContext_t TGTreeLBEntry::fNormGC [protected]

Definition at line 45 of file TGFSComboBox.h.

Referenced by DrawCopy().

FontStruct_t TGTreeLBEntry::fFontStruct [protected]

Definition at line 46 of file TGFSComboBox.h.

Referenced by DrawCopy(), and Update().

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

Definition at line 50 of file TGFSComboBox.h.

Referenced by GetDefaultFontStruct().

TGGC * TGTreeLBEntry::fgDefaultGC [static, protected]

Definition at line 51 of file TGFSComboBox.h.

Referenced by GetDefaultGC().

TGString* TGTreeLBEntry::fText [protected]

Definition at line 38 of file TGFSComboBox.h.

TGString* TGTreeLBEntry::fPath [protected]

Definition at line 39 of file TGFSComboBox.h.

const TGPicture* TGTreeLBEntry::fPic [protected]

Definition at line 40 of file TGFSComboBox.h.

TGSelectedPicture* TGTreeLBEntry::fSelPic [protected]

Definition at line 41 of file TGFSComboBox.h.

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

Definition at line 50 of file TGFSComboBox.h.

TGGC* TGTreeLBEntry::fgDefaultGC [static, protected]

Definition at line 51 of file TGFSComboBox.h.


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