#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 |
| enum ETextEditorCommands |
Definition at line 261 of file TGRootIDE.cxx.
| ClassImp | ( | TGRootIDE | ) |
| static Bool_t IsTextFile | ( | const char * | candidate | ) | [static] |
| 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.
| 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:
{
{ "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.
1.5.1