Project

General

Profile

Bug #1698 » testtab.cpp

Max Quatember, 02/14/2013 08:46 AM

 
class TestTab
: public Wt::WApplication
{
public:
TestTab( const Wt::WEnvironment& env )
: Wt::WApplication( env )
{
setCssTheme( "polished" );
Wt::WTabWidget* w = new Wt::WTabWidget( root() );
w->resize( 500, 500 );
for( int i = 0; i < 3; ++i )
{
w->addTab( new Wt::WText( "xx" ), "xx" );
w->setTabCloseable( i, true);
}
}
};
(2-2/2)