Problem Drawing within TButton

From: Dylan Maxwell <Dylan.Maxwell_at_lightsource.ca>
Date: Tue, 2 Aug 2005 08:39:58 -0600


Hi Roottalk,

I want to draw a TLatex object within a TButton. As a first step I copied the example script from the TButton documentation and ran it. The result was not as described in the documentation. Instead of drawing a graph within the TButton pad, the script causes a new canvas to be created where the graph is then displayed.

I've attached a copy of the example script from: http://root.cern.ch/root/html404/TButton.html

I'm running ROOT v4.04/02 on Fedora Core 3.

Thanks.



Dylan Maxwell
Optics Metrology Lab,
Canadian Light Source Inc.,
Saskatoon, SK, Canada
Office: (306) 657-3598
Lab: (306) 657-3564
Fax: (306) 657-3535
Email: dylan.maxwell_at_lightsource.ca

Received on Tue Aug 02 2005 - 16:40:06 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET