Re: [gtk-list] GTK List & colors



On 18 Apr, Andreas Kostyrka shouted:
->  Hi!
->  
->  I've got two questions:
->  - How can I present a GTK List of say 10000 items?
->    Doing gtk_listitem_with_label + show + adding it to the gtk_list is
->    quite slow. (In fact twice as slow as doing it in Tk :(. I know, 
->                 listitem can be anything, etc. but it's still SLOW :( )
->    Actually, how can I catch the interaction between a ScrolledWindow and
->    a List?

Use  the clist.

->  - How do I change the color of a label?
->    For example, I want certain labels to have red text, no matter if the
->    label is selected or no. (Used as part of a gtklist.)

clist again :) faster and you can do that :)

->  TIA,
->  Andreas
->  P.S.: Could you mail me also directly any responses, as I'm not reading
->        the gtk-mailing list reguarly.
->  
->  
->  

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
+1 (919) 929 9443, 801 4392   For pure Enlightenmenthttp://www.rasterman.com/ 



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