Re: [ROOT] TContextMenu & items

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Aug 19 2002 - 20:05:44 MEST


Hi Rikard,

For your first question, see tutorials:
 $ROOTSYS/tutorials/customContextMenu.C
 $ROOTSYS/tutorials/customTH1Fmenu.C

I do not see what you mean by your second question.

Rene Brun


On Mon, 19 Aug 2002, Rikard Sandstrom wrote:

> I want to do something similar to the second picture on: 
> http://root.cern.ch/root/htmldoc/TContextMenu.html
> 
> It would help me much if I could see the code that has generated that
> picture. What I want to do is to remove a few (or all) of the default
> context menu items that show up when the right mouse button is clicked,
> and replace them with calls to my own methods and variabels. 
> 
> Another question is how to make the ToolTipText automatically disappear
> when mouse no longer is over the object, i.e. the same way it is displayed
> when the user moves the mouse over the object but the opposite. 
> 
> Cheers
> Rikard Sandström
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET