API docstring update from pydocweb

This commit is contained in:
David Farning 2008-09-19 19:00:00 -05:00
parent d16334a042
commit dd7442a0fa

View File

@ -20,6 +20,16 @@ import hippo
class CanvasEntry(hippo.CanvasEntry):
def set_background(self, color_spec):
"""
Parameters
----------
color_spec :
Returns
-------
None
"""
color = gtk.gdk.color_parse(color_spec)
self.props.widget.modify_bg(gtk.STATE_INSENSITIVE, color)
self.props.widget.modify_base(gtk.STATE_INSENSITIVE, color)