From 1e3633baf791e00e4a17c09d7c29dde9762d55ed Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 24 Jul 2006 09:01:25 +0000 Subject: Implement translation --- (limited to 'examples') diff --git a/examples/scene/scene.py b/examples/scene/scene.py index 7a6fcdb..b54c40c 100755 --- a/examples/scene/scene.py +++ b/examples/scene/scene.py @@ -33,6 +33,7 @@ pixbuf = gtk.gdk.pixbuf_new_from_file('background.png') stage.add(PixbufActor(pixbuf)) icons_group = Group() +icons_group.set_position(100, 100) i = 1 while i <= 5: @@ -55,7 +56,7 @@ drawing_area.show() window.show() -timeline = Timeline(stage, 300) +timeline = Timeline(stage, 200) timeline.connect('next-frame', __next_frame_cb, icons_group) timeline.connect('completed', __completed_cb, icons_group) timeline.start() -- cgit v0.9.1