Ok, I've been poking the graph example today and find the toolkit to be
extremely useful. The documentation is clean, clear and easy to navigate
(I'm a fan of doxygen) which has mean I've already managed to get a pretty
decent web page out of Wt. I am having a few issues though with a toggle
button I'm trying to add. The web page disappears when I compile in the
button without any errors or warnings. Is there anyway to get some debug
output?
The code in question is this:
75 ChartConfig::ChartConfig(WCartesianChart *chart, WContainerWidget
*parent)
76 : WContainerWidget(parent),
77
chart_(chart),
78 fill_(MinimumValueFill)
79 {
80
81 auto_update = new Button("Auto Update", this); //With this line in
the webpage is blank
82 auto_update->setCheckable(true);
83
auto_update->setChecked(true);
84 auto_update->clicked.connect(SLOT(this, ChartConfig::update));
Regards,
James
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest