From dd7442a0faf94db7279c58bf8875be462f4bab0e Mon Sep 17 00:00:00 2001 From: David Farning Date: Fri, 19 Sep 2008 19:00:00 -0500 Subject: [PATCH] API docstring update from pydocweb --- src/sugar/graphics/entry.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)