Click (GDK_BUTTON_PRESS & _RELEASE) in GDK
- From: "Vassilios V . Dimakopoulos" <dimako cs uoi gr>
- To: "gtk-app-devel-list @ gnome . org" <gtk-app-devel-list gnome org>
- Subject: Click (GDK_BUTTON_PRESS & _RELEASE) in GDK
- Date: Mon, 18 Dec 2000 10:47:08 +0200
Hi all!
Here is my problem:
I am drawing objects on a drawing area and process GDK_BUTTON_PRESS and
GDK_BUTTON_RELEASE events in it; however I would like to have a third type
of event like "BUTTON_CLICK" (_PRESS immediately followed by a _RELEASE).
For example, "_CLICK" would just select an object, while _PRESS would
start moving an object till a _RELEASE is encounterd.
It there a simple way to do this?
Vassilis.
--
VASSILIOS V. DIMAKOPOULOS Office: +30-651-98809
Department of Computer Science Fax: +30-651-98890
University of Ioannina E-mail: dimako cs uoi gr
P.O.Box 1186, Ioannina WWW: http://www.cs.uoi.gr/~dimako
GR-45110 Greece ............................
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]