Actually I have two problems:
        1. the width_units of a rectangle are calculated in some manner 
indeterminable by me.  polygons on the other hand are fine.  That is, 
the rendered canvas items have an outline that is about 10x what it 
should be.

        2. to work around the above, I changed my rectangles to 
polygons. The canvas items have a fill_color of 'None'.  some other 
canvas items which are lower than the previously mentioned polygons 
never get events.

Perhaps an ASCII example will help


        PPPPPPP
        P     P
        P   RRPRRRRR
        P   R P    R
        P   R P    R
        P   RRPRRRRR
        P     P
        PPPPPPP

R is lower than P, if the mouse enters R from the right edge, the event 
is delivered to my app, however if the mouse enters R from the left 
edge, that is through P, the event is not delivered.  If I change the 
polygon P to a rectangle I do get the events on R as expected.

Hope that is not too confusing.

this should be pygtk 0.6.8, pygnome 1.4.1 sources built on python 2.1.

Problem #1 doesn't occur on a box with python 1.5 and the above 
packages installed from Ximian RPMs.

Thanks,
-- 
Steve McClure                   430 10th St NW
Racemi                          Suite N-210
http://www.racemi.com           Atlanta, GA 30318
[EMAIL PROTECTED]             voice/fax: 404-892-5850


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to