View Single Post
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#275
Originally Posted by nicolai View Post
I am not quite sure how this is done by the stock camera-ui,
but I will try to implement this.

Nicolai
Use the clicked() signal instead of released() (Whatever their equivalent in Gtk is).

If they're not buttons (or don't have a clicked() signal), look at http://gitorious.org/qt-mediaplayer/...iew.cpp#line42 I'm pretty sure the same can be done with Gtk and GdkEvent.
 

The Following 7 Users Say Thank You to MohammadAG For This Useful Post: