Re: TGFileDialog

From: Jayoung Wu (jayoung@glue.umd.edu)
Date: Thu Jul 15 1999 - 18:03:11 MEST


In some reason the following email seems not be delivered.
... I send it again.

---
Thanks,
Jayoung


On Wed, 14 Jul 1999, Jayoung Wu wrote:

> Hi Rooters,
> 
> I'm trying to view the files in current directory using TGFileDialog
> widget. In some reason the listbox does not show file names but
> sub directory names in current directory. I'm running on Dec alpha OSF1 
> with root version 2.20.
> 
> ---------------- part of my code ---------------
> const char* ADPSMainFrame::OpenConfigFile()
> {
> 
>   TGFileInfo fi;
>   fi.fFileTypes = (char **)filetypes;
>   new TGFileDialog(gClient->GetRoot(), this, kFDOpen, &fi);
>   return fi.fFilename;
> }
> 
> 
> P.S. In ROOT tutorials "dialogs.C" shows the list of files in list box.
>      It does not show file list for other directory, for example 
>      test or include .... though.
> 
> 
> I would really appriciate for the help!
> ---
> Thanks,
> Jayoung
> 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET