Context menu for classes derived from TH1

Hello!
I created a class derived from TH1D and overridden the “Rebin” method. But in the context menu of the derived class, this method disappeared. How can I get it back?

_ROOT Version:_6.29/01
_Platform:_amd64
Compiler: linuxx8664gcc


As it is a GUI question, @bellenot is the best person to ask.

Hi,

Did you mark your method with // *MENU* comments? Like:

 virtual void SetTitleSize(Float_t size=0.04); // *MENU*

Is dictionary generated for your class?

Oh, yes! " // *MENU*" solved this problem. Many thanks!