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

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to