Re: pick objects

Rene Brun (Rene.Brun@cern.ch)
Thu, 10 Jun 1999 07:02:29 +0000


Dmitri Litvintsev wrote:
>
> Dear Rooters,
>
> Is it possible to switch off the ability of the object
> to be picked with mouse? Sometimes it very useful.
>

Hi Dmitri,
see URL: http://root.cern.ch/root/HowtoPick.html
To disable picking, you should add a user option to your
DistancetoPrimitive
function and return a large value.

In version 2.22/05, I have added the possibility to disable picking
for a given object obj.

Rene Brun