Re: Clist item max size



On Wed, 2002-01-16 at 17:00, zze-coframi balr001 wrote:
I would like to know which is the maximum number of item which can be stored
in a GtkList object

Hongl Lai wrote:
[...]
Of course this also depends on how much RAM you have.

It also depends how many days you want to wait.  I note that
MandrakeUpdate gets round this by saying "filling lists" and
"filling trees" for a few seconds (on my 600MHz PC) with a progress bar.

It also helps to freeze the list while you do insertions.

Most toolkits seemto be slow at inserting thousands of items into a
list or tree widget.  It can also help if you only freeze ufter
the first 100 items or so, and then unfreeze briefly every few
thousanditems in the meantime, so that the user sees the first screen
appear quickly and the scrollbar grow, and perhaps has access to a
"stop" button.

Best,

Liam

-- 
Liam Quin - XML Core staff contact, W3C, http://www.w3.org/People/Quin/
Ankh: irc.sorcery.net www.valinor.sorcery.net irc.gnome.org www.advogato.org
Author, Open Source XML Database Toolkit, Wiley August 2000
Co-author: The XML Specification Guide, Wiley 1999; Mastering XML, Sybex 2001



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