Re: Clutter Clone not displaying

2012-05-14 Thread Emmanuele Bassi
On 2012-05-14 at 13:50, Emmanuele Bassi wrote: > On 2012-05-14 at 13:38, Lionel Landwerlin wrote: > > On Mon, 2012-05-14 at 22:30 +1000, Amy C wrote: > > > > /* create a clone of the rectangle */ > > > let clone = new Clutter.Clone(rect); > > > > replace previous line by : > > > > let clone = ne

Re: Clutter Clone not displaying

2012-05-14 Thread Emmanuele Bassi
On 2012-05-14 at 13:38, Lionel Landwerlin wrote: > On Mon, 2012-05-14 at 22:30 +1000, Amy C wrote: > > /* create a clone of the rectangle */ > > let clone = new Clutter.Clone(rect); > > replace previous line by : > > let clone = new Clutter.Clone({ source: rect }); > > > clone.set_position(100,

Re: Clutter Clone not displaying

2012-05-14 Thread Amy C
>> /* create a clone of the rectangle */ >> let clone = new Clutter.Clone(rect); > > replace previous line by : > > let clone = new Clutter.Clone({ source: rect }); > D'oh! Thanks, that works perfectly :) ___ clutter-app-devel-list mailing list clutter-ap

Re: Clutter Clone not displaying

2012-05-14 Thread Lionel Landwerlin
On Mon, 2012-05-14 at 22:30 +1000, Amy C wrote: > Hi all, > > I've successfully made a Clutter.Texture & displayed it, and am trying > to now make a Clutter.Clone of it and display that. > However, the Clutter.Clone does not appear on the window (the Texture does). > > Here is a minimal working e