title: How can I update Gtk.ListBox dynamically?
body: <p>So I have a listbox:</p>
  
  
  
  <pre class="lang-cs prettyprint-override"><code>var listbox = new Gtk.ListBox();
  
  var l = new Watcher.ListItem.NewItem("title","subtitle", "etc");
  listbox.insert(l, 0);
  </code></pre>
  
  <p>"l" is basically a <em>Gtk.ListBoxRow</em> with formated labels and stuff.</p>
  
  <p>I added a button with label "New" which purpose is to add new items into the ListBox.</p>
  
  <pre class="lang-cs prettyprint-override"><code>int i = 1;
  back_new.clicked.connect( ()=&gt;{
      l = new Watcher.ListItem.NewItem("title2", "subtitle2", "etc2");
      listbox.insert(l, i);
      i++;
  });
  </code></pre>
  
  <p>The problem is if I check  with "<em>listbox.get_row_at_index(2)</em>" it shows that there is something in the listbox so something happens but the listbox in the gui is not updated.</p>
  
  <p>Full code is here if needed: 
  <a href="http://pastebin.com/u/Levike" rel="nofollow">http://pastebin.com/u/Levike</a></p>