[maemo-developers] Disable system click for an application?

From: Tarantism tarantism at ntlworld.com
Date: Wed Mar 23 23:27:41 EET 2011
On Wed, 2011-03-23 at 10:31 +0200, Kimmo Hämäläinen wrote:
> On 03/23/11 00:30, ext Tarantism wrote:
> > I'd like to disable the system touch screen click for my application.
> The best way depends on your application.  Do you use GTK/Qt/pure-X or what?
I'm using Qt.

> In GTK, you could create a widget and call gtk_grab_add() for it
> to catch all mouse events (including taps on the screen).

Following your suggestion, I've tried calling the event accept method in
the relevant mousePressEvent handler and also in the MainWindow widget
handler but I still get clicks. Any clues?

More information about the maemo-developers mailing list