12 #ifndef ROOT_TGFSContainer 13 #define ROOT_TGFSContainer 43 class TViewUpdateTimer;
116 return ((
TGFrame *)(const_cast<TGWindow*>(
GetParent())))->HandleDNDFinished();
144 friend class TGFSFrameElement;
165 void CreateFileList();
177 void StopRefreshTimer();
178 void StartRefreshTimer(
ULong_t msec=1000);
184 virtual void SetFilter(
const char *filter);
185 virtual void ChangeDirectory(
const char *path);
186 virtual void DisplayDirectory();
void SetDNDObject(TObject *obj)
void Init(const TGPicture *blpic, const TGPicture *slpic, FileStat_t &stat, EListViewMode viewMode)
Common initializer for file list view item.
The concrete implementation of TBuffer for writing/reading to/from a ROOT file or socket...
const TGPicture * fFolder_s
const TGPicture * fLcurrent
static Pixel_t GetWhitePixel()
Get white pixel value.
Regular expression class.
virtual TDNDData * GetDNDdata(Atom_t)
virtual void SetViewMode(EListViewMode viewMode)
Set container item view mode.
static Atom_t GetDNDActionCopy()
virtual Bool_t HandleTimer(TTimer *)
Execute action in response of a timer timing out.
virtual Bool_t HandleDNDFinished()
const TGPicture * fFolder_t
#define ClassDef(name, id)
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
void Sort(Index n, const Element *a, Index *index, Bool_t down=kTRUE)
Bool_t IsDNDTarget() const
void SetDNDData(TDNDData *data)
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a frame widget as a C++ statement(s) on output stream out.
virtual void SetDisplayStat(Bool_t stat=kTRUE)
virtual Atom_t HandleDNDEnter(Atom_t *)
Long_t GetModTime() const
TViewUpdateTimer * fRefresh
const char * GetDirectory() const
Handles synchronous and a-synchronous timer events.
const TGPicture * fSlink_s
virtual Bool_t HandleDNDLeave()
const TGPicture * fSlink_t
const TGWindow * GetParent() const
Mother of all ROOT objects.
virtual ~TGFileItem()
Destructor.
virtual void DoRedraw()
Draw list view container item.
virtual Atom_t HandleDNDPosition(int, int, Atom_t action, int, int)
virtual void WriteObject(const TObject *obj, Bool_t cacheReuse=kTRUE)
Write object to I/O buffer.
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, Long_t modtime=0, EListViewMode viewMode=kLVList, UInt_t options=kVerticalFrame, Pixel_t back=GetWhitePixel())
Create a list view item.
const char * Data() const