On Fri, 2007-12-14 at 14:17 +0100, Murray Cumming wrote:
> On Fri, 2007-12-14 at 11:51 +0000, Emmanuele Bassi wrote:
> > this would become needlessly complicated if we passed the same function
> > and then the same timeline, for instance (fantasy code, it will not be
> > implemented):
> > 
> >   timeline = clutter.Timeline(duration=1000)
> > 
> >   pathb = clutter.BehaviourPath(timeline, clutter.ramp_inc_func, knots)
> >   depthb = clutter.BehaviourDepht(timeline, clutter.ramp_inc_func, -100,
> > 100)
> 
> I actually prefer this public API (and for effects too), but I guess
> it's just a personal preference. Thanks anyway.

Just for annoying completeness: A big reason that I'd prefer it is
because I don't imagine that people ever really want to use the same
timeline+alpha with more than one behaviour.

-- 
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to