canvas item collisions
- From: "J.W. Bizzaro" <bizzaro geoserve net>
- To: "gnome-devel-list gnome org" <gnome-devel-list gnome org>
- Subject: canvas item collisions
- Date: Sat, 27 Nov 1999 01:53:20 +0000
>From what I have gathered, this feature doesn't exist. But I'll ask anyway.
Is there an event for canvas item collisions? For example, the first item
goes from not contacting the second item, to then contacting it. It would be
akin to the mouse_over event.
The only work-around I've come up with is to (1) hide the first item, (2)
probe its bounds with get_item_at, and (3) see what's there. It's kind of
clumsy though, and an event would allow me to pass parameters, etc.
P.S. I'm not making something where I need sprites, so I'd like to stick with
the standard canvas.
Thanks.
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]