diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-09 23:14:24 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-09 23:14:24 (GMT) |
commit | 279ebda451f69edb862aec7590507ee10d65af84 (patch) | |
tree | 4edb6f95a37c137b09bdbb0f5c5ac33be11855d1 /tests/test-snowflake-box.py | |
parent | 7fa1b02a8254609aeff5f33999b52662e820b492 (diff) |
Fix children counting
Diffstat (limited to 'tests/test-snowflake-box.py')
-rwxr-xr-x | tests/test-snowflake-box.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/test-snowflake-box.py b/tests/test-snowflake-box.py index cdafce6..8c0c2fa 100755 --- a/tests/test-snowflake-box.py +++ b/tests/test-snowflake-box.py @@ -40,9 +40,15 @@ canvas = hippo.Canvas() root_box = hippo.CanvasBox(background_color=0xe2e2e2ff) canvas.set_root(root_box) -box = SnowflakeBox() -snow_flake = _create_snowflake(box, 30) -root_box.append(box) +box1 = SnowflakeBox() +snow_flake = _create_snowflake(box1, 30) +root_box.append(box1, hippo.PACK_FIXED) +root_box.move(box1, 0, 0) + +box2 = SnowflakeBox() +snow_flake = _create_snowflake(box2, 10) +root_box.append(box2, hippo.PACK_FIXED) +root_box.move(box2, 400, 0) canvas.show() window.add(canvas) |