doc: removed reference to internal ObservableDict class

This commit is contained in:
Zen-CODE 2014-07-15 22:47:44 +02:00
parent 8f64f9dd1a
commit 4039831e08
1 changed files with 2 additions and 3 deletions

View File

@ -344,9 +344,8 @@ In your python code:
self.ids.loki.text = "loki: >_<!!!" self.ids.loki.text = "loki: >_<!!!"
When your kv file is parsed, kivy collects all the widgets tagged with id's When your kv file is parsed, kivy collects all the widgets tagged with id's
and places them in this `self.ids` :class:`~kivy.properties.ObservableDict` and places them in this `self.ids` dictionary type property. That means you
property. That means you can also iterate over these widgets and access them can also iterate over these widgets and access them dictionary style::
dictionary style::
for key, val in self.ids.items(): for key, val in self.ids.items():
print("key={0}, val={1}".format(key, val)) print("key={0}, val={1}".format(key, val))