add version info for background_color and foreground_color properties

This commit is contained in:
qua-non 2012-03-07 17:57:06 +05:30
parent bc07e6d43e
commit 8399784a75
1 changed files with 4 additions and 0 deletions

View File

@ -1133,6 +1133,8 @@ class TextInput(Widget):
background_color = ListProperty([1, 1, 1, 1])
'''Current color of the background, in (r, g, b, a) format.
.. versionadded:: 1.1.2
:data:`background_color` is a :class:`~kivy.properties.ListProperty`,
default to [1, 1, 1, 1] #White
'''
@ -1140,6 +1142,8 @@ class TextInput(Widget):
foreground_color = ListProperty([0, 0, 0, 1])
'''Current color of the foreground, in (r, g, b, a) format.
.. versionadded:: 1.1.2
:data:`foreground_color` is a :class:`~kivy.properties.ListProperty`,
default to [0, 0, 0, 1] #Black
'''