Drawing Area and Mouse Events
- From: "JOSE PEDRO SERGIO ROMAO MACHADO" <a15993 alunos det ua pt>
- To: gtk-app-devel-list gnome org
- Subject: Drawing Area and Mouse Events
- Date: Thu, 10 Jun 2004 15:15:59 +0100
Hi there!
I'm using gtk_window_new() and gtk_drawing_area_new()
functions to draw some pixbufs over a background.
Now I need to "click" with the mouse over this drawing
area, and I need to obtain the coordinates of the mouse
pointer at that spot to decide wich callback should I
call.
I think this kind of feature is not suported by GTK
itself. I'm I correct???
What functions must I use (GDK, Gnome, ...)???
Thanks in advance!
+-----------------------------------+
| José Pedro S. Romão Machado |
| (DET/LEET - Nº15993) |
+-----------------------------------+
| Universidade de Aveiro |
| Dep. de Elect. e Telecomunicações |
| (www.ua.pt) |
+-----------------------------------+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]