Changes

Jump to navigation Jump to search
Line 107: Line 107:     
* <tt>Gtk.Widget.hide_all()</tt> doesn't exist anymore. We should use just <tt>.hide</tt>: http://developer.gnome.org/gtk3/3.5/GtkWidget.html#gtk-widget-hide
 
* <tt>Gtk.Widget.hide_all()</tt> doesn't exist anymore. We should use just <tt>.hide</tt>: http://developer.gnome.org/gtk3/3.5/GtkWidget.html#gtk-widget-hide
 +
* This is not necessary because the code will work anyway but I think that it's better. I replaced <tt>GObject.TYPE_STRING</tt> by '''<tt>str</tt>''' on the definition of the <tt>Gtk.ListStore</tt>
 +
 +
self.treemodel = Gtk.ListStore(GObject.TYPE_STRING)
 +
 +
self.treemodel = Gtk.ListStore(str)
    
= References / Useful links =
 
= References / Useful links =
266

edits

Navigation menu