Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5941033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:03:11+00:00 2026-05-22T16:03:11+00:00

In my PyGTK GUI, I am populating a TreeView from a ListStore. The ListStore

  • 0

In my PyGTK GUI, I am populating a TreeView from a ListStore. The ListStore contains 3 string fields, and this data is read into the store from a plain text file. The TreeView is set in a ScrolledWindow. The list is very long, about 80K lines, which means my ListStore list will be 80K items long. The program takes a long time to populate the TreeView. What techniques are there to avoid reading into memory the whole list in its entirety. How can I read it in steps ? And on what event should I invoke this read-into-ListStore routine ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:03:12+00:00Added an answer on May 22, 2026 at 4:03 pm

    There are some tips in the PyGTK FAQ about loading long lists and keeping your UI responsive while loading.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I fill a form fields (in pygtk) from a class instance that contains its
I want to insert • into GtkTextView widget. In Python + pyGTK this line
From within a Python GUI (PyGTK) I start a process (using multiprocessing). The process
I'm creating a small tool for data visualization. The GUI is created with Pygtk
I'm having performance problems when inserting many rows into a GTK treeview (using PyGTK)
Consider this Python program which uses PyGtk and Hippo Canvas to display a clickable
I'm writing a PyGTK GUI application in Ubuntu to browse some images, and I'd
I have a python program that implements pygtk for GUI. I have it running
I have a glade GUI and i'm using dome gtk.MessageDialog widgets created with pygtk
I encounter a strange issue when closing a PyGTK application. This is the function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.