Re: [gtk-list] Re: yet another victm of lack of docs.....
- From: Ian Main <slow intergate bc ca>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: yet another victm of lack of docs.....
- Date: Sat, 24 Jan 1998 14:40:15 -0800 (PST)
On Sat, 24 Jan 1998, The Rasterman wrote:
> On Sat, 24 Jan 1998, Ian Main wrote:
>
> > On Sat, 24 Jan 1998, The Rasterman wrote:
> >
> > > Well yet again.. I seem to be having a bad day with gtk....
> > >
> > > and this one is interesting:
> > > 411 root 13 0 78044 71M 768 S 0 2.5 57.6 8:35 X
> > >
> > > yup.
> > > xserver is sitting at 71Mb RSS.
> > >
> > > and yes. its gtk.
> > >
> > > I've created a gtklist wiht a whole bunch of list items.. this happens
> > > when i insert like 200+ or so.... is this jus a defficienvy in gtk, or is
> > > there some other widget i should use?
> > > (heres the code to add one item to the list):
> >
> > I'd recommend using Jay's clist. You'll see some documentation in the
> > header gtkclist.h. It's the same one I used in the new filesel. It's
> > *WAY* faster, looks nicer IMO, and hopefully won't suffer from this
> > problem.
>
> hmm okay. I just used the normal list.. well.. because the fileselector
> used it..... thanx.. I'll give the clist a go.. :)
Check out gtk .99.3 (or get it out of cvs). It has the new filesel. You
can take a look at that and testgtk for example code.
> > Hmm.. don't know the answer to this one.. but remember you have to free
> > the data you set with gtk_object_set_data yourself. The CList really is
>
> I do.. there's a function elsewhere that gets called that does a foreach
> on the list and frees it.. but this should a a client-side leak, not
> server-side.. :)
Yeah.. just a reminder :)
Ian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]