sugar-toolkit-gtk3/sugar/graphics/toolbar.py
2007-03-20 12:01:01 +01:00

15 lines
531 B
Python

import gobject
import hippo
from sugar.graphics import units
class Toolbar(hippo.CanvasBox):
__gtype_name__ = 'Toolbar'
def __init__(self, orientation=hippo.ORIENTATION_HORIZONTAL):
hippo.CanvasBox.__init__(self, orientation=orientation,
background_color=0x414141ff,
box_height=units.grid_to_pixels(1),
padding_left=units.grid_to_pixels(1),
padding_right=units.grid_to_pixels(1))