Mohammed,

I don't think I properly understand your question.

If you have a listener on a parent and a child,and click on the child, both
parent and child will receive the event. If you want only the child to
receive the event, you should call EventSignalBase::preventPropagation() on
the child's event.

If you click on the parent outside of the child, then the parent gets the
event and the child obviously not.

If you want to pass the event of a parent to a child, then I would expect
that in the parent's event handler, you call a method of the child widget.
I don't really understand what you mean by 'disable the event of the
parent'.

Best regards,
Wim.



2012/12/25 Mohammed Rashad <mohammedrasha...@gmail.com>

> Is there any way to disable the event of parent and pass it to child?
>
>
> On Tue, Aug 14, 2012 at 2:11 PM, Wim Dumon <w...@emweb.be> wrote:
>
>> Hello Mohammed,
>>
>> You will have to do this manually by calling the appropriate method of
>> the other widget in the event handler of the one that receives the
>> event.
>>
>> BR,
>> Wim.
>>
>> 2012/8/10 Mohammed Rashad <mohammedrasha...@gmail.com>:
>> > Hello,
>> >
>> > I have two widgets drawn on top of each other using positionScheme
>> absolute
>> >
>> > one is like a background and other is an overlay
>> >
>> > when I pan either of one i need both to be panned
>> >
>> > panning overlay should also pan the background and vice versa
>> >
>> > Any solutions?
>> >
>> > --
>> > Regards,
>> >    Rashad
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Live Security Virtual Conference
>> > Exclusive live event will cover all the ways today's security and
>> > threat landscape has changed and how IT managers can respond.
>> Discussions
>> > will include endpoint security, mobile security and the latest in
>> malware
>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> > _______________________________________________
>> > witty-interest mailing list
>> > witty-interest@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/witty-interest
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>
>
>
> --
> Regards,
>    Rashad
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to