I am encountering the same problem as 'fore mentionned.
The current release version 2.1.3 also has the problem with
the Wt::WTabWidget::currentChanged event does not seem
to get emitted. I have included a samlple of what i am trying
it out with

-------HEADER FILE--------------

#ifndef PLAYGROUND_H
#define PLAYGROUND_H
#include 
#include 
#include 

namespace wt_playground{
class Playground : public Wt::WContainerWidget{
        public:
                Playground( Wt::WContainerWidget* parent=0  );
                void tabActivated( int _current_tab );
        private:
                Wt::WTabWidget* tab_holder;
};
}//namespace
#endif


-------CPP FILE--------------

#include "playground.h"

namespace wt_playground {

Playground::Playground( Wt::WContainerWidget* parent )
:WContainerWidget( parent )
{
        tab_holder = new Wt::WTabWidget( this);
        tab_holder->addTab( new Wt::WContainerWidget() , "Sample tab A"  );
        tab_holder->addTab( new Wt::WContainerWidget() , "Sample tab B"  );
        tab_holder->currentChanged.connect( SLOT(this,Playground::tabActivated) 
);
}

void Playground::tabActivated( int _current_tab ){
        std::cout<<" TAB WAS ACTIVATED "<< _current_tab <
_________________________________________________________________


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to