[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Multiple stores for TreeView



Mr Russel, thank you for your idea ...

Yes, the model only contains several rows ..

Regards,
mige


martyn.2.russell@bt.com wrote:

>>I have several GtkListStore, but only one at the time displayed in a 
>>GtkTreeView.
>>What is the best way to implement this ?
>>1.
>>- create only one GtkTreeView
>>- Every time user select a list-store
>>    - Clean-up treeview (remove all the columns, set 
>>treeview's model to 
>>null)  
>>    - Fill-up treeview (set treeview's model to list-store 
>>and build up 
>>the columns)
>>    
>>
>
>Personally, I would have said this is the better option.  It depends on the
>data really, i.e. if there were 7 columns by 1000 or more entries, doing
>this would not be viable (IMO).
>
>Regards,
>Martyn 
>
>  
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]