Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGFileInfo Class Reference

Definition at line 39 of file TGFileDialog.h.

Public Member Functions

 TGFileInfo ()=default
 
 ~TGFileInfo ()
 TGFileInfo Destructor.
 
void DeleteFileNamesList ()
 Delete file names list.
 
void SetFilename (const char *fname)
 Set file name.
 
void SetIniDir (const char *inidir)
 Set directory name.
 
void SetMultipleSelection (Bool_t option)
 Turn on/off multiple selection.
 

Public Attributes

char * fFilename {nullptr}
 selected file name
 
TListfFileNamesList {nullptr}
 list of selected file names
 
Int_t fFileTypeIdx {0}
 selected file type, index in fFileTypes
 
const char ** fFileTypes {nullptr}
 file types used to filter selectable files
 
char * fIniDir {nullptr}
 on input: initial directory, on output: new directory
 
Bool_t fMultipleSelection {kFALSE}
 if true, allow multiple file selection
 
Bool_t fOverwrite {kFALSE}
 if true overwrite the file with existing name on save
 

Private Member Functions

 TGFileInfo (const TGFileInfo &)=delete
 
TGFileInfooperator= (const TGFileInfo &)=delete
 

#include <TGFileDialog.h>

Constructor & Destructor Documentation

◆ TGFileInfo() [1/2]

TGFileInfo::TGFileInfo ( const TGFileInfo )
privatedelete

◆ TGFileInfo() [2/2]

TGFileInfo::TGFileInfo ( )
default

◆ ~TGFileInfo()

TGFileInfo::~TGFileInfo ( )

TGFileInfo Destructor.

Definition at line 71 of file TGFileDialog.cxx.

Member Function Documentation

◆ DeleteFileNamesList()

void TGFileInfo::DeleteFileNamesList ( )

Delete file names list.

Definition at line 82 of file TGFileDialog.cxx.

◆ operator=()

TGFileInfo & TGFileInfo::operator= ( const TGFileInfo )
privatedelete

◆ SetFilename()

void TGFileInfo::SetFilename ( const char *  fname)

Set file name.

Definition at line 107 of file TGFileDialog.cxx.

◆ SetIniDir()

void TGFileInfo::SetIniDir ( const char *  inidir)

Set directory name.

Definition at line 116 of file TGFileDialog.cxx.

◆ SetMultipleSelection()

void TGFileInfo::SetMultipleSelection ( Bool_t  option)

Turn on/off multiple selection.

Definition at line 94 of file TGFileDialog.cxx.

Member Data Documentation

◆ fFilename

char* TGFileInfo::fFilename {nullptr}

selected file name

Definition at line 46 of file TGFileDialog.h.

◆ fFileNamesList

TList* TGFileInfo::fFileNamesList {nullptr}

list of selected file names

Definition at line 52 of file TGFileDialog.h.

◆ fFileTypeIdx

Int_t TGFileInfo::fFileTypeIdx {0}

selected file type, index in fFileTypes

Definition at line 49 of file TGFileDialog.h.

◆ fFileTypes

const char** TGFileInfo::fFileTypes {nullptr}

file types used to filter selectable files

Definition at line 48 of file TGFileDialog.h.

◆ fIniDir

char* TGFileInfo::fIniDir {nullptr}

on input: initial directory, on output: new directory

Definition at line 47 of file TGFileDialog.h.

◆ fMultipleSelection

Bool_t TGFileInfo::fMultipleSelection {kFALSE}

if true, allow multiple file selection

Definition at line 51 of file TGFileDialog.h.

◆ fOverwrite

Bool_t TGFileInfo::fOverwrite {kFALSE}

if true overwrite the file with existing name on save

Definition at line 50 of file TGFileDialog.h.

Libraries for TGFileInfo:

The documentation for this class was generated from the following files: