diff --git a/src/sugar/graphics/entry.py b/src/sugar/graphics/entry.py index 95510e52..08ea3ca6 100644 --- a/src/sugar/graphics/entry.py +++ b/src/sugar/graphics/entry.py @@ -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)