Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > pygtk, gtk.treeview and virtuallist ?

Thread Tools

pygtk, gtk.treeview and virtuallist ?

Posts: n/a
Hello, I'm new to pygtk (but i know wxpython very well)

I'm trying to play with this example :
(the code is here

I'd like to be able to use a virtual list (like wx.ListCtrl in mode

This example use a gtk.treeview with a listStore ...
There are callbacks to display "image, texts and info" (via
set_cell_data_func() )
But if there are 1000000 of items, the callbacks will be called 1000000
times before the window appears ;-(

I'd like that theses callbacks are called only when items are displayed in
the window (on demand) ...

is it possible to do that in pygtk ?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
if and and vs if and,and titi VHDL 4 03-11-2007 05:23 AM