Re: Ideas for new API



On Wed, 2010-06-23 at 09:56 +0200, Murray Cumming wrote:
> On Mon, 2010-06-21 at 11:32 +0100, Damon Chaplin wrote:
> > o Allow all items to have children.
> >    This is a handy feature that I would have liked a few times.
> 
> What would this mean in practice? For instance, what happens if I add a
> child (or two) to a GooCanvasRect. I suspect that the effect is
> something arbitrary that nobody will want.

It would be similar to creating a group, then adding the rect and the
other items to the group.

The children would inherit the transformation of the parent rect, just
as they do from groups. But other than that it won't affect their
position.

(QGraphicsView has this feature.)

Damon




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]