Okay,

this worked for me ...

layout1 = new BinLayout(Clutter.BinAlignment.CENTER,
Clutter.BinAlignment.CENTER);

box = new Box(layout1);

Text item = new Text();
item.set_text("Hello World");
item.set_color(Color.from_string("white"));
item.set_opacity(255);

Rectangle rect = new Rectangle();
rect.set_color(Color.from_string("red"));
rect.set_size(100, 100);
rect.set_opacity(255);

box.add(rect);
box.add(item);


-- 
Duff
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to