Merge pull request #1182 from Zen-CODE/Doc_English_Improvements_40

doc: revisions to gettingstarted/properties.rst
This commit is contained in:
qua-non 2013-05-07 00:10:06 -07:00
commit ba5719f7f9

View File

@ -1,7 +1,7 @@
Properties Properties
---------- ----------
Kivy introduce a new way of declaring the properties within a class. Kivy introduces a new way of declaring properties within a class.
Before:: Before::
class MyClass(object): class MyClass(object):
@ -15,9 +15,9 @@ After, using Kivy's properties::
numeric_var = NumericProperty(1) numeric_var = NumericProperty(1)
Theses properties implement the `Observer pattern Theses properties implement the `Observer pattern
<http://en.wikipedia.org/wiki/Observer_pattern>`_. You can: <http://en.wikipedia.org/wiki/Observer_pattern>`_. They help you to:
- Allow manipulating your widgets in kv language more easily - Easily manipulate widgets defined in the :doc:`/guide/lang`
- Automatically observe any changes and dispatch functions/code accordingly - Automatically observe any changes and dispatch functions/code accordingly
- Check and validate values - Check and validate values
- Optimize memory management - Optimize memory management