Re: Right mouse clicks



On Thu, 2002-06-13 at 16:08, Sven Neumann wrote:
> 
> I don't think connecting to button_release is sufficient to reliably
> detect a mouse-click. You'd want to connect to "button_press" as well
> and assure that the release comes from the same window as the last
> press. This is the method GTK+ uses when emitting "clicked" signals.
> Jarek probably asked for similar signals for middle and right mouse
> button clicks.

Yes, that's exactly the problem. Connecting only the button release
signal is not sufficient for detecting "real" clicks.

-- 
struct Sig {
  string name("     J a r e k   D u k a t     ");
  string mail(" madmaxer (at) poczta (dot) fm ");
};


----------------------------------------------------------------------
Kto zostanie mistrzem? Typuj wyniki MS 2002! Wygraj DVD!
>>> http://link.interia.pl/f15ef





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]