[maemo-developers] how to catch mouse event in maemoMM?
From: chunlong yu chunlong84 at gmail.comDate: Fri Apr 24 10:10:42 EEST 2009
- Previous message: Unrecognized Option in ARM Build for Fremantle
- Next message: Maemo replacements for GTK_STOCK_* icons
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I write such code in maemo:
MyWindow::MyWindow(void)
{
signal_button_press_event().connect(sigc::mem_fun(*this,
&MyWindow::on_button_press_event),false);
signal_button_release_event().connect(sigc::mem_fun(*this,
&MyWindow::on_button_release_event),false);
}
bool MyWindow::on_button_press_event (GdkEventButton* event)
{
....................
return true;
}
bool MyWindow::on_button_release_event(GdkEventButton* event)
{
...........................
return true;
}
but I can't catch mouse press and release event, why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090424/996636f2/attachment.htm
- Previous message: Unrecognized Option in ARM Build for Fremantle
- Next message: Maemo replacements for GTK_STOCK_* icons
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
