TGRootIDE Class Reference

#include <TGRootIDE.h>

Inheritance diagram for TGRootIDE:

TGMainFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TGRootIDE (const char *filename=0, const TGWindow *p=0, UInt_t w=900, UInt_t h=600)
 TGRootIDE (TMacro *macro, const TGWindow *p=0, UInt_t w=0, UInt_t h=0)
virtual ~TGRootIDE ()
virtual Bool_t ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2)
virtual Bool_t HandleKey (Event_t *event)
virtual Bool_t HandleTimer (TTimer *t)
virtual void CloseWindow ()
void ClearText ()
Bool_t LoadBuffer (const char *buf)
void LoadFile (char *fname=NULL)
void SaveFile (const char *fname)
Bool_t SaveFileAs ()
void PrintText ()
void Search (Bool_t ret)
void Goto ()
void About ()
Int_t IsSaved ()
void CompileMacro ()
void ExecuteMacro ()
void InterruptMacro ()
void SetText (TGText *text)
void AddText (TGText *text)
void AddLine (const char *string)
void AddLineFast (const char *string)
TGTextGetText () const
void DisplayFile (const TString &fname)
void DisplayDirectory (const TString &fname)
void DisplayObject (const TString &fname, const TString &name)
void OnDoubleClick (TGLVEntry *f, Int_t btn)
void CloseTab (Int_t id)
void DoTab (Int_t id)
void ApplyFilter (Int_t id)
void CheckRemote (const char *str)
void DirSelected (const char *txt)
void DirChanged ()
void Selected (const char *txt)
void URLChanged ()
void Back ()
void Forward ()
void Reload ()
void Stop ()
void MouseOver (char *)
void MouseDown (char *)

Protected Member Functions

virtual void Build ()

Protected Attributes

Int_t fPid
TTimerfTimer
TGStatusBarfStatusBar
TGToolBarfToolBar
TGTabfTab
TGTextEntryfDir
TGTextBufferfDirBuf
TGComboBoxfDirCombo
TGFileContainerfContents
TGTextEditfTextEdit
TGTextViewfTextView
TGComboBoxfComboCmd
TGComboBoxfFileType
TGTextEntryfFilter
TGLabelfLabel
TGTextEntryfCommand
TGTextBufferfCommandBuf
TGLayoutHintsfMenuBarLayout
TGLayoutHintsfMenuBarItemLayout
TGMenuBarfMenuBar
TGPopupMenufMenuFile
TGPopupMenufMenuEdit
TGPopupMenufMenuSearch
TGPopupMenufMenuTools
TGPopupMenufMenuHelp
Bool_t fExiting
Bool_t fTextChanged
TString fFilename
TMacrofMacro
TObjArrayfDocList
TGDocumentfCurrentDoc
Int_t fCurrent
Int_t fNbDoc
TGVerticalFramefVerticalFrame
TGHorizontalFramefHorizontalFrame
TGPictureButtonfBack
TGPictureButtonfForward
TGPictureButtonfReload
TGPictureButtonfStop
TGPictureButtonfHome
TGComboBoxfComboBox
TGTextBufferfURLBuf
TGTextEntryfURL
THtmlfHtml
TGHtmlfGuiHtml

Detailed Description

Definition at line 86 of file TGRootIDE.h.


Constructor & Destructor Documentation

TGRootIDE::TGRootIDE ( const char *  filename = 0,
const TGWindow p = 0,
UInt_t  w = 900,
UInt_t  h = 600 
)

Definition at line 526 of file TGRootIDE.cxx.

References TGFileContainer::AddFile(), Build(), TGFileContainer::DisplayDirectory(), fContents, fTab, TGTab::GetNumberOfTabs(), kFALSE, kLVDetails, kSortByType, TGCompositeFrame::Layout(), LoadFile(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGTab::SetTab(), TGLVContainer::SetViewMode(), and TGFileContainer::Sort().

TGRootIDE::TGRootIDE ( TMacro macro,
const TGWindow p = 0,
UInt_t  w = 0,
UInt_t  h = 0 
)

Definition at line 550 of file TGRootIDE.cxx.

References TGFileContainer::AddFile(), TGTextView::AddLine(), Build(), TGFileContainer::DisplayDirectory(), fContents, fFilename, fMacro, Form(), fStatusBar, fTab, fTextEdit, TMacro::GetListOfLines(), TNamed::GetName(), TGTab::GetNumberOfTabs(), kFALSE, kLVDetails, kSortByType, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGTextView::ReturnLineCount(), TGTab::SetTab(), TGStatusBar::SetText(), TGLVContainer::SetViewMode(), TGMainFrame::SetWindowName(), and TGFileContainer::Sort().

TGRootIDE::~TGRootIDE (  )  [virtual]

Definition at line 584 of file TGRootIDE.cxx.

References TObjArray::Delete(), fDocList, and fTimer.


Member Function Documentation

void TGRootIDE::Build (  )  [protected, virtual]

Definition at line 594 of file TGRootIDE.cxx.

References TObjArray::Add(), TGToolBar::AddButton(), TGPopupMenu::AddEntry(), TGComboBox::AddEntry(), TGCompositeFrame::AddFrame(), TGFrame::AddInput(), TGMenuBar::AddPopup(), TGPopupMenu::AddSeparator(), TGTab::AddTab(), TGPopupMenu::Associate(), TGContainer::Associate(), TGWidget::Associate(), TSystem::ChangeDirectory(), TGCompositeFrame::ChangeOptions(), TQObject::Connect(), TString::Data(), TGPopupMenu::DisableEntry(), fBack, TGObject::fClient, fclose(), fComboBox, fComboCmd, fCommand, fCommandBuf, fContents, fCurrent, fCurrentDoc, fDir, fDirBuf, fDirCombo, fDocList, fExiting, fFilename, fFileType, fFilter, fForward, fGuiHtml, fHome, fHorizontalFrame, fHtml, TGObject::fId, fLabel, fMacro, fMenuBar, fMenuBarItemLayout, fMenuBarLayout, fMenuEdit, fMenuFile, fMenuHelp, fMenuSearch, fMenuTools, fNbDoc, fopen, Form(), fPid, ToolBarData_t::fPixmap, fReload, fStatusBar, fStop, fTab, fTbData, fTextChanged, fTextEdit, fTextView, fTimer, fToolBar, fURL, fURLBuf, fVerticalFrame, gClient, TGFrame::GetBlackPixel(), TGTextEntry::GetBuffer(), TGClient::GetColorByName(), TGCompositeFrame::GetDefaultHeight(), TGFrame::GetDefaultHeight(), TGCompositeFrame::GetDefaultWidth(), TGFrame::GetOptions(), TGClient::GetPicture(), TSystem::GetPid(), TGClient::GetRoot(), TGTab::GetTabTab(), TGComboBox::GetTextEntry(), gSystem, gVirtualX, TSystem::HomeDirectory(), i, TGComboBox::InsertEntry(), kButtonDisabled, kDeepCleanup, kEnterWindowMask, kFALSE, kFixedHeight, kFixedWidth, kFocusChangeMask, kHorizontalFrame, kKey_F3, kKeyPressMask, kLeaveWindowMask, kLHintsBottom, kLHintsCenterY, kLHintsExpandX, kLHintsExpandY, kLHintsLeft, kLHintsRight, kLHintsTop, kM_EDIT_COPY, kM_EDIT_CUT, kM_EDIT_DELETE, kM_EDIT_PASTE, kM_EDIT_SELECTALL, kM_EDIT_SELFONT, kM_FILE_CLOSE, kM_FILE_EXIT, kM_FILE_NEW, kM_FILE_OPEN, kM_FILE_PRINT, kM_FILE_SAVE, kM_FILE_SAVEAS, kM_HELP_ABOUT, kM_HELP_CONTENTS, kM_SEARCH_FIND, kM_SEARCH_FINDNEXT, kM_SEARCH_GOTO, kM_TOOLS_BROWSER, kM_TOOLS_CLEAN_LOG, kM_TOOLS_COMPILE, kM_TOOLS_EXECUTE, kM_TOOLS_INTERRUPT, kStructureNotifyMask, kSunkenFrame, kTRUE, kVerticalFrame, TGView::Layout(), TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TTimer::Reset(), TGFrame::Resize(), TGComboBox::Select(), Selected(), TGMainFrame::SetClassHints(), TGCompositeFrame::SetCleanup(), TGHSplitter::SetFrame(), TGVSplitter::SetFrame(), TGCompositeFrame::SetLayoutManager(), TGStatusBar::SetParts(), TGTextView::SetSelectBack(), TGTextView::SetSelectFore(), TGStatusBar::SetText(), TGTextEntry::SetText(), TGButton::SetToolTipText(), TGMainFrame::SetWindowName(), TGTabElement::ShowClose(), TTimer::TurnOn(), TSystem::UnixPathName(), white, and TSystem::WorkingDirectory().

Referenced by TGRootIDE().

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

Reimplemented from TGCompositeFrame.

Definition at line 1344 of file TGRootIDE.cxx.

References About(), TObjArray::Add(), CheckRemote(), TGTextEntry::Clear(), TGDocument::Close(), CloseWindow(), CompileMacro(), TString::Contains(), TGTextEdit::Copy(), TGTextEdit::Cut(), TString::Data(), TGTextEdit::Delete(), TGPopupMenu::EnableEntry(), TSystem::Exec(), ExecuteMacro(), TGFontDialog::FontProp_t::fBold, TGObject::fClient, fclose(), fComboCmd, fCommand, fCommandBuf, fContents, fCurrentDoc, fDocList, fFilename, TGFontDialog::FontProp_t::fItalic, fMenuEdit, TGFontDialog::FontProp_t::fName, fopen, Form(), fPid, TGFontDialog::FontProp_t::fSize, fTab, fTextEdit, fTextView, fToolBar, gApplication, GET_MSG(), GET_SUBMSG(), TROOT::GetApplication(), TGToolBar::GetButton(), TGClient::GetFont(), TGFont::GetFontStruct(), TGContainer::GetLastActive(), TGTab::GetNumberOfTabs(), TGClient::GetRoot(), TGButton::GetState(), TGTextBuffer::GetString(), gHelpTextEditor, Gl_histadd(), Goto(), gROOT, gSystem, gVirtualX, TGComboBox::InsertEntry(), InterruptMacro(), TGTextView::IsMarked(), kButton1, kButtonDisabled, kButtonUp, kC_COMMAND, kC_CONTAINER, kC_TEXTENTRY, kCM_BUTTON, kCM_MENU, kCT_ITEMDBLCLICK, kFALSE, kM_EDIT_COPY, kM_EDIT_CUT, kM_EDIT_DELETE, kM_EDIT_PASTE, kM_EDIT_SELECTALL, kM_EDIT_SELFONT, kM_FILE_CLOSE, kM_FILE_EXIT, kM_FILE_NEW, kM_FILE_OPEN, kM_FILE_PRINT, kM_FILE_SAVE, kM_FILE_SAVEAS, kM_HELP_ABOUT, kM_HELP_CONTENTS, kM_SEARCH_FIND, kM_SEARCH_FINDNEXT, kM_SEARCH_GOTO, kM_TOOLS_BROWSER, kM_TOOLS_CLEAN_LOG, kM_TOOLS_COMPILE, kM_TOOLS_EXECUTE, kM_TOOLS_INTERRUPT, TApplication::kProcessRemotely, kTE_ENTER, kTRUE, TGCompositeFrame::Layout(), LoadFile(), TGTextView::LoadFile(), OnDoubleClick(), TGTextEdit::Paste(), TRootHelpDialog::Popup(), PrintText(), TROOT::ProcessLine(), TSystem::RedirectOutput(), TGTextView::ReturnLineCount(), SaveFile(), SaveFileAs(), Search(), TGTextView::SelectAll(), TObject::SetBit(), TGTextView::SetFont(), TGButton::SetState(), TRootHelpDialog::SetText(), TGTextView::SetVsbPosition(), sprintf(), TSystem::TempDirectory(), and TGTextView::Update().

Bool_t TGRootIDE::HandleKey ( Event_t event  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 1075 of file TGRootIDE.cxx.

References CompileMacro(), ExecuteMacro(), fTab, Event_t::fType, TGTab::GetCurrent(), TGTab::GetNumberOfTabs(), gVirtualX, TGMainFrame::HandleKey(), InterruptMacro(), kC_COMMAND, kCM_MENU, kGKeyPress, kKey_Alt, kKey_CapsLock, kKey_Control, kKey_F1, kKey_F3, kKey_F4, kKey_F5, kKey_F7, kKey_Meta, kKey_NumLock, kKey_ScrollLock, kKey_Shift, kKey_Tab, kKey_W, kKeyControlMask, kKeyShiftMask, kM_FILE_CLOSE, kM_HELP_CONTENTS, kTRUE, MK_MSG(), n, Search(), TGFrame::SendMessage(), and TGTab::SetTab().

Bool_t TGRootIDE::HandleTimer ( TTimer t  )  [virtual]

Reimplemented from TGWindow.

Definition at line 1297 of file TGRootIDE.cxx.

References TGPopupMenu::DisableEntry(), TGPopupMenu::EnableEntry(), fMenuEdit, Form(), fStatusBar, fTextEdit, fTimer, fToolBar, TGLongPosition::fX, TGLongPosition::fY, TGToolBar::GetButton(), TGTextEdit::GetCurrentPos(), TGButton::GetState(), gVirtualX, TGTextView::IsMarked(), kButtonDisabled, kButtonUp, kM_EDIT_COPY, kM_EDIT_CUT, kM_EDIT_DELETE, kM_EDIT_PASTE, kNone, kTRUE, TTimer::Reset(), TGButton::SetState(), TGStatusBar::SetText(), and t.

void TGRootIDE::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 1049 of file TGRootIDE.cxx.

References TGCompositeFrame::Cleanup(), TSystem::Exec(), fExiting, Form(), gApplication, gSystem, IsSaved(), kFALSE, kMBCancel, kTRUE, TSystem::TempDirectory(), and TApplication::Terminate().

Referenced by ProcessMessage().

void TGRootIDE::ClearText (  ) 

Definition at line 1143 of file TGRootIDE.cxx.

References TGTextEdit::Clear(), fFilename, fMacro, fStatusBar, fTab, fTextChanged, fTextEdit, TGTab::GetCurrent(), TGTab::GetTabTab(), kFALSE, TGCompositeFrame::Layout(), TGCompositeFrame::MapSubwindows(), TGStatusBar::SetText(), SetText(), and TGMainFrame::SetWindowName().

Bool_t TGRootIDE::LoadBuffer ( const char *  buf  )  [inline]

Definition at line 151 of file TGRootIDE.h.

References fTextEdit, and TGTextView::LoadBuffer().

void TGRootIDE::LoadFile ( char *  fname = NULL  ) 

Definition at line 920 of file TGRootIDE.cxx.

References TObjArray::Add(), TSystem::BaseName(), THtml::Convert(), TString::Data(), ed_filetypes, TString::EndsWith(), TGObject::fClient, fCurrent, fCurrentDoc, fDocList, TGFileInfo::fFilename, fFilename, TGFileInfo::fFileTypes, fHtml, fi, Form(), fTab, fTextEdit, TGTab::GetCurrent(), TGClient::GetDefaultRoot(), TNamed::GetName(), TGTab::GetNumberOfTabs(), TGTab::GetTabTab(), TGDocument::GetTextEdit(), gSystem, kFDOpen, p, Selected(), TGTextEdit::SetFocus(), TSystem::TempDirectory(), and TSystem::UnixPathName().

Referenced by OnDoubleClick(), ProcessMessage(), and TGRootIDE().

void TGRootIDE::SaveFile ( const char *  fname  ) 

Definition at line 966 of file TGRootIDE.cxx.

References fCurrentDoc, Form(), fStatusBar, fTextChanged, fTextEdit, kFALSE, p, TGTextView::ReturnLineCount(), TGDocument::Save(), TGStatusBar::SetText(), and TGMainFrame::SetWindowName().

Referenced by ExecuteMacro(), and ProcessMessage().

Bool_t TGRootIDE::SaveFileAs (  ) 

Definition at line 985 of file TGRootIDE.cxx.

References dir(), ed_filetypes, TGObject::fClient, fCurrentDoc, fFilename, TGFileInfo::fFilename, TGFileInfo::fFileTypes, fi, TGFileInfo::fIniDir, TGFileInfo::fOverwrite, TGClient::GetDefaultRoot(), kFALSE, kFDSave, kTRUE, TGDocument::Save(), and StrDup().

Referenced by CompileMacro(), ExecuteMacro(), and ProcessMessage().

void TGRootIDE::PrintText (  ) 

Definition at line 1031 of file TGRootIDE.cxx.

References TString::Data(), TGObject::fClient, fFilename, Form(), fStatusBar, fTextEdit, gEPrintCommand, gEPrinter, TGClient::GetDefaultRoot(), TGTextEdit::Print(), TGStatusBar::SetText(), and StrDup().

Referenced by ProcessMessage().

void TGRootIDE::Search ( Bool_t  ret  ) 

Definition at line 1159 of file TGRootIDE.cxx.

References fTextEdit, kC_COMMAND, kCM_MENU, kFALSE, TGTextEdit::kM_SEARCH_FINDAGAIN, MK_MSG(), TGTextEdit::Search(), and TGFrame::SendMessage().

Referenced by HandleKey(), and ProcessMessage().

void TGRootIDE::Goto (  ) 

Definition at line 1173 of file TGRootIDE.cxx.

References TGObject::fClient, fTextEdit, TGClient::GetDefaultRoot(), and TGTextEdit::Goto().

Referenced by ProcessMessage().

void TGRootIDE::About (  ) 

Definition at line 1269 of file TGRootIDE.cxx.

References TSystem::Exec(), TSystem::Getenv(), TROOT::GetVersion(), gHelpAbout, gROOT, gSystem, TString::IsNull(), kTRUE, sprintf(), and str.

Referenced by ProcessMessage().

Int_t TGRootIDE::IsSaved (  ) 

Definition at line 1008 of file TGRootIDE.cxx.

References TGObject::fClient, fDocList, Form(), TNamed::GetName(), TGClient::GetRoot(), TGDocument::IsModified(), kMBCancel, kMBIconExclamation, kMBNo, kMBYes, and TGDocument::Save().

Referenced by CloseWindow().

void TGRootIDE::CompileMacro (  ) 

Definition at line 1186 of file TGRootIDE.cxx.

References TSystem::BaseName(), TSystem::CompileMacro(), TSystem::ConcatFileName(), TString::Contains(), TString::Data(), fFilename, fMacro, Form(), fPid, fTextEdit, fTextView, gSystem, kFALSE, TGTextView::LoadFile(), TSystem::RedirectOutput(), TGTextView::ReturnLineCount(), TGTextEdit::SaveFile(), SaveFileAs(), TGTextView::SetVsbPosition(), TSystem::TempDirectory(), and TSystem::Unlink().

Referenced by HandleKey(), and ProcessMessage().

void TGRootIDE::ExecuteMacro (  ) 

Definition at line 1213 of file TGRootIDE.cxx.

References TSystem::BaseName(), TSystem::ConcatFileName(), TString::Contains(), TString::Data(), TGObject::fClient, fFilename, fMacro, Form(), fPid, fTextChanged, fTextEdit, fTextView, TGClient::GetRoot(), gROOT, gSystem, kFALSE, kMBCancel, kMBIconExclamation, kMBNo, kMBYes, kTRUE, TGTextView::LoadFile(), TROOT::Macro(), TSystem::RedirectOutput(), TGTextView::ReturnLineCount(), SaveFile(), TGTextEdit::SaveFile(), SaveFileAs(), TROOT::SetExecutingMacro(), TGTextView::SetVsbPosition(), TSystem::TempDirectory(), and TSystem::Unlink().

Referenced by HandleKey(), and ProcessMessage().

void TGRootIDE::InterruptMacro (  ) 

Definition at line 1261 of file TGRootIDE.cxx.

References gROOT, kTRUE, and TROOT::SetInterrupt().

Referenced by HandleKey(), and ProcessMessage().

void TGRootIDE::SetText ( TGText text  )  [inline]

Definition at line 163 of file TGRootIDE.h.

References fTextEdit, TGTextView::SetText(), and text().

Referenced by ClearText().

void TGRootIDE::AddText ( TGText text  )  [inline]

Definition at line 164 of file TGRootIDE.h.

References TGTextView::AddText(), fTextEdit, and text().

void TGRootIDE::AddLine ( const char *  string  )  [inline]

Definition at line 165 of file TGRootIDE.h.

References TGTextView::AddLine(), and fTextEdit.

void TGRootIDE::AddLineFast ( const char *  string  )  [inline]

Definition at line 166 of file TGRootIDE.h.

References TGTextView::AddLineFast(), and fTextEdit.

TGText* TGRootIDE::GetText (  )  const [inline]

Definition at line 167 of file TGRootIDE.h.

References fTextEdit, and TGTextView::GetText().

void TGRootIDE::DisplayFile ( const TString fname  ) 

Definition at line 1536 of file TGRootIDE.cxx.

References TGFileContainer::AddFile(), TGLVContainer::AddItem(), entry, fContents, TDirectoryFile::GetListOfKeys(), gSystem, kSortByType, name, TGContainer::RemoveAll(), TGFrame::Resize(), TGLVContainer::SetColHeaders(), TGContainer::SetPagePosition(), TGFileContainer::Sort(), StrDup(), and TSystem::WorkingDirectory().

Referenced by OnDoubleClick().

void TGRootIDE::DisplayDirectory ( const TString fname  ) 

Definition at line 1564 of file TGRootIDE.cxx.

References TGComboBox::AddEntry(), TGFileContainer::AddFile(), TGFileContainer::ChangeDirectory(), TSystem::ChangeDirectory(), TGFileContainer::DisplayDirectory(), fContents, fDir, fDirCombo, TGComboBox::FindEntry(), TGComboBox::GetNumberOfEntries(), gSystem, kSortByType, TGFrame::Resize(), TGLVContainer::SetDefaultHeaders(), TGTextEntry::SetText(), TGFileContainer::Sort(), and TSystem::WorkingDirectory().

Referenced by DirSelected(), and OnDoubleClick().

void TGRootIDE::DisplayObject ( const TString fname,
const TString name 
)

Definition at line 1582 of file TGRootIDE.cxx.

References gDirectory, TDirectoryFile::Get(), and name.

Referenced by OnDoubleClick().

void TGRootIDE::OnDoubleClick ( TGLVEntry f,
Int_t  btn 
)

Definition at line 1643 of file TGRootIDE.cxx.

References DisplayDirectory(), DisplayFile(), DisplayObject(), fContents, TGObject::GetId(), gVirtualX, IsTextFile(), kButton1, kPointer, kSortByType, kWatch, LoadFile(), name, and TGFileContainer::Sort().

Referenced by ProcessMessage().

void TGRootIDE::CloseTab ( Int_t  id  ) 

Definition at line 1692 of file TGRootIDE.cxx.

References TGDocument::Close(), fCurrentDoc, fTab, TGTab::GetNumberOfTabs(), TGCompositeFrame::Layout(), and TGTab::RemoveTab().

void TGRootIDE::DoTab ( Int_t  id  ) 

Definition at line 1668 of file TGRootIDE.cxx.

References fCurrent, fCurrentDoc, fDocList, fFilename, Form(), fTab, fTextEdit, TNamed::GetName(), TGTabElement::GetString(), TGDocument::GetTabEl(), TGTab::GetTabTab(), TGDocument::GetTextEdit(), p, and TGMainFrame::SetWindowName().

void TGRootIDE::ApplyFilter ( Int_t  id  ) 

Definition at line 1706 of file TGRootIDE.cxx.

References TGFileContainer::AddFile(), TGFileContainer::DisplayDirectory(), fContents, filters, kSortByType, TGFileContainer::SetFilter(), and TGFileContainer::Sort().

void TGRootIDE::CheckRemote ( const char *  str  ) 

Definition at line 1941 of file TGRootIDE.cxx.

References TString::Data(), fLabel, Form(), fToolBar, gClient, TROOT::GetApplication(), TGClient::GetColorByName(), gROOT, TString::Index(), kNPOS, TGCompositeFrame::Layout(), TString::Remove(), TGLabel::SetText(), and TGLabel::SetTextColor().

Referenced by ProcessMessage().

void TGRootIDE::DirSelected ( const char *  txt  ) 

Definition at line 1717 of file TGRootIDE.cxx.

References TGComboBox::AddEntry(), DisplayDirectory(), fDir, fDirCombo, TGComboBox::FindEntry(), TGComboBox::GetNumberOfEntries(), and TGTextEntry::SetText().

Referenced by DirChanged().

void TGRootIDE::DirChanged (  ) 

Definition at line 1728 of file TGRootIDE.cxx.

References DirSelected(), fDir, TGTextEntry::GetText(), and StrDup().

void TGRootIDE::Selected ( const char *  txt  ) 

Definition at line 1774 of file TGRootIDE.cxx.

References TGComboBox::AddEntry(), TDirectoryFile::Browse(), buf, calloc(), TGHtml::Clear(), fclose(), fComboBox, fGuiHtml, TGComboBox::FindEntry(), fopen, free(), fURL, TGObject::GetId(), TGComboBox::GetNumberOfEntries(), gSystem, gVirtualX, HtmlError, i, kPointer, kWatch, TGView::Layout(), TFile::Open(), TGHtml::ParseText(), ReadRemote(), TGHtml::SetBaseUri(), TGTextEntry::SetText(), and TSystem::UnixPathName().

Referenced by Back(), Build(), Forward(), LoadFile(), MouseDown(), Reload(), and URLChanged().

void TGRootIDE::URLChanged (  ) 

Definition at line 1854 of file TGRootIDE.cxx.

References fURL, TGTextEntry::GetText(), gSystem, Selected(), StrDup(), and TSystem::UnixPathName().

void TGRootIDE::Back (  ) 

Definition at line 1865 of file TGRootIDE.cxx.

References entry, TGLBEntry::EntryId(), fComboBox, TGComboBox::FindEntry(), fURL, TGComboBox::GetSelectedEntry(), TGTextEntry::GetText(), kTRUE, TGComboBox::Select(), and Selected().

void TGRootIDE::Forward (  ) 

Definition at line 1886 of file TGRootIDE.cxx.

References entry, TGLBEntry::EntryId(), fComboBox, TGComboBox::FindEntry(), fURL, TGComboBox::GetSelectedEntry(), TGTextEntry::GetText(), kTRUE, TGComboBox::Select(), and Selected().

void TGRootIDE::Reload (  ) 

Definition at line 1907 of file TGRootIDE.cxx.

References fURL, TGTextEntry::GetText(), and Selected().

void TGRootIDE::Stop (  ) 

Definition at line 1917 of file TGRootIDE.cxx.

void TGRootIDE::MouseOver ( char *   ) 

Definition at line 1925 of file TGRootIDE.cxx.

References fStatusBar, and TGStatusBar::SetText().

void TGRootIDE::MouseDown ( char *   ) 

Definition at line 1933 of file TGRootIDE.cxx.

References Selected().


Member Data Documentation

Int_t TGRootIDE::fPid [protected]

Definition at line 89 of file TGRootIDE.h.

Referenced by Build(), CompileMacro(), ExecuteMacro(), and ProcessMessage().

TTimer* TGRootIDE::fTimer [protected]

Definition at line 90 of file TGRootIDE.h.

Referenced by Build(), HandleTimer(), and ~TGRootIDE().

TGStatusBar* TGRootIDE::fStatusBar [protected]

Definition at line 91 of file TGRootIDE.h.

Referenced by Build(), ClearText(), HandleTimer(), MouseOver(), PrintText(), SaveFile(), and TGRootIDE().

TGToolBar* TGRootIDE::fToolBar [protected]

Definition at line 92 of file TGRootIDE.h.

Referenced by Build(), CheckRemote(), HandleTimer(), and ProcessMessage().

TGTab* TGRootIDE::fTab [protected]

Definition at line 93 of file TGRootIDE.h.

Referenced by Build(), ClearText(), CloseTab(), DoTab(), HandleKey(), LoadFile(), ProcessMessage(), and TGRootIDE().

TGTextEntry* TGRootIDE::fDir [protected]

Definition at line 94 of file TGRootIDE.h.

Referenced by Build(), DirChanged(), DirSelected(), and DisplayDirectory().

TGTextBuffer* TGRootIDE::fDirBuf [protected]

Definition at line 95 of file TGRootIDE.h.

Referenced by Build().

TGComboBox* TGRootIDE::fDirCombo [protected]

Definition at line 96 of file TGRootIDE.h.

Referenced by Build(), DirSelected(), and DisplayDirectory().

TGFileContainer* TGRootIDE::fContents [protected]

Definition at line 97 of file TGRootIDE.h.

Referenced by ApplyFilter(), Build(), DisplayDirectory(), DisplayFile(), OnDoubleClick(), ProcessMessage(), and TGRootIDE().

TGTextEdit* TGRootIDE::fTextEdit [protected]

Definition at line 98 of file TGRootIDE.h.

Referenced by AddLine(), AddLineFast(), AddText(), Build(), ClearText(), CompileMacro(), DoTab(), ExecuteMacro(), GetText(), Goto(), HandleTimer(), LoadBuffer(), LoadFile(), PrintText(), ProcessMessage(), SaveFile(), Search(), SetText(), and TGRootIDE().

TGTextView* TGRootIDE::fTextView [protected]

Definition at line 99 of file TGRootIDE.h.

Referenced by Build(), CompileMacro(), ExecuteMacro(), and ProcessMessage().

TGComboBox* TGRootIDE::fComboCmd [protected]

Definition at line 100 of file TGRootIDE.h.

Referenced by Build(), and ProcessMessage().

TGComboBox* TGRootIDE::fFileType [protected]

Definition at line 101 of file TGRootIDE.h.

Referenced by Build().

TGTextEntry* TGRootIDE::fFilter [protected]

Definition at line 102 of file TGRootIDE.h.

Referenced by Build().

TGLabel* TGRootIDE::fLabel [protected]

Definition at line 103 of file TGRootIDE.h.

Referenced by Build(), and CheckRemote().

TGTextEntry* TGRootIDE::fCommand [protected]

Definition at line 104 of file TGRootIDE.h.

Referenced by Build(), and ProcessMessage().

TGTextBuffer* TGRootIDE::fCommandBuf [protected]

Definition at line 105 of file TGRootIDE.h.

Referenced by Build(), and ProcessMessage().

TGLayoutHints* TGRootIDE::fMenuBarLayout [protected]

Definition at line 106 of file TGRootIDE.h.

Referenced by Build().

TGLayoutHints* TGRootIDE::fMenuBarItemLayout [protected]

Definition at line 107 of file TGRootIDE.h.

Referenced by Build().

TGMenuBar* TGRootIDE::fMenuBar [protected]

Definition at line 108 of file TGRootIDE.h.

Referenced by Build().

TGPopupMenu* TGRootIDE::fMenuFile [protected]

Definition at line 109 of file TGRootIDE.h.

Referenced by Build().

TGPopupMenu* TGRootIDE::fMenuEdit [protected]

Definition at line 110 of file TGRootIDE.h.

Referenced by Build(), HandleTimer(), and ProcessMessage().

TGPopupMenu* TGRootIDE::fMenuSearch [protected]

Definition at line 111 of file TGRootIDE.h.

Referenced by Build().

TGPopupMenu* TGRootIDE::fMenuTools [protected]

Definition at line 112 of file TGRootIDE.h.

Referenced by Build().

TGPopupMenu* TGRootIDE::fMenuHelp [protected]

Definition at line 113 of file TGRootIDE.h.

Referenced by Build().

Bool_t TGRootIDE::fExiting [protected]

Definition at line 114 of file TGRootIDE.h.

Referenced by Build(), and CloseWindow().

Bool_t TGRootIDE::fTextChanged [protected]

Definition at line 115 of file TGRootIDE.h.

Referenced by Build(), ClearText(), ExecuteMacro(), and SaveFile().

TString TGRootIDE::fFilename [protected]

Definition at line 116 of file TGRootIDE.h.

Referenced by Build(), ClearText(), CompileMacro(), DoTab(), ExecuteMacro(), LoadFile(), PrintText(), ProcessMessage(), SaveFileAs(), and TGRootIDE().

TMacro* TGRootIDE::fMacro [protected]

Definition at line 117 of file TGRootIDE.h.

Referenced by Build(), ClearText(), CompileMacro(), ExecuteMacro(), and TGRootIDE().

TObjArray* TGRootIDE::fDocList [protected]

Definition at line 118 of file TGRootIDE.h.

Referenced by Build(), DoTab(), IsSaved(), LoadFile(), ProcessMessage(), and ~TGRootIDE().

TGDocument* TGRootIDE::fCurrentDoc [protected]

Definition at line 119 of file TGRootIDE.h.

Referenced by Build(), CloseTab(), DoTab(), LoadFile(), ProcessMessage(), SaveFile(), and SaveFileAs().

Int_t TGRootIDE::fCurrent [protected]

Definition at line 120 of file TGRootIDE.h.

Referenced by Build(), DoTab(), and LoadFile().

Int_t TGRootIDE::fNbDoc [protected]

Definition at line 121 of file TGRootIDE.h.

Referenced by Build().

TGVerticalFrame* TGRootIDE::fVerticalFrame [protected]

Definition at line 123 of file TGRootIDE.h.

Referenced by Build().

TGHorizontalFrame* TGRootIDE::fHorizontalFrame [protected]

Definition at line 124 of file TGRootIDE.h.

Referenced by Build().

TGPictureButton* TGRootIDE::fBack [protected]

Definition at line 125 of file TGRootIDE.h.

Referenced by Build().

TGPictureButton* TGRootIDE::fForward [protected]

Definition at line 126 of file TGRootIDE.h.

Referenced by Build().

TGPictureButton* TGRootIDE::fReload [protected]

Definition at line 127 of file TGRootIDE.h.

Referenced by Build().

TGPictureButton* TGRootIDE::fStop [protected]

Definition at line 128 of file TGRootIDE.h.

Referenced by Build().

TGPictureButton* TGRootIDE::fHome [protected]

Definition at line 129 of file TGRootIDE.h.

Referenced by Build().

TGComboBox* TGRootIDE::fComboBox [protected]

Definition at line 130 of file TGRootIDE.h.

Referenced by Back(), Build(), Forward(), and Selected().

TGTextBuffer* TGRootIDE::fURLBuf [protected]

Definition at line 131 of file TGRootIDE.h.

Referenced by Build().

TGTextEntry* TGRootIDE::fURL [protected]

Definition at line 132 of file TGRootIDE.h.

Referenced by Back(), Build(), Forward(), Reload(), Selected(), and URLChanged().

THtml* TGRootIDE::fHtml [protected]

Definition at line 133 of file TGRootIDE.h.

Referenced by Build(), and LoadFile().

TGHtml* TGRootIDE::fGuiHtml [protected]

Definition at line 134 of file TGRootIDE.h.

Referenced by Build(), and Selected().


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