Hi all, I would like to customize TAxis so to add a method to the popup menu and to execute a given function when a zoom (or unzoom) is done. The problem is that TAxis is owned by a TH1 and I cannot force this TH1 to change it's axis object for my private version of it. 1) is there a way to add a function to the popup menu without touching the class ? It seems not, but one never knows. I tried to see if I could implement it with signal/slot but no way. 2) is it possible that a zoom or unzoom action on a TAxis sends a signal ? It seems not since TAxis does not derive from TQObject 3) can I replace the TAxis used in TH1 with my version which would of course derive from TAxis ? Did I miss something obvious ? Cheers Damir -- ===================================================================== | Damir Buskulic | Universite de Savoie/LAPP | | | Chemin de Bellevue, B.P. 110 | | Tel : +33 (0)450091600 | F-74941 Annecy-le-Vieux Cedex | | e-mail: buskulic@lapp.in2p3.fr | FRANCE | ===================================================================== mailto:buskulic@lapp.in2p3.fr
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET