TBrowser custom action on 'click'

when I’m browsing an object with TBrowser it calls the Draw() function for canvases, and Browse() for other object when I click the object. Thats fine for canvases and directories by for other object it would be nice to change this behavior. E.g. for a RooRealVar it would be nice to call Print(). I specified the Print() action for RooRealVars in root.mimes but it seems that TBrowser simply ignores the action in this file (custom icons are working). Is it possible to tell TBrowser what to do on specific objects?

Best regards,


Hi Peter,

This has been (re-)implemented in git master and in v5-34-00-patches.Thanks for the feedback!

Cheers, Bertrand.