I am having trouble retrieving the WMouseEvent in a slot. The following works
for me:
this->mouseWentDown.connect( SLOT(this, DDGroupSelector::slotMouseWentDown)
);
...
void DDGroupSelector::slotMouseWentDown()
{
// SET THE BUTTONS STATE
update();
}
However, what I really want is this
void DDGroupSelector::slotMouseWentDown(const Wt::WMouseEvent & e)
{
// do something with the mouse coordinates.
//
update();
}
I suspect I need this type of slot:
template<typename E>
template<class T, class V>
boost::signals::connection Wt::EventSignal< E >::connect ( T *
target,
void(V::*)() method
)
But I am having trouble with the syntax. Any help would be appreciated.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest