Events in GnomeCanvas
- From: Loban Rahman <loban enigma caltech edu>
- To: gnome-list gnome org
- Subject: Events in GnomeCanvas
- Date: Thu, 24 Feb 2000 23:35:40 -0800
Question 1:
When I click a mouse button (ie. press and release), shouldn't the events
generated by a GDK_BUTTON_PRESS and then a GDK_BUTTON_RELEASE? Instead, I'm
getting one GDK_MOTION_NOTIFY in between them each time I clicked. This is
happening on a GnomeCanvas.
Question 2:
I have a GnomeCanvasPixbuf item on a GnomeCanvas. The item has transparent
areas. Now, when using this, it seems that the transparent areas generate
no events (in particular GDK_MOTION_NOTIFY) when the mouse is over them.
But the non-transparent areas do generate events. However, if I press the
mouse button on a non-transparent area, and then drag it to a transparent
area with the button still down, the transparent areas start generating
GDK_MOTION_NOTIFY events. Is this inconsistency on purpose? And if so, why?
Question 3:
Why does GnomeCanvas kick so much ass? ;-)
= L
/-------------------------------------------------------------------\
| LOBAN AMAAN RAHMAN <-- anagram of --> AHA! AN ABNORMAL MAN! |
| MSC #763, Caltech, Pasadena, CA 91126, USA. Tel: 1-626-395-1407 |
| loban@earthling.net, loban@caltech.edu, http://i.am/loban |
\-------------------------------------------------------------------/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]