Re: Porting to GTK+ 3



On Sun, 2010-06-13 at 15:26 +0200, Murray Cumming wrote: 
> On Fri, 2010-06-11 at 09:19 +0100, Damon Chaplin wrote:

> Shall we start a branch for this?

We could start a branch. I've removed most of the model/view split in my
code here.

The problem is agreeing on what should be in any new API...


> > The only small API change request is the get_bounds() function
> > signature. And I still don't really think that is worth doing.
> 
> This seems fairly harmless. May I apply it?
> https://bugzilla.gnome.org/show_bug.cgi?id=556145
> "Move child API into GooCanvasContainer"

I'm tempted to allow all items to have children, since sometimes this
can be handy, to quickly add things like drag handles. (QGraphicsView
allows this, I think.) I'm not sure yet though.


> And I still believe that this is the right thing to do (The goocanvasmm
> API already does this):
> https://bugzilla.gnome.org/show_bug.cgi?id=555097#c33
> "Common interface to position and resize items"

I still don't really like this. If you want to add those properties to your
own items you're welcome, but I'm not sure about forcing everyone to do that.

Plus we already have the transformation matrix which provides a common
interface to position items.

Damon




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