title: Kivy: how to display a list of Objects in Kivy?
body: <p>When I create a class in need to make objects to use the class.
  I made a list which gets a new Object every time I touch the screen.
  But I don't know how to display these Objects on the kivy side.</p>
  <p>Here is my python code:</p>
  <pre><code>class Cow(Widget):
     pass
  
  
  class Farm (Widget):       
  
     cow_flock = ListProperty([])
       
     def on_touch_down (self, touch):
         self.cow_flock.append(Cow())                
  </code></pre>
  <p>Here is my kivy code:</p>
  <pre><code>&lt;Cow&gt;:    
      size: 70, 70  
      canvas:
          Rectangle:
              size: self.size
              pos:  self.pos
  
  &lt;House&gt;:
      self.cow_flock #this should display the cows 
  </code></pre>
  <p>I an error:</p>
  <pre><code>  kivy.lang.ParserException: Parser: File &quot;&lt;inline&gt;&quot;, line 12:
    ...
         10:
         11:&lt;House&gt;:
    &gt;&gt;   12:    self.doorlist
         13:
         14:
    ...
    Invalid property name
       
  </code></pre>
  <p>I am new in Kivy and I don't know exactly how it works.
  To say it in other words; I have no idea which syntax I have to use for this.</p>