GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Lazy" table populating mode

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
Inquisitive Alex



Joined: 07 Mar 2008
Posts: 1

PostPosted: Fri Mar 07, 2008 6:37 pm    Post subject: "Lazy" table populating mode Reply with quote

Hello. I have a table widget (GtkTreeView with ListStore). Table has many rows. Actual data loads in row only when row becomes visible. While data loading a "Loading..." value is displaying in cell. This works like "lazy loading". Only visible data load. Is it possible with Gkt+?
Back to top
caracal
GTK+ Geek


Joined: 21 Jun 2007
Posts: 75
Location: Wilkes Barre Pa

PostPosted: Tue Mar 11, 2008 3:53 am    Post subject: Reply with quote

You could use a thread with a timer to make the Loading... text blink while the data is loading
and when the data is loaded you would replace Loading... text with the data just do this in
a loop until all the data is displayed.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP