Logo ROOT   6.10/09
Reference Guide
Enumerations | Variables
TGTextEditor.cxx File Reference
#include "TROOT.h"
#include "TApplication.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"
Include dependency graph for TGTextEditor.cxx:

Enumerations

enum  ETextEditorCommands {
  kM_FILE_NEW, kM_FILE_OPEN, kM_FILE_SAVE, kM_FILE_SAVEAS,
  kM_FILE_CLOSE, kM_FILE_PRINT, kM_FILE_EXIT, kM_EDIT_CUT,
  kM_EDIT_COPY, kM_EDIT_PASTE, kM_EDIT_DELETE, kM_EDIT_SELECTALL,
  kM_SEARCH_FIND, kM_SEARCH_FINDNEXT, kM_SEARCH_GOTO, kM_TOOLS_COMPILE,
  kM_TOOLS_EXECUTE, kM_TOOLS_INTERRUPT, kM_HELP_CONTENTS, kM_HELP_ABOUT,
  kM_EDIT_SELFONT
}
 

Variables

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

Enumeration Type Documentation

◆ ETextEditorCommands

Enumerator
kM_FILE_NEW 
kM_FILE_OPEN 
kM_FILE_SAVE 
kM_FILE_SAVEAS 
kM_FILE_CLOSE 
kM_FILE_PRINT 
kM_FILE_EXIT 
kM_EDIT_CUT 
kM_EDIT_COPY 
kM_EDIT_PASTE 
kM_EDIT_DELETE 
kM_EDIT_SELECTALL 
kM_SEARCH_FIND 
kM_SEARCH_FINDNEXT 
kM_SEARCH_GOTO 
kM_TOOLS_COMPILE 
kM_TOOLS_EXECUTE 
kM_TOOLS_INTERRUPT 
kM_HELP_CONTENTS 
kM_HELP_ABOUT 
kM_EDIT_SELFONT 

Definition at line 197 of file TGTextEditor.cxx.

Variable Documentation

◆ ed_filetypes

const char* ed_filetypes[]
Initial value:
= {
"ROOT Macros", "*.C",
"Source files", "*.cxx",
"Text files", "*.txt",
"All files", "*",
0, 0
}

Definition at line 189 of file TGTextEditor.cxx.

◆ fTbData

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 }
}
const Bool_t kFALSE
Definition: RtypesCore.h:92

Definition at line 205 of file TGTextEditor.cxx.

◆ gEPrintCommand

char* gEPrintCommand = 0
static

Definition at line 233 of file TGTextEditor.cxx.

◆ gEPrinter

char* gEPrinter = 0
static

Definition at line 232 of file TGTextEditor.cxx.