> On 12/1/07, digicapt - gtk dev <
gtk digicapt ch> wrote:
>
>> If you try following code, you'll see that filling a container with 4000
>> entries (first button) is about 20 times slower than filling a container with
>> 4000 labels (second button) : 1 seconds for labels on my PC, 20 seconds for
>> the edits.
>>
> Entries are just much, much more complicated. Creating 4000 edit
> widgets is always going to be slow.
> What you need to do is use a treeview instead, and have a editable as
> a cell renderer. Now it will display like a label (it should be even
> quicker than the label case), but when you click on an item, it will
> turn into an edit widget for the time that you are using it.
> Read about it here:
>
http://library.gnome.org/devel/gtk/unstable/TreeWidgetObjects.html
> John
Hi,