Re: Container performance

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

 



jcupitt@xxxxxxxxx escreveu:
> On 12/1/07, digicapt - gtk dev <gtk@xxxxxxxxxxx> 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,

       You can use this technical: insert the labels with formatation 
like edit and control the mouse click and the tab key.

-- 
Yours Truly,

           Junior Polegato

           A pilgrim of problems; A parchment of solutions!
           Professional Page: http://www.juniorpolegato.com.br

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux