TGTextEditor.cxx File Reference

#include "TROOT.h"
#include "TSystem.h"
#include "TMacro.h"
#include "TInterpreter.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 "TGTextEditor.h"
#include "TGComboBox.h"
#include "TObjString.h"
#include "TRootHelpDialog.h"
#include "HelpText.h"

Go to the source code of this file.

Enumerations

enum  ETextEditorCommands

Functions

 ClassImp (TGTextEditor) TGTextEditor

Variables

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


Enumeration Type Documentation

enum ETextEditorCommands

Definition at line 196 of file TGTextEditor.cxx.


Function Documentation

ClassImp ( TGTextEditor   ) 

Definition at line 234 of file TGTextEditor.cxx.

References gClient, TGClient::GetDefaultRoot(), kButtonDisabled, kM_FILE_EXIT, and MapWindow().


Variable Documentation

const char* ed_filetypes[]

Initial value:

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

Definition at line 188 of file TGTextEditor.cxx.

Referenced by TGRootIDE::LoadFile(), TGTextEditor::LoadFile(), TGDocument::Open(), TGRootIDE::SaveFileAs(), and TGTextEditor::SaveFileAs().

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 204 of file TGTextEditor.cxx.

Referenced by TGTextEditor::Build(), and TGRootIDE::Build().

char* gEPrintCommand = 0 [static]

Definition at line 232 of file TGTextEditor.cxx.

Referenced by TGRootIDE::PrintText(), and TGTextEditor::PrintText().

char* gEPrinter = 0 [static]

Definition at line 231 of file TGTextEditor.cxx.

Referenced by TGRootIDE::PrintText(), and TGTextEditor::PrintText().


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