Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/graphics/toolbar.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-07 17:26:39 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-02-07 17:26:39 (GMT)
commit7e324af1797a21576a54be290198721d405f744a (patch)
treeb10e7d7127d1547087488730c10462beeb427216 /sugar/graphics/toolbar.py
parent5d57b261eeb4f9cb70722bc4d6f95c1b1bd89d61 (diff)
Added toolbar and button controls.
Diffstat (limited to 'sugar/graphics/toolbar.py')
-rw-r--r--sugar/graphics/toolbar.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/sugar/graphics/toolbar.py b/sugar/graphics/toolbar.py
new file mode 100644
index 0000000..5cd0f65
--- /dev/null
+++ b/sugar/graphics/toolbar.py
@@ -0,0 +1,9 @@
+import gobject
+import hippo
+
+class Toolbar(hippo.CanvasBox):
+ __gtype_name__ = 'Toolbar'
+
+ def __init__(self, orientation=hippo.ORIENTATION_HORIZONTAL):
+ hippo.CanvasBox.__init__(self, orientation=orientation,
+ background_color=0x414141ff)