Re: [gtk-list] Re: ItemFactory anyone?



On Thu, Jan 14, 1999 at 08:00:14PM +0100, Jan Kratochvil wrote:

> > Why not have the callback data, which is common to all entries, point to
> > an array of pointers. Use the integer to index into the array of
> > pointers?

>   It's just ineffective (but surely better than the glist solution). 

I think the word you're looking for is inconvenient.  It's certainly
effective.  Also using a list is no harder than using an array and better
for the cases where you don't know how much space to allocate beforehand.

Dave Cook






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