diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-04 12:23:15 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-04 12:23:15 (GMT) |
commit | 72a4aa6fe217d3a3d838dd8a7fcb67d17672ae7c (patch) | |
tree | 5c938e58fa0d7428ed5d9b665af7f6977c21e463 /shell/view/home/HomeBox.py | |
parent | 1f8ff1db1fddbf60fc776c484b980d8926c44538 (diff) |
Reimplement the donut using hippo canvas
Diffstat (limited to 'shell/view/home/HomeBox.py')
-rw-r--r-- | shell/view/home/HomeBox.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/view/home/HomeBox.py b/shell/view/home/HomeBox.py new file mode 100644 index 0000000..e4409fd --- /dev/null +++ b/shell/view/home/HomeBox.py @@ -0,0 +1,11 @@ +import hippo + +from view.home.activitiesdonut import ActivitiesDonut + +class HomeBox(hippo.CanvasBox): + def __init__(self, shell): + hippo.CanvasBox.__init__(self, background_color=0xe2e2e2ff, + yalign=2) + + donut = ActivitiesDonut(shell, box_width=300, box_height=300) + self.append(donut) |