look in $ROOTSYS/test/guitest.cxx. The class is called TRootEmbeddedCanvas().
To see it work click on menu item test/dialog. The click tab 3 and "start...".
Try resizing the window while filling. It seems like it is multi-threaded :-).
Cheers, Fons.
Ulrich Jost wrote:
>
> Hi,
>
> I'd like to include a TCanvas into root gui stuff. There are several
> questions like this one in the talk digest, but the resumee seems that
> an easy interface was promised one year ago, however I couldn't find it.
> What is the current state of the art of doing this?
>
> Thanks, Ulrich
-- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910