[Gtk-sharp-list] CanvasItems and event handling

Peter Johanson latexer@gentoo.org
Sun, 6 Jun 2004 12:17:27 -0400


--e5bfZ/T2xnjpUIbw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 06, 2004 at 11:24:55AM -0400, Peter Johanson wrote:
> Attached is a small sample demonstrating the current behavior. Idealy,
> we'd see a call from the C.WL in the handler for the rear item no matter
> where on the canvas your clicked, moved, etc. Thanks in advance.

To respond to my own question:

The events get passed to the CanvasItem.Parent, *not* just to the item
that may be behind them on the canvas. Problem solved once i realized
this was the case.

-pete

--=20
Peter Johanson
<latexer@gentoo.org>

Key ID =3D 0x6EFA3917
Key fingerprint =3D A90A 2518 57B1 9D20 9B71  A2FF 8649 439B 6EFA 3917

--e5bfZ/T2xnjpUIbw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAw0OXhklDm276ORcRAtzFAJ9wxTNeyX496sduh5MvBdEdgWIYcgCgnhKW
5CsfEe6qwVARTpuTn7jIwO4=
=+b1v
-----END PGP SIGNATURE-----

--e5bfZ/T2xnjpUIbw--