Context Menu

Hi all.

I came up needing a functionality in the branches or histograms’ context menu, on the left panel of the TBrowser, something like “open in new canvas”, instead of creating new canvas, cd to it, and plot.

Is there any implementation of this functionality, or how should I start doing it?

Many thanks in advance


Maybe looking at $(ROOTSYS)/tutorials/gui/customContextMenu.C could help…

Cheers, Bertrand.