Canvas Toolbar code


I was wondering if the code for the toolbar used in TCanvas is available somewhere. I tried to follow the class code for TCanvas which led me to the class TCanvasImp, but from there, I wasn’t able to find the toolbar code. I would like to duplicate the TCanvas toolbar but also customize it so I was hoping to follow the original canvas toolbar model.



Look in gui/gui/src/TRootCanvas.cxx

Cheers, Bertrand.

Maybe the TGToolBar class.

Thank you!