Inheritance diagram for TestFileList:
Public Member Functions | |
TestFileList (const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h) | |
virtual | ~TestFileList () |
virtual Bool_t | ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2) |
TestFileList (const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h) | |
virtual | ~TestFileList () |
void | OnDoubleClick (TGLVEntry *, Int_t) |
void | DoMenu (Int_t) |
void | CloseWindow () |
Protected Member Functions | |
virtual void | DisplayFile (const TString &fname) |
virtual void | DisplayDirectory (const TString &fname) |
virtual void | DisplayObject (const TString &fname, const TString &name) |
virtual void | OnDoubleClick (TGLVEntry *, Int_t) |
virtual void | DoMenu (Int_t) |
void | DisplayFile (const TString &fname) |
void | DisplayDirectory (const TString &fname) |
void | DisplayObject (const TString &fname, const TString &name) |
Protected Attributes | |
TGFileContainer * | fContents |
TGPopupMenu * | fMenu |
TGTransientFrame * | fMain |
TGFileContainer * | fContents |
TGPopupMenu * | fMenu |
Definition at line 361 of file guitest.cxx.
Definition at line 1831 of file guitest.cxx.
References TGPopupMenu::AddEntry(), TGFileContainer::AddFile(), TGCompositeFrame::AddFrame(), TGMenuBar::AddPopup(), TGPopupMenu::AddSeparator(), TGContainer::Associate(), TGPopupMenu::Associate(), TGTransientFrame::CenterOnParent(), TGFileContainer::DisplayDirectory(), fContents, fMenu, gClient, TGClient::GetColorByName(), kDeepCleanup, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsTop, kLVDetails, kLVLargeIcons, kLVList, kLVSmallIcons, kSunkenFrame, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TGLVContainer::SetDefaultHeaders(), TGMainFrame::SetWindowName(), TGFileContainer::StopRefreshTimer(), and white.
TestFileList::~TestFileList | ( | ) | [virtual] |
virtual TestFileList::~TestFileList | ( | ) | [virtual] |
void TestFileList::DisplayFile | ( | const TString & | fname | ) | [protected, virtual] |
Definition at line 1884 of file guitest.cxx.
References TGFileContainer::AddFile(), TGLVContainer::AddItem(), entry, fContents, TDirectoryFile::GetListOfKeys(), gSystem, name, TGContainer::RemoveAll(), TGFrame::Resize(), TGLVContainer::SetColHeaders(), TGContainer::SetPagePosition(), StrDup(), and TSystem::WorkingDirectory().
Referenced by OnDoubleClick().
void TestFileList::DisplayDirectory | ( | const TString & | fname | ) | [protected, virtual] |
Definition at line 1910 of file guitest.cxx.
References TGFileContainer::AddFile(), TSystem::ChangeDirectory(), TGFileContainer::ChangeDirectory(), TGFileContainer::DisplayDirectory(), fContents, gSystem, TGFrame::Resize(), and TGLVContainer::SetDefaultHeaders().
Referenced by OnDoubleClick().
void TestFileList::DisplayObject | ( | const TString & | fname, | |
const TString & | name | |||
) | [protected, virtual] |
Definition at line 1922 of file guitest.cxx.
References gDirectory, TDirectoryFile::Get(), and name.
Referenced by OnDoubleClick().
Definition at line 1953 of file guitest.cxx.
References DisplayDirectory(), DisplayFile(), DisplayObject(), fContents, TGObject::GetId(), gVirtualX, kButton1, kPointer, kWatch, and name.
Referenced by ProcessMessage().
void TestFileList::DoMenu | ( | Int_t | ) | [protected, virtual] |
Definition at line 1942 of file guitest.cxx.
References fContents, and TGLVContainer::SetViewMode().
Referenced by ProcessMessage().
Reimplemented from TGCompositeFrame.
Definition at line 1973 of file guitest.cxx.
References DoMenu(), fContents, GET_MSG(), GET_SUBMSG(), TGContainer::GetLastActive(), kButton1, kC_COMMAND, kC_CONTAINER, kCM_MENU, kCT_ITEMDBLCLICK, kTRUE, and OnDoubleClick().
void TestFileList::DisplayFile | ( | const TString & | fname | ) | [protected] |
void TestFileList::DisplayDirectory | ( | const TString & | fname | ) | [protected] |
void TestFileList::DoMenu | ( | Int_t | ) |
void TestFileList::CloseWindow | ( | ) | [virtual] |
TGFileContainer* TestFileList::fContents [protected] |
Definition at line 364 of file guitest.cxx.
Referenced by DisplayDirectory(), DisplayFile(), DoMenu(), OnDoubleClick(), ProcessMessage(), TestFileList(), and ~TestFileList().
TGPopupMenu* TestFileList::fMenu [protected] |
TGTransientFrame* TestFileList::fMain [protected] |
TGFileContainer* TestFileList::fContents [protected] |
TGPopupMenu* TestFileList::fMenu [protected] |