Expose ItemSimple internal bounds to the API

Bug #81992 reported by Dominique Würtz
2
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.

Revision history for this message
Gustavo Carneiro (gjc) wrote :

Wrapped as bounds_x1,x2,y1,y2 attributes.

Changed in pygoocanvas:
status: Unconfirmed → Fix Committed
Revision history for this message
Dominique Würtz (housirer) wrote : Re: [Bug 81992] Re: Expose ItemSimple internal bounds to the API

Now that was fast, thank you!

Dominique

Gustavo Carneiro schrieb:
> Wrapped as bounds_x1,x2,y1,y2 attributes.
>
> ** Changed in: pygoocanvas (upstream)
> Status: Unconfirmed => Fix Committed
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.