Re: Virtual list boxes (using GtkTreeView or other)

2007-06-01 Thread Nuno Lucas
On 6/1/07, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote: > On Fri, Jun 01, 2007 at 03:47:36PM +0100, Nuno Lucas wrote: > > > > > > You have to derive your own GtkTreeModel, if the predefined GtkListStore > > > or GtkTreeStore are not sufficient (They simply stores all data at once). > > > > I may b

Re: Virtual list boxes (using GtkTreeView or other)

2007-06-01 Thread Yeti
On Fri, Jun 01, 2007 at 03:47:36PM +0100, Nuno Lucas wrote: > > > > You have to derive your own GtkTreeModel, if the predefined GtkListStore > > or GtkTreeStore are not sufficient (They simply stores all data at once). > > I may be missing something, but I don't see a way to set the number of > "v

Re: Virtual list boxes (using GtkTreeView or other)

2007-06-01 Thread Nuno Lucas
On 6/1/07, Andreas Stricker <[EMAIL PROTECTED]> wrote: > Nuno Lucas schrieb: > > How people do with very large list boxes? I was hopping I could have > > some form of just seting up the column headers and say I have 1 > > rows and let the widget ask me for the data when it needs it. > > > > It

Re: Virtual list boxes (using GtkTreeView or other)

2007-06-01 Thread Miroslav Rajcic
You can use "gtk_tree_view_column_set_cell_data_func" to register a callback method to supply data for the tree view. Regards, Miroslav - Original Message - From: "Nuno Lucas" <[EMAIL PROTECTED]> To: Sent: Friday, June 01, 2007 2:53 PM Subject: Virtual lis

Re: Virtual list boxes (using GtkTreeView or other)

2007-06-01 Thread Andreas Stricker
Nuno Lucas schrieb: > How people do with very large list boxes? I was hopping I could have > some form of just seting up the column headers and say I have 1 > rows and let the widget ask me for the data when it needs it. > > It seems a bit heavy to add 1 rows one at a time, as it seems I'm

Virtual list boxes (using GtkTreeView or other)

2007-06-01 Thread Nuno Lucas
Hello, I have been googling for some form of virtual list boxes, but can't seem to find any reference. How people do with very large list boxes? I was hopping I could have some form of just seting up the column headers and say I have 1 rows and let the widget ask me for the data when it needs