library: libGui #include "TGFSContainer.h"

# TGFileItem

class description - source file - inheritance tree (.pdf)

## class TGFileItem : public TGLVEntry

| Inheritance Chart:
`TObject`
| <- | `TGObject`
| <- | `TGWindow`
`TQObject`
| <- | `TGFrame`
| <- | `TGLVEntry`
| <- | `TGFileItem` |

        protected:

          virtual void DoRedraw()

        public:

                          TGFileItem(const TGWindow* p = 0, const TGPicture* bpic = 0, const TGPicture* blpic = 0, const TGPicture* spic = 0, const TGPicture* slpic = 0, TGString* name = 0, Int_t type = 0, Long64_t size = 1, Int_t uid = 0, Int_t gid = 0, EListViewMode viewMode = kLVList, UInt_t options = kVerticalFrame, Pixel_t back = GetWhitePixel())
                          TGFileItem(const TGFileItem&)
                          ~TGFileItem()
           static TClass* Class()
                  ULong_t GetSize() const
                    Int_t GetType() const
          virtual TClass* IsA() const
           virtual Bool_t IsActive() const
                   Bool_t IsSymLink() const
             virtual void SetViewMode(EListViewMode viewMode)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          const TGPicture* fBlpic     big icon
          const TGPicture* fSlpic     small icon
          const TGPicture* fLcurrent  current icon
                     Int_t fType      file type
                     Int_t fUid
                     Int_t fGid       file uid and gid
                    Bool_t fIsLink    true if symbolic link
                  Long64_t fSize      file size

## Class Description

     TGFileIcon, TGFileEntry, TGFSContainer

     Utility classes used by the file selection dialog (TGFSDialog).

TGFileItem(const TGWindow *p, const TGPicture *bpic, const TGPicture *blpic, const TGPicture *spic, const TGPicture *slpic, TGString *name, Int_t type, Long64_t size, Int_t uid, Int_t gid, EListViewMode viewMode, UInt_t options, ULong_t back) : TGLVEntry(p, bpic, spic, name, 0, viewMode, options, back)

     Create a list view item.

void SetViewMode(EListViewMode viewMode)

     Set container item view mode.

void DoRedraw()

     Draw list view container item.

### Inline Functions

                   void ~TGFileItem()
                 Bool_t IsActive() const
                 Bool_t IsSymLink() const
                  Int_t GetType() const
                ULong_t GetSize() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
             TGFileItem TGFileItem(const TGFileItem&)

Author: Fons Rademakers 19/01/98
Last update: root/gui:$Name: $:$Id: TGFSContainer.cxx,v 1.27 2005/05/25 16:20:54 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *