Re: [ROOT] ProcessMessage

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed Mar 12 2003 - 19:05:58 MET


The only way to know which object sent the message is to know the
mapping between widget id and widget (i.e. in ProcessMessage you know
the id of the widget that sent the message). Alternatively you can use
signal/slots and use gTQSender which points to the object having sent
the message.

-- Fons


On Wed, 2003-03-12 at 15:01, Marco Calvi wrote:
> Dear ROOTers,
>  
> I am using the GUI library, just one question: how can I know inside
> the ProcessMessage which was the object that sent the message?
>  
> Thanks
>  
> Marco Calvi
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET