title: How can I create a custom listview item in kivy?
body: <p>I'm trying to to create a custom listview item for a listview in python 3.3 using kivy.</p>
  
  <p>A listitem should consist of a label and 3 buttons.</p>
  
  <p>I created a listview with the adapter cls set to a custom item class as follows:</p>
  
  <pre><code>        ListView:
              id: cue_list
              adapter: ListAdapter(data=[], cls=ListItemButton)
              item_strings: []
  </code></pre>
  
  <p>I then set class rules like this:</p>
  
  <pre><code>&lt;ListItemButton&gt;:
      size_hint_y: root.size_hint_y
      height: root.height
      orientation:"horizontal"
      Button:
          size_hint: 0.2, 1.0
          text: "delete"
  </code></pre>
  
  <p>then in my python file I create a function to add some items:</p>
  
  <pre><code>    def addcue(self):
          self.lv.adapter.data.extend(["new item"])
          self.lv._trigger_reset_populate()
  </code></pre>
  
  <p>But strangely, the result is this:
  <a href="http://i.stack.imgur.com/dNmz1.png" rel="nofollow">http://i.stack.imgur.com/dNmz1.png</a></p>
  
  <p>How can I specify a listview item from scratch in kivy, using the .kv file language?</p>