Hi Gora, TText is a TNamed. You can use SetTitle(const char* text) to set the text only. Rene Brun On Mon, 30 Sep 2002, Gora Mohanty wrote: > Hi, > Is there any reason why the TText::SetText() method takes x, y arguments > in addition to the text? This makes it impossible to calculate the text > coordinates in one place, and set the text in a different place. Could a > SetText(const char* text) method be added? As always, thanks for all the > great work on ROOT. I am using version 3.03.08 on a Linux x86 computer. > > Regards, > Gora >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:12 MET