title: Problems around Gtk and PyGtk
body: <p>In the code file i have to link just one library (<strong>from gi.repository import Gtk</strong>).
  But when i run it it replies me:</p>
  
  <blockquote>
    <p>Gtk-WARNING **: Unknown property: GtkTextView.input-purpose</p>
    
    <p>ERROR --file: collega_GUI --riga: 160, 'Grid' object has no attribute
    'get_child_at'</p>
  </blockquote>
  
  <p>So i tried to <strong>find missing libraries</strong>:</p>
  
  <pre><code>$ dpkg -l libgtk[0-9]* | grep ^i
  
  ii  libgtk2.0-0    2.24.10-0ubuntu6    GTK+ graphical user interface library
  ii  libgtk2.0-bin  2.24.10-0ubuntu6    programs for the GTK+ graphical user interface library
  ii  libgtk2.0-common  2.24.10-0ubuntu6     common files for the GTK+ graphical user interface library
  ii  libgtk2.0-dev  2.24.10-0ubuntu6    development files for the GTK+ library
  </code></pre>
  
  <p>and Grid object needs <strong>gtk3+, so let's install it</strong>:</p>
  
  <pre><code>$ sudo apt-get install libgtk-3-0 libgtk-3-common libgtk-3-dev libgtk-3-doc
  
  0 updated, 0 installed, 0 removed and 0 not upgraded
  </code></pre>
  
  <p>So it's all fine with libraries and:</p>
  
  <ol>
  <li><p><a href="https://developer.gnome.org/gtk3/stable/GtkGrid.html#gtk-grid-get-child-at" rel="nofollow">gtk-grid-get-child-at</a> <strong><em>exists</em></strong></p></li>
  <li><p><a href="https://developer.gnome.org/gtk3/stable/GtkTextView.html#GtkTextView--input-purpose" rel="nofollow">GtkTextView--input-purpose</a> <strong><em>exists</em></strong></p></li>
  <li><p>that "input-purpose" problem is strange, because <strong><em>on the previous OS</em></strong> (ubuntu 13.10, now i'm on 12.04) <strong><em>i didn't get that problem.</em></strong></p></li>
  </ol>
  
  <p><strong>The UI is built by Glade</strong>, but i never get that error previously: on the same project files, but on a different OS version. </p>
  
  <p><em>I still think i need to install some libraries.</em></p>
  
  <p><strong>EDIT :: ged_child_at function call</strong></p>
  
  <pre><code>griglia = self.__builder.get_object('grid3')
                  for i in range(0, 3):
                      area = griglia.get_child_at(i, 0)
                      self.__builder.get_object(Gtk.Buildable.get_name(area)).connect("draw", self.draw)
  </code></pre>