From 72a4aa6fe217d3a3d838dd8a7fcb67d17672ae7c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 04 Oct 2006 12:23:15 +0000 Subject: Reimplement the donut using hippo canvas --- (limited to 'shell/view/home/HomeBox.py') 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) -- cgit v0.9.1