root > Coding Blog, Programming, Scala, Software Developer, Finland

linux, ubuntu, software, helsinki


  • Home

  • Categories

  • Archives

  • Tags

  • Search

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))

# python # gtk # liststore # treeview # dynamically
python passing variables between classes
GTK - PYTHON (filechooser-directorychooser)
  • Table of Contents
  • Overview
teaddict

teaddict

203 posts
32 categories
640 tags
RSS
GitHub
  1. 1 PYTHON - GTK liststore treeview
    1. 1.1        self.liststore = Gtk.ListStore(*([str] * col_len))
© 2019 teaddict