I’m implementing a GUI in which I put a TGFileContainer with a TGListView.
I would like to display the “Name”, “Attributes”, “Size”, “Owner”, “Group” and date of modification (“Modified”) of the contents of the TGFileContainer, so I set the view mode associated to the container to kLVDetails.
Once I run the code, the different parameters’ names appear inside the container, but only the values corresponding to the “Name”, “Attributes”, “Size”, “Owner” and “Group” are displayed. The values of the dates of modification (“Modified”) are not displayed.
Could you tell me what I did wrong and how I can get it?
This is the piece of code related to the TGFileContainer, I wrote:
TGFileView* fFileView = new TGListView(fC2,540,180); (where fC2 is a TGCompositeFrame*)
TGFileContainer* fFileCont = new TGFileContainer(fFileView->GetViewPort(),100, 100, kVerticalFrame,fgWhitePixel);
fFileCont->ChangeDirectory(fDirectory); (where fDirectory is the directory I want to display)
fC2->AddFrame(fFileView, new TGLayoutHints(kLHintsLeft|kLHintsTop, 2,2,2,2));
Thank you very much,