class description - source file - inheritance tree

class TGFileContainer : public TGLVContainer

void CreateFileList() public:
TGFileContainer TGFileContainer(const TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kSunkenFrame, ULong_t back = GetDefaultFrameBackground()) TGFileContainer TGFileContainer(const TGFileContainer&) virtual void ~TGFileContainer() virtual TGFileItem* AddFile(const char* name) virtual void AddFrame(TGFrame* f, TGLayoutHints* l = 0) virtual void ChangeDirectory(const char* path) static TClass* Class() virtual void DisplayDirectory() const char* GetDirectory() const virtual void GetFilePictures(const TGPicture** pic, const TGPicture** lpic, Int_t file_type, Bool_t is_link, const char* ext, Bool_t small) virtual Bool_t HandleTimer(TTimer* t) virtual TClass* IsA() const TGFileContainer& operator=(const TGFileContainer&) virtual void SetFilter(const char* filter) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Sort(EFSSortMode sortType) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

EFSSortMode fSortType sorting mode of contents TRegexp* fFilter file filter TViewUpdateTimer* fRefresh refresh timer ULong_t fMtime directory modification time TString fDirectory current directory const TGPicture* fFolder_t small folder icon const TGPicture* fFolder_s big folder icon const TGPicture* fApp_t small application icon const TGPicture* fApp_s big application icon const TGPicture* fDoc_t small document icon const TGPicture* fDoc_s big document icon const TGPicture* fSlink_t small symbolic link icon const TGPicture* fSlink_s big symbolic link icon

Class Description

 TGFileIcon, TGFileEntry, TGFSContainer                               
 Utility classes used by the file selection dialog (TGFSDialog).      

TGFileContainer(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options, ULong_t back) : TGLVContainer(p, w, h, options, back)
 Create a list view container which will hold the contents of
 the current directory.

 Delete list view file container.

void AddFrame(TGFrame *f, TGLayoutHints *l)
 Add frame to the composite frame.

Bool_t HandleTimer(TTimer *)
 Refresh container contents. Check every 5 seconds to see if the
 directory modification date has changed.

void SetFilter(const char *filter)
 Set file selection filter.

void Sort(EFSSortMode sortType)
 Sort file system list view container according to sortType.

void GetFilePictures(const TGPicture **pic, const TGPicture **lpic, Int_t file_type, Bool_t is_link, const char *name, Bool_t small)
 Determine the file picture for the given file type.

void ChangeDirectory(const char *path)
 Change current directory.

void DisplayDirectory()
 Display the contents of the current directory in the container.
 This can be used to refresh the contents of the window.

void CreateFileList()
 This function creates the file list from current dir.

TGFileItem* AddFile(const char *name)
 Add file in container.

Inline Functions

             const char* GetDirectory() const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
         TGFileContainer TGFileContainer(const TGFileContainer&)
        TGFileContainer& operator=(const TGFileContainer&)

Author: Fons Rademakers 19/01/98
Last update: root/gui:$Name: $:$Id: TGFSContainer.cxx,v 1.7 2002/06/12 16:46:11 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.