Inheritance diagram for TestDirList:
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 | |
TGListTree * | fContents |
const TGPicture * | fIcon |
TGTransientFrame * | fMain |
TGListTree * | fContents |
const TGPicture * | fIcon |
Definition at line 346 of file guitest.cxx.
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.
virtual TestDirList::~TestDirList | ( | ) | [virtual] |
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().
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] |
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] |
TGListTree* TestDirList::fContents [protected] |
const TGPicture* TestDirList::fIcon [protected] |