PYTHON - GTK liststore treeview Posted on 2015-06-26 PYTHON - GTK liststore treeview if you need a liststore fore treeview but if you dont know how many columns you need, then you should write it like this col_len -> is your column count self.liststore = Gtk.ListStore(*([str] * col_len))