Expose ItemSimple internal bounds to the API
Bug #81992 reported by
Dominique Würtz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygoocanvas |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
I'd like to subclass ItemSimple in order to create my custom canvas item. In the do_update() method, I need to access the "bounds" member variable of ItemSimple. Right now, the python bindings don't expose this member. Could you please change this?
I'm aware that I could implement a goocanvas.Item from scratch, but I think it's more sane to have ItemSimple take care of the boilerplate stuff.
To post a comment you must log in.
Wrapped as bounds_x1,x2,y1,y2 attributes.