TGFileDialog Class Reference

#include <TGFileDialog.h>

Inheritance diagram for TGFileDialog:

TGTransientFrame TGTransientFrame TGMainFrame TGMainFrame TGMainFrame TGMainFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame List of all members.

Public Member Functions

 TGFileDialog (const TGWindow *p=0, const TGWindow *main=0, EFileDialogMode dlg_type=kFDOpen, TGFileInfo *file_info=0)
virtual ~TGFileDialog ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
virtual void CloseWindow ()
 TGFileDialog (const TGWindow *p=0, const TGWindow *main=0, EFileDialogMode dlg_type=kFDOpen, TGFileInfo *file_info=0)
virtual ~TGFileDialog ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
virtual void CloseWindow ()

Protected Attributes

TGTextBufferfTbfname
TGTextEntryfName
TGComboBoxfTypes
TGFSComboBoxfTreeLB
TGPictureButtonfCdup
TGPictureButtonfNewf
TGPictureButtonfList
TGPictureButtonfDetails
TGCheckButtonfCheckB
const TGPicturefPcdup
const TGPicturefPnewf
const TGPicturefPlist
const TGPicturefPdetails
TGTextButtonfOk
TGTextButtonfCancel
TGListViewfFv
TGFileContainerfFc
TGFileInfofFileInfo
TGTextBufferfTbfname
TGTextEntryfName
TGComboBoxfTypes
TGFSComboBoxfTreeLB
TGPictureButtonfCdup
TGPictureButtonfNewf
TGPictureButtonfList
TGPictureButtonfDetails
TGCheckButtonfCheckB
const TGPicturefPcdup
const TGPicturefPnewf
const TGPicturefPlist
const TGPicturefPdetails
TGTextButtonfOk
TGTextButtonfCancel
TGListViewfFv
TGFileContainerfFc
TGFileInfofFileInfo

Private Member Functions

 TGFileDialog (const TGFileDialog &)
TGFileDialogoperator= (const TGFileDialog &)
 TGFileDialog (const TGFileDialog &)
TGFileDialogoperator= (const TGFileDialog &)

Detailed Description

Definition at line 79 of file TGFileDialog.h.


Constructor & Destructor Documentation

TGFileDialog::TGFileDialog ( const TGFileDialog  )  [private]

TGFileDialog::TGFileDialog ( const TGWindow p = 0,
const TGWindow main = 0,
EFileDialogMode  dlg_type = kFDOpen,
TGFileInfo file_info = 0 
)

Definition at line 98 of file TGFileDialog.cxx.

References TGComboBox::AddEntry(), TGCompositeFrame::AddFrame(), TGTextBuffer::AddText(), TGButton::AllowStayDown(), TGContainer::Associate(), TGWidget::Associate(), TGTransientFrame::CenterOnParent(), TGFileContainer::ChangeDirectory(), TGTextBuffer::Clear(), TQObject::Connect(), TGFileContainer::DisplayDirectory(), TGMainFrame::DontCallClose(), TObject::Error(), fCancel, fCdup, fCheckB, TGObject::fClient, fDetails, fFc, fFileInfo, TGFileInfo::fFilename, TGFileInfo::fFileTypeIdx, TGFileInfo::fFileTypes, fFv, TGFrame::fgWhitePixel, TGFileInfo::fIniDir, fList, TGFileInfo::fMultipleSelection, fName, fNewf, fOk, fPcdup, fPdetails, fPlist, fPnewf, fTbfname, fTreeLB, fTypes, gDefTypes, TGCompositeFrame::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultSize(), TGFrame::GetDefaultWidth(), TGFileContainer::GetDirectory(), TGListView::GetHeaderButtons(), TGClient::GetPicture(), TGCanvas::GetViewPort(), gInfo, i, kButtonEngaged, kDeepCleanup, TGWindow::kEditDisable, kFDOpen, kFDSave, kFixedWidth, kHorizontalFrame, kIDF_CANCEL, kIDF_CDUP, kIDF_CHECKB, kIDF_DETAILS, kIDF_FSLB, kIDF_FTYPESLB, kIDF_LIST, kIDF_NEW_FOLDER, kIDF_OK, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kLVList, kMWMDecorAll, kMWMDecorMaximize, kMWMDecorMenu, kMWMDecorMinimize, kMWMDecorResizeH, kMWMFuncAll, kMWMFuncMaximize, kMWMFuncMinimize, kMWMFuncResize, kMWMInputModeless, kSortByName, kTRUE, main(), TObject::MakeZombie(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TMath::Max(), p, TGFrame::Resize(), s, TGComboBox::Select(), TGFrame::SetBackgroundColor(), TGMainFrame::SetClassHints(), TGCompositeFrame::SetCleanup(), TGListView::SetContainer(), TGCompositeFrame::SetEditDisabled(), TGFileContainer::SetFilter(), TGMainFrame::SetIconName(), TGListView::SetIncrements(), TGLVContainer::SetMultipleSelection(), TGMainFrame::SetMWMHints(), TGButton::SetOn(), TGButton::SetState(), TGButton::SetToolTipText(), TGListView::SetViewMode(), TGMainFrame::SetWindowName(), TGMainFrame::SetWMSize(), TGMainFrame::SetWMSizeHints(), size, TGFileContainer::Sort(), StrDup(), TGFSComboBox::Update(), TGClient::WaitFor(), and width.

TGFileDialog::~TGFileDialog (  )  [virtual]

Definition at line 332 of file TGFileDialog.cxx.

References TQObject::Disconnect(), fCheckB, TGObject::fClient, fFc, fPcdup, fPdetails, fPlist, fPnewf, TGClient::FreePicture(), TGTextButton::GetString(), TObject::IsZombie(), and str.

TGFileDialog::TGFileDialog ( const TGFileDialog  )  [private]

TGFileDialog::TGFileDialog ( const TGWindow p = 0,
const TGWindow main = 0,
EFileDialogMode  dlg_type = kFDOpen,
TGFileInfo file_info = 0 
)

virtual TGFileDialog::~TGFileDialog (  )  [virtual]


Member Function Documentation

TGFileDialog& TGFileDialog::operator= ( const TGFileDialog  )  [private]

Bool_t TGFileDialog::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 363 of file TGFileDialog.cxx.

References TSystem::AccessPathName(), TList::Add(), TGTextBuffer::AddText(), buf, TSystem::cd(), TGFileContainer::ChangeDirectory(), TSystem::ChangeDirectory(), TGTextBuffer::Clear(), TSystem::ConcatFileName(), TString::Data(), TList::Delete(), TGFrame::DeleteWindow(), TGFileContainer::DisplayDirectory(), TGLBEntry::EntryId(), fCheckB, TGObject::fClient, fDetails, fFc, fFileInfo, TGFileInfo::fFilename, TGFileInfo::fFileNamesList, TGFileInfo::fFileTypeIdx, TGFileInfo::fFileTypes, fFv, TGFileInfo::fIniDir, fList, TGFileInfo::fMultipleSelection, fName, fOk, TString::Format(), TGFileInfo::fOverwrite, fTbfname, fTreeLB, fTypes, gClient, GET_MSG(), GET_SUBMSG(), TGFileContainer::GetDirectory(), TGFileContainer::GetDisplayStat(), TGLVEntry::GetItemName(), TGWindow::GetMainFrame(), TGContainer::GetNextSelected(), TGTreeLBEntry::GetPath(), TSystem::GetPathInfo(), TGClient::GetRoot(), TGComboBox::GetSelectedEntry(), TGLVContainer::GetSelectedItems(), TGButton::GetState(), TGString::GetString(), TObjString::GetString(), TGTextBuffer::GetString(), TGTextBuffer::GetTextLength(), TGTextButton::GetTitle(), gSystem, TSystem::IsAbsoluteFileName(), kButton1, kButtonDown, kButtonUp, kC_COMMAND, kC_CONTAINER, kC_TEXTENTRY, kCM_BUTTON, kCM_COMBOBOX, kCT_ITEMCLICK, kCT_ITEMDBLCLICK, kFALSE, kFileExists, kIDF_CANCEL, kIDF_CDUP, kIDF_DETAILS, kIDF_FSLB, kIDF_FTYPESLB, kIDF_LIST, kIDF_NEW_FOLDER, kIDF_OK, kLVDetails, kLVList, kMBIconExclamation, kMBIconStop, kMBNo, kMBOk, kMBYes, kTE_ENTER, kTRUE, TSystem::MakeDirectory(), TGClient::NeedRedraw(), TGContainer::NumSelected(), p, R_ISDIR(), s, TGFileContainer::SetDisplayStat(), TGFileContainer::SetFilter(), TGButton::SetState(), TGTextEntry::SetText(), TGListView::SetViewMode(), StrDup(), strlcpy(), TSystem::UnixPathName(), TGFSComboBox::Update(), and TSystem::WorkingDirectory().

void TGFileDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 348 of file TGFileDialog.cxx.

References TList::Delete(), TGFrame::DeleteWindow(), fFileInfo, TGFileInfo::fFilename, and TGFileInfo::fFileNamesList.

TGFileDialog& TGFileDialog::operator= ( const TGFileDialog  )  [private]

virtual Bool_t TGFileDialog::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

Reimplemented from TGCompositeFrame.

virtual void TGFileDialog::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.


Member Data Documentation

TGTextBuffer* TGFileDialog::fTbfname [protected]

Definition at line 82 of file TGFileDialog.h.

Referenced by ProcessMessage(), and TGFileDialog().

TGTextEntry* TGFileDialog::fName [protected]

Reimplemented from TGWindow.

Definition at line 83 of file TGFileDialog.h.

Referenced by ProcessMessage(), and TGFileDialog().

TGComboBox* TGFileDialog::fTypes [protected]

Definition at line 84 of file TGFileDialog.h.

Referenced by ProcessMessage(), and TGFileDialog().

TGFSComboBox* TGFileDialog::fTreeLB [protected]

Definition at line 85 of file TGFileDialog.h.

Referenced by ProcessMessage(), and TGFileDialog().

TGPictureButton* TGFileDialog::fCdup [protected]

Definition at line 86 of file TGFileDialog.h.

Referenced by TGFileDialog().

TGPictureButton* TGFileDialog::fNewf [protected]

Definition at line 87 of file TGFileDialog.h.

Referenced by TGFileDialog().

TGPictureButton* TGFileDialog::fList [protected]

Reimplemented from TGCompositeFrame.

Definition at line 88 of file TGFileDialog.h.

Referenced by ProcessMessage(), and TGFileDialog().

TGPictureButton* TGFileDialog::fDetails [protected]

Definition at line 89 of file TGFileDialog.h.

Referenced by ProcessMessage(), and TGFileDialog().

TGCheckButton* TGFileDialog::fCheckB [protected]

Definition at line 90 of file TGFileDialog.h.

Referenced by ProcessMessage(), TGFileDialog(), and ~TGFileDialog().

const TGPicture* TGFileDialog::fPcdup [protected]

Definition at line 92 of file TGFileDialog.h.

Referenced by TGFileDialog(), and ~TGFileDialog().

const TGPicture* TGFileDialog::fPnewf [protected]

Definition at line 93 of file TGFileDialog.h.

Referenced by TGFileDialog(), and ~TGFileDialog().

const TGPicture* TGFileDialog::fPlist [protected]

Definition at line 94 of file TGFileDialog.h.

Referenced by TGFileDialog(), and ~TGFileDialog().

const TGPicture* TGFileDialog::fPdetails [protected]

Definition at line 95 of file TGFileDialog.h.

Referenced by TGFileDialog(), and ~TGFileDialog().

TGTextButton* TGFileDialog::fOk [protected]

Definition at line 96 of file TGFileDialog.h.

Referenced by ProcessMessage(), and TGFileDialog().

TGTextButton* TGFileDialog::fCancel [protected]

Definition at line 97 of file TGFileDialog.h.

Referenced by TGFileDialog().

TGListView* TGFileDialog::fFv [protected]

Definition at line 98 of file TGFileDialog.h.

Referenced by ProcessMessage(), and TGFileDialog().

TGFileContainer* TGFileDialog::fFc [protected]

Definition at line 99 of file TGFileDialog.h.

Referenced by ProcessMessage(), TGFileDialog(), and ~TGFileDialog().

TGFileInfo* TGFileDialog::fFileInfo [protected]

Definition at line 100 of file TGFileDialog.h.

Referenced by CloseWindow(), ProcessMessage(), and TGFileDialog().

TGTextBuffer* TGFileDialog::fTbfname [protected]

Definition at line 82 of file TGFileDialog.h.

TGTextEntry* TGFileDialog::fName [protected]

Reimplemented from TGWindow.

Definition at line 83 of file TGFileDialog.h.

TGComboBox* TGFileDialog::fTypes [protected]

Definition at line 84 of file TGFileDialog.h.

TGFSComboBox* TGFileDialog::fTreeLB [protected]

Definition at line 85 of file TGFileDialog.h.

TGPictureButton* TGFileDialog::fCdup [protected]

Definition at line 86 of file TGFileDialog.h.

TGPictureButton* TGFileDialog::fNewf [protected]

Definition at line 87 of file TGFileDialog.h.

TGPictureButton* TGFileDialog::fList [protected]

Reimplemented from TGCompositeFrame.

Definition at line 88 of file TGFileDialog.h.

TGPictureButton* TGFileDialog::fDetails [protected]

Definition at line 89 of file TGFileDialog.h.

TGCheckButton* TGFileDialog::fCheckB [protected]

Definition at line 90 of file TGFileDialog.h.

const TGPicture* TGFileDialog::fPcdup [protected]

Definition at line 92 of file TGFileDialog.h.

const TGPicture* TGFileDialog::fPnewf [protected]

Definition at line 93 of file TGFileDialog.h.

const TGPicture* TGFileDialog::fPlist [protected]

Definition at line 94 of file TGFileDialog.h.

const TGPicture* TGFileDialog::fPdetails [protected]

Definition at line 95 of file TGFileDialog.h.

TGTextButton* TGFileDialog::fOk [protected]

Definition at line 96 of file TGFileDialog.h.

TGTextButton* TGFileDialog::fCancel [protected]

Definition at line 97 of file TGFileDialog.h.

TGListView* TGFileDialog::fFv [protected]

Definition at line 98 of file TGFileDialog.h.

TGFileContainer* TGFileDialog::fFc [protected]

Definition at line 99 of file TGFileDialog.h.

TGFileInfo* TGFileDialog::fFileInfo [protected]

Definition at line 100 of file TGFileDialog.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1