library: libGui
#include "TGFileDialog.h"

TGFileDialog


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

class TGFileDialog : public TGTransientFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGMainFrame
<-
TGTransientFrame
<-
TGFileDialog

    public:
TGFileDialog(const TGWindow* p = 0, const TGWindow* main = 0, EFileDialogMode dlg_type = kFDOpen, TGFileInfo* file_info = 0) TGFileDialog(const TGFileDialog&) virtual ~TGFileDialog() static TClass* Class() virtual void CloseWindow() virtual TClass* IsA() const virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TGTextBuffer* fTbfname text buffer of file name TGTextEntry* fName file name text entry TGComboBox* fTypes file type combo box TGFSComboBox* fTreeLB file system path combo box TGPictureButton* fCdup top toolbar button TGPictureButton* fNewf top toolbar button TGPictureButton* fList top toolbar button TGPictureButton* fDetails top toolbar button TGCheckButton* fOverWR set on/off file overwriting const TGPicture* fPcdup picture for fCdup const TGPicture* fPnewf picture for fNewf const TGPicture* fPlist picture for fList const TGPicture* fPdetails picture for fDetails TGTextButton* fOk ok button TGTextButton* fCancel cancel button TGListView* fFv file list view TGFileContainer* fFc file list view container (containing the files) TGFileInfo* fFileInfo file info passed to this dialog

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.                          
                                                                      


TGFileDialog(const TGWindow *p, const TGWindow *main, EFileDialogMode dlg_type, TGFileInfo *file_info) : TGTransientFrame(p, main, 10, 10, kVerticalFrame)
 Create a file selection dialog. Depending on the dlg_type it can be
 used for opening or saving a file.

~TGFileDialog()
 Delete file dialog.

void CloseWindow()
 Close file dialog.

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)



Inline Functions


             TClass* Class()
             TClass* IsA() const
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
                void StreamerNVirtual(TBuffer& b)
        TGFileDialog TGFileDialog(const TGFileDialog&)


Author: Fons Rademakers 20/01/98
Last update: root/gui:$Name: $:$Id: TGFileDialog.cxx,v 1.24 2005/09/05 07:33:37 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.