Hi Brett, On Mon, 28 May 2001 09:17:46 -0400 (EDT) Brett Viren <bv@bnl.gov> wrote concerning ": Re: [ROOT] How to use TGImageMap?": > I found one problem: You have a wrong connection (Rt is very quiet > about connection errors). You need to change: > > > Connect("OnMouseOver(Int_t)", "MapTest", this, "DoOverRegion(Int_t)"); > Connect("DoubleClicked()", "MapTest", this, "DoMapClicked()"); > > to: > > fImageMap->Connect("OnMouseOver(Int_t)", "MapTest", this, "DoOverRegion(Int_t)"); > fImageMap->Connect("DoubleClicked()", "MapTest", this, "DoMapClicked()"); Doo, what a stupid mistake to make - sorry for bothering you with that. > However, the OnMouseOver(Int_t) signal still doesn't get to its > handler. I don't know why. Yeah, what gives? And the tooltips doesn't show up either - I can't see why. I think I'll go through Valeriy answer later tonight. Thanks for the help. Oh, ROOT team: What about an tutorial, Howto or something showing how to use TGImageMap? Maybe Valeriy example. Yours, Christian ----------------------------------------------------------- Holm Christensen Phone: (+45) 35 35 96 91 Sankt Hansgade 23, 1. th. Office: (+45) 353 25 305 DK-2200 Copenhagen N Web: www.nbi.dk/~cholm Denmark Email: cholm@nbi.dk
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:47 MET