103 fText->
Connect(
"TextChanged(const char *)",
"TTextEditor",
this,
"DoText(const char *)");
104 fXpos->
Connect(
"ValueSet(Long_t)",
"TTextEditor",
this,
"DoXpos()");
105 fYpos->
Connect(
"ValueSet(Long_t)",
"TTextEditor",
this,
"DoYpos()");
106 fAngle->
Connect(
"ValueSet(Long_t)",
"TTextEditor",
this,
"DoAngle()");
107 fSize->
Connect(
"ValueSet(Long_t)",
"TTextEditor",
this,
"DoSize()");
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void ConnectSignals2Slots()
Connect signals to slots.
virtual void SetX(Double_t x)
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual Float_t GetTextAngle() const
Return the text angle.
virtual void SetNumber(Double_t val)
void DoText(const char *)
Slot for setting the text string.
void DoAngle()
Slot for setting the text Angle.
virtual Float_t GetTextSize() const
Return the text size.
void SetModel(TObject *)
Set model.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
TGCompositeFrame(const TGCompositeFrame &)
Base class for several text objects.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
void DoYpos()
Slot for setting the text Y position.
virtual void SetTextAngle(Float_t tangle=0)
Set the text angle.
void DoXpos()
Slot for setting the text X position.
virtual UInt_t GetDefaultHeight() const
TTextEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
TTextEditor constructor.
virtual Double_t GetNumber() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
~TTextEditor()
TTextEditor destructor.
Mother of all ROOT objects.
double f2(const double *x)
virtual void SetY(Double_t y)
void DoSize()
Slot for setting the text Size.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line...
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual const char * GetTitle() const
Returns title of object.