root > Senior Software Engineer | Scala, AWS, Kubernetes, Microservices, Python, Go, PostgreSQL

Technical Blog: Functional Programming, Cloud Architecture & DevOps


  • 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

205 posts
37 categories
645 tags
RSS
GitHub
  1. 1 PYTHON - GTK liststore treeview
    1. 1.1        self.liststore = Gtk.ListStore(*([str] * col_len))
© 2025 teaddict