TestDirList Class Reference

Inheritance diagram for TestDirList:

TGTransientFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame List of all members.

Public Member Functions

 TestDirList (const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h)
virtual ~TestDirList ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
 TestDirList (const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h)
virtual ~TestDirList ()
void OnDoubleClick (TGListTreeItem *item, Int_t btn)
void CloseWindow ()

Protected Member Functions

TString DirName (TGListTreeItem *item)
TString DirName (TGListTreeItem *item)

Protected Attributes

TGListTreefContents
const TGPicturefIcon
TGTransientFramefMain
TGListTreefContents
const TGPicturefIcon

Detailed Description

Definition at line 346 of file guitest.cxx.


Constructor & Destructor Documentation

TestDirList::TestDirList ( const TGWindow p,
const TGWindow main,
UInt_t  w,
UInt_t  h 
)

Definition at line 1737 of file guitest.cxx.

References TGCompositeFrame::AddFrame(), TGListTree::AddItem(), TGContainer::Associate(), canvas, TGTransientFrame::CenterOnParent(), fContents, fIcon, gClient, TGClient::GetPicture(), kDeepCleanup, kHorizontalFrame, kLHintsBottom, kLHintsExpandX, kLHintsExpandY, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGCompositeFrame::SetCleanup(), and TGMainFrame::SetWindowName().

TestDirList::~TestDirList (  )  [virtual]

Definition at line 1769 of file guitest.cxx.

TestDirList::TestDirList ( const TGWindow p,
const TGWindow main,
UInt_t  w,
UInt_t  h 
)

virtual TestDirList::~TestDirList (  )  [virtual]


Member Function Documentation

TString TestDirList::DirName ( TGListTreeItem item  )  [protected]

Definition at line 1775 of file guitest.cxx.

References TSystem::ConcatFileName(), TGListTreeItem::GetParent(), TGListTreeItem::GetText(), and gSystem.

Referenced by OnDoubleClick(), and ProcessMessage().

Bool_t TestDirList::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 1790 of file guitest.cxx.

References TGListTree::AddItem(), dir(), DirName(), TString::EndsWith(), fContents, fIcon, GET_MSG(), GET_SUBMSG(), TNamed::GetName(), TGListTree::GetSelected(), TGListTreeItem::GetText(), TGListTreeItem::GetUserData(), TSystemFile::IsDirectory(), kButton1, kC_LISTTREE, kCT_ITEMCLICK, kCT_ITEMDBLCLICK, kTRUE, and TGListTreeItem::SetUserData().

TString TestDirList::DirName ( TGListTreeItem item  )  [protected]

void TestDirList::OnDoubleClick ( TGListTreeItem item,
Int_t  btn 
)

Definition at line 1956 of file guitest.C.

References TGListTree::AddItem(), dir(), DirName(), TString::EndsWith(), fContents, fIcon, TNamed::GetName(), TGListTreeItem::GetText(), TGListTreeItem::GetUserData(), TSystemFile::IsDirectory(), kButton1, and TGListTreeItem::SetUserData().

void TestDirList::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 1936 of file guitest.C.


Member Data Documentation

TGListTree* TestDirList::fContents [protected]

Definition at line 349 of file guitest.cxx.

Referenced by OnDoubleClick(), ProcessMessage(), and TestDirList().

const TGPicture* TestDirList::fIcon [protected]

Definition at line 351 of file guitest.cxx.

Referenced by OnDoubleClick(), ProcessMessage(), and TestDirList().

TGTransientFrame* TestDirList::fMain [protected]

Reimplemented from TGTransientFrame.

Definition at line 393 of file guitest.C.

TGListTree* TestDirList::fContents [protected]

Definition at line 394 of file guitest.C.

const TGPicture* TestDirList::fIcon [protected]

Definition at line 395 of file guitest.C.


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