Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRootCanvas.cxx File Reference
#include "RConfigure.h"
#include "TRootCanvas.h"
#include "TRootApplication.h"
#include "TRootHelpDialog.h"
#include "TGClient.h"
#include "TGCanvas.h"
#include "TGMenu.h"
#include "TGWidget.h"
#include "TGFileDialog.h"
#include "TGStatusBar.h"
#include "TGTextEditDialogs.h"
#include "TROOT.h"
#include "TClass.h"
#include "TSystem.h"
#include "TCanvas.h"
#include "TBrowser.h"
#include "TClassTree.h"
#include "TMarker.h"
#include "TStyle.h"
#include "TColorWheel.h"
#include "TVirtualX.h"
#include "TApplication.h"
#include "TFile.h"
#include "TInterpreter.h"
#include "TEnv.h"
#include "TMath.h"
#include <iostream>
#include "TGDockableFrame.h"
#include "TG3DLine.h"
#include "TGToolBar.h"
#include "TGToolTip.h"
#include "TVirtualPadEditor.h"
#include "TRootControlBar.h"
#include "TGuiBuilder.h"
#include "TImage.h"
#include "TError.h"
#include "TGDNDManager.h"
#include "TBufferFile.h"
#include "TRootBrowser.h"
#include "TGTab.h"
#include "TGedEditor.h"
#include "TPluginManager.h"
#include "TVirtualGL.h"
#include "HelpText.h"
Include dependency graph for TRootCanvas.cxx:

Classes

class  TRootContainer
 

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 

Enumerations

enum  ERootCanvasCommands {
  kFileNewCanvas , kFileOpen , kFileSaveAs , kFileSaveAsRoot ,
  kFileSaveAsC , kFileSaveAsPS , kFileSaveAsEPS , kFileSaveAsPDF ,
  kFileSaveAsGIF , kFileSaveAsJPG , kFileSaveAsPNG , kFileSaveAsTEX ,
  kFilePrint , kFileCloseCanvas , kFileQuit , kEditStyle ,
  kEditCut , kEditCopy , kEditPaste , kEditClearPad ,
  kEditClearCanvas , kEditUndo , kEditRedo , kViewEditor ,
  kViewToolbar , kViewEventStatus , kViewToolTips , kViewColors ,
  kViewFonts , kViewMarkers , kViewIconify , kViewX3D ,
  kViewOpenGL , kOptionAutoResize , kOptionResizeCanvas , kOptionMoveOpaque ,
  kOptionResizeOpaque , kOptionInterrupt , kOptionRefresh , kOptionAutoExec ,
  kOptionStatistics , kOptionHistTitle , kOptionFitParams , kOptionCanEdit ,
  kInspectRoot , kClassesTree , kFitPanel , kToolsBrowser ,
  kToolsBuilder , kToolsRecorder , kHelpAbout , kHelpOnCanvas ,
  kHelpOnMenus , kHelpOnGraphicsEd , kHelpOnBrowser , kHelpOnObjects ,
  kHelpOnPS , kToolModify , kToolArc , kToolLine ,
  kToolArrow , kToolDiamond , kToolEllipse , kToolPad ,
  kToolPave , kToolPLabel , kToolPText , kToolPsText ,
  kToolGraph , kToolCurlyLine , kToolCurlyArc , kToolLatex ,
  kToolMarker , kToolCutG
}
 

Variables

static const char * gOpenTypes []
 
static const char * gSaveAsTypes []
 
static ToolBarData_t gToolBarData []
 
static ToolBarData_t gToolBarData1 []
 

Enumeration Type Documentation

◆ ERootCanvasCommands

Enumerator
kFileNewCanvas 
kFileOpen 
kFileSaveAs 
kFileSaveAsRoot 
kFileSaveAsC 
kFileSaveAsPS 
kFileSaveAsEPS 
kFileSaveAsPDF 
kFileSaveAsGIF 
kFileSaveAsJPG 
kFileSaveAsPNG 
kFileSaveAsTEX 
kFilePrint 
kFileCloseCanvas 
kFileQuit 
kEditStyle 
kEditCut 
kEditCopy 
kEditPaste 
kEditClearPad 
kEditClearCanvas 
kEditUndo 
kEditRedo 
kViewEditor 
kViewToolbar 
kViewEventStatus 
kViewToolTips 
kViewColors 
kViewFonts 
kViewMarkers 
kViewIconify 
kViewX3D 
kViewOpenGL 
kOptionAutoResize 
kOptionResizeCanvas 
kOptionMoveOpaque 
kOptionResizeOpaque 
kOptionInterrupt 
kOptionRefresh 
kOptionAutoExec 
kOptionStatistics 
kOptionHistTitle 
kOptionFitParams 
kOptionCanEdit 
kInspectRoot 
kClassesTree 
kFitPanel 
kToolsBrowser 
kToolsBuilder 
kToolsRecorder 
kHelpAbout 
kHelpOnCanvas 
kHelpOnMenus 
kHelpOnGraphicsEd 
kHelpOnBrowser 
kHelpOnObjects 
kHelpOnPS 
kToolModify 
kToolArc 
kToolLine 
kToolArrow 
kToolDiamond 
kToolEllipse 
kToolPad 
kToolPave 
kToolPLabel 
kToolPText 
kToolPsText 
kToolGraph 
kToolCurlyLine 
kToolCurlyArc 
kToolLatex 
kToolMarker 
kToolCutG 

Definition at line 77 of file TRootCanvas.cxx.

Variable Documentation

◆ gOpenTypes

const char* gOpenTypes[]
static
Initial value:
= { "ROOT files", "*.root",
"All files", "*",
0, 0 }

Definition at line 161 of file TRootCanvas.cxx.

◆ gSaveAsTypes

const char* gSaveAsTypes[]
static
Initial value:
= { "PDF", "*.pdf",
"PostScript", "*.ps",
"Encapsulated PostScript", "*.eps",
"SVG", "*.svg",
"TeX", "*.tex",
"GIF", "*.gif",
"ROOT macros", "*.C",
"ROOT files", "*.root",
"XML", "*.xml",
"PNG", "*.png",
"XPM", "*.xpm",
"JPEG", "*.jpg",
"TIFF", "*.tiff",
"XCF", "*.xcf",
"All files", "*",
0, 0 }

Definition at line 165 of file TRootCanvas.cxx.

◆ gToolBarData

ToolBarData_t gToolBarData[]
static
Initial value:
= {
{ "newcanvas.xpm", "New", kFALSE, kFileNewCanvas, 0 },
{ "open.xpm", "Open", kFALSE, kFileOpen, 0 },
{ "save.xpm", "Save As", kFALSE, kFileSaveAs, 0 },
{ "printer.xpm", "Print", kFALSE, kFilePrint, 0 },
{ "", "", kFALSE, -1, 0 },
{ "interrupt.xpm", "Interrupt", kFALSE, kOptionInterrupt,0 },
{ "refresh2.xpm", "Refresh", kFALSE, kOptionRefresh, 0 },
{ "", "", kFALSE, -1, 0 },
{ "inspect.xpm", "Inspect", kFALSE, kInspectRoot, 0 },
{ "browser.xpm", "Browser", kFALSE, kToolsBrowser, 0 },
{ 0, 0, kFALSE, 0, 0 }
}
constexpr Bool_t kFALSE
Definition RtypesCore.h:101
@ kOptionInterrupt
@ kFilePrint
@ kFileSaveAs
@ kToolsBrowser
@ kFileNewCanvas
@ kOptionRefresh
@ kInspectRoot
@ kFileOpen

Definition at line 182 of file TRootCanvas.cxx.

◆ gToolBarData1

ToolBarData_t gToolBarData1[]
static
Initial value:
= {
{ "pointer.xpm", "Modify", kFALSE, kToolModify, 0 },
{ "arc.xpm", "Arc", kFALSE, kToolArc, 0 },
{ "line.xpm", "Line", kFALSE, kToolLine, 0 },
{ "arrow.xpm", "Arrow", kFALSE, kToolArrow, 0 },
{ "diamond.xpm", "Diamond", kFALSE, kToolDiamond, 0 },
{ "ellipse.xpm", "Ellipse", kFALSE, kToolEllipse, 0 },
{ "pad.xpm", "Pad", kFALSE, kToolPad, 0 },
{ "pave.xpm", "Pave", kFALSE, kToolPave, 0 },
{ "pavelabel.xpm", "Pave Label", kFALSE, kToolPLabel, 0 },
{ "pavetext.xpm", "Pave Text", kFALSE, kToolPText, 0 },
{ "pavestext.xpm", "Paves Text", kFALSE, kToolPsText, 0 },
{ "graph.xpm", "Graph", kFALSE, kToolGraph, 0 },
{ "curlyline.xpm", "Curly Line", kFALSE, kToolCurlyLine, 0 },
{ "curlyarc.xpm", "Curly Arc", kFALSE, kToolCurlyArc, 0 },
{ "latex.xpm", "Text/Latex", kFALSE, kToolLatex, 0 },
{ "marker.xpm", "Marker", kFALSE, kToolMarker, 0 },
{ "cut.xpm", "Graphical Cut", kFALSE, kToolCutG, 0 },
{ 0, 0, kFALSE, 0, 0 }
}
@ kToolLatex
@ kToolPLabel
@ kToolPad
@ kToolDiamond
@ kToolCurlyLine
@ kToolLine
@ kToolEllipse
@ kToolPsText
@ kToolModify
@ kToolArrow
@ kToolArc
@ kToolPave
@ kToolPText
@ kToolCurlyArc
@ kToolGraph
@ kToolCutG
@ kToolMarker

Definition at line 197 of file TRootCanvas.cxx.