Click (GDK_BUTTON_PRESS & _RELEASE) in GDK



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]