[Wt-interest] newbie question about slots

2008-09-12 Thread Jose M. Sanchez
Hi, I have different widgets created in a generic way with slots connected to the same method. How can I know which widget triggered the event? void Test::createWidgets() { WText *text1 = new WText(...); WText *text2 = new WText(...); WText *text3 = new WText(...);

Re: [Wt-interest] newbie question about slots

2008-09-12 Thread Pau Garcia i Quiles
Quoting Jose M. Sanchez [EMAIL PROTECTED]: Hi, I have different widgets created in a generic way with slots connected to the same method. How can I know which widget triggered the event? void Test::createWidgets() { WText *text1 = new WText(...); WText *text2 = new WText(...);

Re: [Wt-interest] newbie question about slots

2008-09-12 Thread bvh
On Fri, Sep 12, 2008 at 10:42:59AM +0200, Jose M. Sanchez wrote: Hi, I have different widgets created in a generic way with slots connected to the same method. How can I know which widget triggered the event? void Test::createWidgets() { WText *text1 = new WText(...); WText

Re: [Wt-interest] newbie question about slots

2008-09-12 Thread Koen Deforche
Hey Jose, 2008/9/12 Jose M. Sanchez [EMAIL PROTECTED]: Hi, I have different widgets created in a generic way with slots connected to the same method. How can I know which widget triggered the event? void Test::createWidgets() { WText *text1 = new WText(...); WText *text2 = new