question on TCanvas::HandleInput

Pasha Murat (murat@cdfsga.fnal.gov)
Thu, 2 Oct 1997 01:09:45 GMT


Hello ROOT developers,

is it intentional that TCanvas::HandleInput doesn't have a default for
an X/Win event? Right now if an event is different from a small number
of events generated by mouse (press-left-button, move mouse, release-left-button
etc) TCanvas::HandleInput just returns. For example it is not possible to
process a keyboard hit...

It might make sense (of course, if it doesn't interfere with anything)
to have a default processing of X/Win event which would just pass this event
to the picked object ExecuteEvent method. Then it would be a selected object
(and not a canvas itself) which decides what to do with this event.

I'd expect a lot of (potential) users would like to use this feature.

Regards, Pasha.