113           :
TPad(
"button",title,
x1,
y1,
x2,
y2,18,2,1), 
TAttText(22,0,1,61,0.65)
 
  119   if (title && 
strlen(title)) {
 
 
  297      out << 
"   button->SetBorderSize(" << 
GetBorderSize() << 
");\n";
 
  299      out << 
"   button->SetBorderMode(" << 
GetBorderMode() << 
");\n";
 
  302      out << 
"button->SetFraming();\n";
 
  304      out << 
"button->SetEditable(kTRUE);\n";
 
  306   out << 
"   button->Draw();\n";
 
  312   while (
auto obj = next()) {
 
  314         out << 
"   button->cd();\n";
 
  315      obj->SavePrimitive(out, next.
GetOption());
 
  319      out << 
"   " << 
gPad->GetName() << 
"->cd();\n";
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char x2
 
Option_t Option_t TPoint TPoint const char x1
 
Option_t Option_t TPoint TPoint const char y2
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void SetCursor
 
Option_t Option_t TPoint TPoint const char text
 
Option_t Option_t TPoint TPoint const char y1
 
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
Save fill attributes as C++ statement(s) on output stream out.
 
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
Save line attributes as C++ statement(s) on output stream out.
 
virtual Float_t GetTextSize() const
Return the text size.
 
virtual Short_t GetTextAlign() const
Return the text alignment.
 
virtual Font_t GetTextFont() const
Return the text font.
 
virtual Color_t GetTextColor() const
Return the text color.
 
virtual Float_t GetTextAngle() const
Return the text angle.
 
virtual void SaveTextAttributes(std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1)
Save text attributes as C++ statement(s) on output stream out.
 
Option_t * GetOption() const
 
To draw Mathematical Formula.
 
void Add(TObject *obj) override
 
TObject * First() const override
Return the first object in the list. Returns 0 when list is empty.
 
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
 
Mother of all ROOT objects.
 
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
 
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
 
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
 
static void SavePrimitiveConstructor(std::ostream &out, TClass *cl, const char *variable_name, const char *constructor_agrs="", Bool_t empty_line=kTRUE)
Save object constructor in the output stream "out".
 
@ kCanDelete
if object in a list can be deleted
 
The most important graphics class in the ROOT system.
 
Short_t GetBorderMode() const override
 
virtual void HideToolTip(Int_t event)
Hide tool tip depending on the event type.
 
Double_t fWNDC
Width of pad along X in Normalized Coordinates (NDC)
 
Bool_t IsEditable() const override
 
Double_t fX2
X of upper X coordinate.
 
void PaintModified() override
Traverse pad hierarchy and (re)paint only modified pads.
 
void SetEditable(Bool_t mode=kTRUE) override
Set pad editable yes/no If a pad is not editable:
 
const char * GetTitle() const override
Returns title of object.
 
Double_t fX1
X of lower X coordinate.
 
TList * GetListOfPrimitives() const override
 
void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Set world coordinate system for the pad.
 
Double_t fY1
Y of lower Y coordinate.
 
Double_t fYlowNDC
Y bottom left corner of pad in NDC [0,1].
 
Bool_t fModified
Set to true when pad is modified.
 
void Update() override
Update pad.
 
TCanvas * fCanvas
! Pointer to mother canvas
 
void Modified(Bool_t flag=true) override
Mark pad modified Will be repainted when TCanvas::Update() will be called next time.
 
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
 
Short_t GetBorderSize() const override
 
Int_t fLogx
(=0 if X linear scale, =1 if log scale)
 
Int_t YtoAbsPixel(Double_t y) const override
Convert Y coordinate to absolute pixel.
 
TList * fPrimitives
->List of primitives (subpads)
 
TCanvas * GetCanvas() const override
 
void Paint(Option_t *option="") override
Paint all primitives in pad.
 
Int_t fLogy
(=0 if Y linear scale, =1 if log scale)
 
Double_t fHNDC
Height of pad along Y in Normalized Coordinates (NDC)
 
Double_t fXlowNDC
X bottom left corner of pad in NDC [0,1].
 
Double_t fY2
Y of upper Y coordinate.
 
@ kFraming
Frame is requested.
 
Int_t XtoAbsPixel(Double_t x) const override
Convert X coordinate to absolute pixel.
 
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
 
R__ALWAYS_INLINE bool HasBeenDeleted(const TObject *obj)
Check if the TObject's memory has been deleted.