API docstring update from pydocweb
This commit is contained in:
parent
d16334a042
commit
dd7442a0fa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user