[ROOT] Retrive text from a TGTextEdit...

From: Andreas Zoglauer (zog@mpe.mpg.de)
Date: Mon May 27 2002 - 13:22:28 MEST


Hello!

Is there a reason why in TGTextEdit no function like

TString TGTextEdit::GetText()
  ( or alternatively: GetString() )
void TGTextEdit::SetText(TString Text)
  ( or alternatively: SetString(const TString& Text) )

exists?

If one wants to retrive the whole text as a string one has to
  (a) get the TGText*
  (b) compose the string by adding all the lines of the TGText

Isn't there any easier way?


Andreas


----------------------------------------------------------------------
Andreas Zoglauer

MPI fuer extraterrestrische Physik         Phone:    +49/89-30000-3848
Postfach 1312                              Fax:      +49/89-30000-3569
85741 Garching, Germany                    Email:    zog@mpe.mpg.de
----------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:54 MET