library: libGui
#include "TGFileDialog.h"

TGFileInfo


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

class TGFileInfo

Inheritance Chart:
TGFileInfo

    public:
TGFileInfo() TGFileInfo(const TGFileInfo&) ~TGFileInfo()

Data Members


    public:
char* fFilename selected file name char* fIniDir on input: initial directory, on output: new directory const char** fFileTypes file types used to filter selectable files Int_t fFileTypeIdx selected file type, index in fFileTypes Bool_t fOverwrite if true overwrite the file with existing name on save

Class Description

                                                                      
 TGFileDialog                                                         
                                                                      
 This class creates a file selection dialog. It contains a combo box  
 to select the desired directory. A listview with the different       
 files in the current directory and a combo box with which you can    
 select a filter (on file extensions).                                
 When creating a file dialog one passes a pointer to a TGFileInfo     
 object. In this object you can set the fFileTypes and fIniDir to     
 specify the list of file types for the filter combo box and the      
 initial directory. When the TGFileDialog ctor returns the selected   
 file name can be found in the TGFileInfo::fFilename field and the    
 selected directory in TGFileInfo::fIniDir. The fFilename and         
 fIniDir are deleted by the TGFileInfo dtor.                          
                                                                      




Inline Functions


              void ~TGFileInfo()
        TGFileInfo TGFileInfo()
        TGFileInfo TGFileInfo(const TGFileInfo&)


Author: Fons Rademakers 20/01/98
Last update: root/gui:$Name: $:$Id: TGFileDialog.h,v 1.6 2005/02/18 09:26:54 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.