Project

General

Profile

Bug #842 ยป TestToolTip.cpp

Max Quatember, 05/30/2011 04:37 PM

 
namespace
{
class TestToolTip
: public Wt::WApplication
{
public:
TestToolTip( const Wt::WEnvironment& env )
: Wt::WApplication( env )
{
Wt::WLabel* w = new Wt::WLabel( "hover to show tip", root() );
w->resize( 500, 500 );
std::string s;
for( int i = 0; i < 50; ++i )
s += boost::lexical_cast< std::string >( i ) + " xxx\r\n";
w->setToolTip( s );
}
};
}
    (1-1/1)