thanks, Nagev, I will try that

On Tue, Dec 25, 2012 at 4:22 PM, Nagaev Boris <bnag...@gmail.com> wrote:

> Hello!
>
> propagateSetEnabled seems to be widget-specific protected
> implementation of setDisabled().
>
> To pass event from parent widget to childred widget, connect parent's
> signal to a function which would emit child's signal:
>
> void emit_child(WMouseEvent& event) {
>   child->clicked().emit(event)
> }
> parent->clicked().connect(boost::bind(emit_child));
>
> I still can't provide a way of how to distinguish normal parent's
> event from child's event. Maybe JavaScript magic can be used for this.
>
> On Tue, Dec 25, 2012 at 2:03 PM, Mohammed Rashad
> <mohammedrasha...@gmail.com> wrote:
> > Can somebody explain Wt::WInteractWidget::propagateSetEnabled
> >
> > Is this to propogate event from parent to children?
> >
> > Is there something like that in Wt?
> >
> > --
> > 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
>



-- 
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

Reply via email to