TestFileList Class Reference

Inheritance diagram for TestFileList:

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

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

TGFileContainerfContents
TGPopupMenufMenu
TGTransientFramefMain
TGFileContainerfContents
TGPopupMenufMenu

Detailed Description

Definition at line 361 of file guitest.cxx.


Constructor & Destructor Documentation

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

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]

Definition at line 1877 of file guitest.cxx.

References fContents.

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

virtual TestFileList::~TestFileList (  )  [virtual]


Member Function Documentation

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

void TestFileList::OnDoubleClick ( TGLVEntry ,
Int_t   
) [protected, virtual]

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

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

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::DisplayObject ( const TString fname,
const TString name 
) [protected]

void TestFileList::OnDoubleClick ( TGLVEntry ,
Int_t   
)

void TestFileList::DoMenu ( Int_t   ) 

void TestFileList::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 2140 of file guitest.C.


Member Data Documentation

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]

Definition at line 365 of file guitest.cxx.

Referenced by TestFileList().

TGTransientFrame* TestFileList::fMain [protected]

Reimplemented from TGTransientFrame.

Definition at line 413 of file guitest.C.

TGFileContainer* TestFileList::fContents [protected]

Definition at line 414 of file guitest.C.

TGPopupMenu* TestFileList::fMenu [protected]

Definition at line 415 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