Problem Drawing within TButton

From: Dylan Maxwell <>
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:

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


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

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