Re: Infinite List
- From: jcupitt gmail com
- To: Nick Glynn <exosyst gmail com>
- Cc: "gtk-devel-list gnome org" <gtk-devel-list gnome org>
- Subject: Re: Infinite List
- Date: Fri, 14 Sep 2012 09:09:59 +0100
There was a useful thread last December about gtktreeview performance with large data sets:
It included this very nice example of making a treeview with a custom model:
You need to add this line of code after creating the columns (this was the bug the thread solved):
gtk_tree_view_set_fixed_height_mode (GTK_TREE_VIEW (list), TRUE);
John
On Thursday, September 13, 2012, Nick Glynn wrote:
Hey guys,
I'm writing an app that shows information from a website - a similar app to Pattrn for Android but for Gnome- but don't want to have all data/images downloaded and present before the app starts.
What's the best widget/method to implement an Infinite List[1] style mechanism using Gtk where more data requests are fired either by a reload gesture/button or, preferably, by exposing the bottom of the list?
Thanks,
Nick
[1] http://designinginterfaces.com/patterns/infinite-list/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]