Re: [ROOT] Interactive canvas

From: Valeriy Onuchin (Valeri.Onoutchine@cern.ch)
Date: Mon Oct 13 2003 - 13:37:31 MEST


 Hi Antoni Munar Ara,
check http://root.cern.ch/root/rqex/rqfiller.C

HTH. Regards. Valeriy


munar wrote:
> 
> Dear Rooters..
> 
> I need to write a GUI for a detector. I need to create a canvas with an
> schematic representation of the detector (let say a collection of
> triangles) and with the mouse able to click on each triangle and pop
> another canvas with menus and so on.. I need to be a canvas so I can
> change the color of the triangles for example..
> 
> so far I have found something similar using TGImageMap, but I need to be a
> canvas so I can change its aspect in a interactive way... some one can
> send me a pair of lines of code with an example...??
> 
> cheers,
> 
> ###################################################
> Antoni Munar Ara
> Department of Physics and Astronomy
> David Rittenhouse Laboratory
> 209 South 33-rd Street
> Philadelphia, PA (USA)
> 19104-6396



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET