117 :
TPad(
name,title,0.1,0.1,0.9,0.9,color,bordersize,bordermode)
163 out<<
"slider = new TSlider("<<quote<<
GetName()<<quote<<
", "<<quote<<
GetTitle()<<quote
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 y1
virtual Color_t GetFillColor() const
Return the fill area color.
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 void SetX1(Double_t x1)
TObject * FindObject(const char *name) const override
Find an object in this list using its name.
void Add(TObject *obj) override
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.
@ kCanDelete
if object in a list can be deleted
The most important graphics class in the ROOT system.
Short_t GetBorderMode() const override
Double_t fAbsWNDC
Absolute Width of pad along X in NDC.
const char * GetTitle() const override
Returns title of object.
void SetPad(const char *name, const char *title, Double_t xlow, Double_t ylow, Double_t xup, Double_t yup, Color_t color=35, Short_t bordersize=5, Short_t bordermode=-1) override
Set all pad parameters.
void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Set world coordinate system for the pad.
Double_t PixeltoX(Int_t px) override
Convert pixel to X coordinate.
void Modified(Bool_t flag=true) override
Mark pad modified Will be repainted when TCanvas::Update() will be called next time.
Double_t fAbsHNDC
Absolute Height of pad along Y in NDC.
Short_t GetBorderSize() const override
TList * fPrimitives
->List of primitives (subpads)
Double_t GetXlowNDC() const override
Double_t GetYlowNDC() const override
Double_t PixeltoY(Int_t py) override
Convert pixel to Y coordinate.
Double_t GetWNDC() const override
Get width of pad along X in Normalized Coordinates (NDC)
Double_t GetHNDC() const override
Get height of pad along Y in Normalized Coordinates (NDC)
const char * GetName() const override
Returns name of object.
The moving box in a TSlider.
void SetSlider(TSlider *slider)
A specialized TPad including a TSliderBox object.
TSlider()
slider default constructor.
virtual const char * GetMethod() const
Double_t fMaximum
Slider maximum value in [0,1].
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
~TSlider() override
slider default destructor.
virtual void SetRange(Double_t xmin=0, Double_t xmax=1)
Set Slider range in [0,1].
Double_t fMinimum
Slider minimum value in [0,1].
TString & ReplaceSpecialCppChars()
Find special characters which are typically used in printf() calls and replace them by appropriate es...