'Create a new symbol widget.
:type canvas: Tkinter.Canvas
:param canvas: This canvas widget\'s canvas.
:type symbol: str
:param symbol: The name of the symbol to display.
:param attribs: The new canvas widget\'s attributes.'

def __init__(self, canvas, symbol, **attribs):

    attribs['font'] = 'symbol'
    TextWidget.__init__(self, canvas, '', **attribs)
    self.set_symbol(symbol)
