Re: dbclk event on Canvas?
- From: Federico Mena Quintero <federico nuclecu unam mx>
- To: simone bongo demon co uk
- CC: gnome-list gnome org
- Subject: Re: dbclk event on Canvas?
- Date: Wed, 27 Jan 1999 12:34:57 -0500
> Could someone tell me how to capture a double-click event on the
> canvas - I seem to be getting two GDK_BUTTON_PRESS events, rather than
> a single GDK_2BUTTON_PRESS?
When Gtk gets two clicks that are near enough to each other in time,
it sends something like
button_press
button_release
button_press
2button_press
button_release
So you should be getting the 2BUTTON_PRESS at some point. Do not
assume that this ordering will stay the same; it may change in the
future.
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]