TGRootIDE.cxx File Reference

#include "TROOT.h"
#include "TApplication.h"
#include "TSystem.h"
#include "TMacro.h"
#include "TGMsgBox.h"
#include "TGFileDialog.h"
#include "TGFontDialog.h"
#include "TGTextEdit.h"
#include "TGMenu.h"
#include "TGButton.h"
#include "TGStatusBar.h"
#include "KeySymbols.h"
#include "TGToolBar.h"
#include "TG3DLine.h"
#include "TGLabel.h"
#include "TGTextEntry.h"
#include "TGTextEditDialogs.h"
#include "TGRootIDE.h"
#include "TGComboBox.h"
#include "TGTab.h"
#include "TGFSContainer.h"
#include "TGListView.h"
#include "TBrowser.h"
#include "TFile.h"
#include "TKey.h"
#include "TObjString.h"
#include "TRootHelpDialog.h"
#include "TGSplitter.h"
#include "TObjArray.h"
#include "HelpText.h"
#include "TGHtml.h"
#include "TUrl.h"
#include "TSocket.h"
#include "TImage.h"
#include "THtml.h"
#include "TRint.h"
#include "TProcessID.h"
#include "Getline.h"
#include <string>

Go to the source code of this file.

Enumerations

enum  ETextEditorCommands

Functions

 ClassImp (TGRootIDE) TGDocument
static Bool_t IsTextFile (const char *candidate)
static char * ReadRemote (const char *url)

Variables

const char * ed_filetypes []
const char * filters []
const char * HtmlError []
ToolBarData_t fTbData []
static char * gEPrinter = 0
static char * gEPrintCommand = 0


Enumeration Type Documentation

enum ETextEditorCommands

Definition at line 261 of file TGRootIDE.cxx.


Function Documentation

ClassImp ( TGRootIDE   ) 

Definition at line 299 of file TGRootIDE.cxx.

References kFALSE.

static Bool_t IsTextFile ( const char *  candidate  )  [static]

Definition at line 1602 of file TGRootIDE.cxx.

References buf, buffer, fclose(), fopen, fread, TSystem::GetPathInfo(), gSystem, i, infile, kFALSE, kS_IFREG, and kTRUE.

static char* ReadRemote ( const char *  url  )  [static]

Definition at line 1739 of file TGRootIDE.cxx.

References TString::BeginsWith(), buf, calloc(), TString::Data(), free(), TUrl::GetFile(), TUrl::GetHost(), TUrl::GetPort(), TUrl::GetProtocol(), TString::Length(), s, and size.


Variable Documentation

const char* ed_filetypes[]

Initial value:

 {
   "ROOT Macros",  "*.C",
   "Source files", "*.cxx",
   "Text files",   "*.txt",
   "All files",    "*",
   0, 0
}

Definition at line 194 of file TGRootIDE.cxx.

const char* filters[]

Initial value:

 {
   "",
   "*.*",
   "*.[C|c|h]*",
   "*.txt"
}

Definition at line 202 of file TGRootIDE.cxx.

ToolBarData_t fTbData[]

Initial value:

 {
  { "ed_new.png",       "New File",         kFALSE, kM_FILE_NEW,         0 },
  { "ed_open.png",      "Open File",        kFALSE, kM_FILE_OPEN,        0 },
  { "ed_save.png",      "Save File",        kFALSE, kM_FILE_SAVE,        0 },
  { "ed_saveas.png",    "Save File As...",  kFALSE, kM_FILE_SAVEAS,      0 },
  { "",                 0,                  0,      -1,                  0 },
  { "ed_print.png",     "Print",            kFALSE, kM_FILE_PRINT,       0 },
  { "",                 0,                  0,      -1,                  0 },
  { "ed_cut.png",       "Cut selection",    kFALSE, kM_EDIT_CUT,         0 },
  { "ed_copy.png",      "Copy selection",   kFALSE, kM_EDIT_COPY,        0 },
  { "ed_paste.png",     "Paste selection",  kFALSE, kM_EDIT_PASTE,       0 },
  { "ed_delete.png",    "Delete selection", kFALSE, kM_EDIT_DELETE,      0 },
  { "",                 0,                  0,      -1,                  0 },
  { "ed_find.png",      "Find...",          kFALSE, kM_SEARCH_FIND,      0 },
  { "ed_findnext.png",  "Find next",        kFALSE, kM_SEARCH_FINDNEXT,  0 },
  { "ed_goto.png",      "Goto...",          kFALSE, kM_SEARCH_GOTO,      0 },
  { "",                 0,                  0,      -1,                  0 },
  { "ed_compile.png",   "Compile Macro",    kFALSE, kM_TOOLS_COMPILE,    0 },
  { "ed_execute.png",   "Execute Macro",    kFALSE, kM_TOOLS_EXECUTE,    0 },
  { "ed_interrupt.png", "Interrupt",        kFALSE, kM_TOOLS_INTERRUPT,  0 },
  { "",                 0,                  0,      -1,                  0 },
  { "ed_help.png",      "Help Contents",    kFALSE, kM_HELP_CONTENTS,    0 },
  { "",                 0,                  0,      -1,                  0 },
  { "ed_quit.png",      "Close Editor",     kFALSE, kM_FILE_EXIT,        0 },
  {  0,                 0,                  0,      0,                   0 }
}

Definition at line 269 of file TGRootIDE.cxx.

char* gEPrintCommand = 0 [static]

Definition at line 297 of file TGRootIDE.cxx.

char* gEPrinter = 0 [static]

Definition at line 296 of file TGRootIDE.cxx.

const char* HtmlError[]

Definition at line 209 of file TGRootIDE.cxx.


Generated on Tue Jul 5 16:08:52 2011 for ROOT_528-00b_version by  doxygen 1.5.1