11 kText_Text = 0, kText_Xpos, kText_Ypos, kText_Angle, kText_Size
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 const char * GetTitle() const
Returns title of object.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
ClassImp(TTextEditor) enum ELatexID
virtual Float_t GetTextAngle() const
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 void SetNumber(Double_t val)
virtual Float_t GetTextSize() const
void DoText(const char *)
Slot for setting the text string.
void DoAngle()
Slot for setting the text Angle.
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)
void DoXpos()
Slot for setting the text X position.
TTextEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
TTextEditor constructor.
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.
virtual UInt_t GetDefaultHeight() const
virtual void SetY(Double_t y)
virtual Double_t GetNumber() const
void DoSize()
Slot for setting the text Size.
virtual void SetTextSize(Float_t tsize=1)
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="")
Change (i.e. set) the title of the TNamed.
virtual void MakeTitle(const char *title)
Create attribute frame title.