34 return kCannotRunScript;
37 return kScriptDirNotFound;
44 gROOT->ProcessLine(cmd, &err);
46 return kCannotRunScript;
53 const TObject *winGetParent =
win->GetParent();
55 if (winGetParent ==
gClient->GetDefaultRoot())
57 if (winIsMapped &&
win->InheritsFrom(clGMainFrame)) {
66 img->WriteImage(outfile.
Data());
bool Bool_t
Boolean (0=false, 1=true) (bool)
int Int_t
Signed integer 4 bytes (int)
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t win
R__EXTERN TSystem * gSystem
TClass instances represent classes, structs and namespaces in the ROOT type system.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
ROOT GUI Window base class.
static std::unique_ptr< TImage > CreateImageFromWindow(Drawable_t wid)
Create TImage object with content of displayed window.
Mother of all ROOT objects.
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Bool_t cd(const char *path)
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
virtual TString GetDirName(const char *pathname)
Return the directory name in pathname.