How to get kButton3... in TObject::ExecuteEvent

From: Nesterov Stanislav <qleap_at_pnpi.spb.ru>
Date: Tue, 15 Nov 2005 20:23:04 +0300 (MSK)


Hello Rooters,

I've encounter problem when I tried to get event kButton3Down and kButton3Double in my class in ExecuteEvent() method. I've looked through the TCanvas.cxx (HandleInput) and have found out that it is really not supposed to work.
Can you please tell me the right way to get this button to be passed to my object?

For now I have to use ProcessedEvent() signal to get an access. But still it works only for the kButton3Down, but there is no kButton3Double event at all. (So far I do get double click if I use kButton3Up - but I think that is not right!)

The disatvantage of the ProcessedEvent() signal connection for me that I have to connect TCanvas every time for all existing objects.

Hope you can help,

--
	Best regards,
Stanislav.
Received on Tue Nov 15 2005 - 18:31:02 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET