Koen, I tried to update the reference, but did not work.
Source: (line 146) https://gitorious.org/wt/tests/blobs/master/WStackedWidget/test.cpp See: http://wt.zyns.com:10100/ Tks, John On 06/21/2011 10:23 AM, Koen Deforche wrote: > Hey John, > > 2011/6/15 John Robson <[email protected]>: >> Hello everyone, >> >> I'm loading some Deferred Pages in WStackedWidget and I would like to >> know how do I update them every time I click on the link. >> >> Image: http://imagebin.org/158427 >> >> Code: https://gitorious.org/wt/tests/blobs/master/wt/WStackedWidget/test.cpp > > You should listen to a suitable event (e.g. menu->itemSelected() or > app->internalPathChanged()), locate the widget you want to modify, and > update it. > > Locating the widget may be done by keeping a variable reference to it > when you create it, or, by assigning it a unique object name, e.g. > setObjectName("home"), and using app->root().find("home") to find it. > > Regards, > koen ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
