Re: [gtk-list] Re: another question



Aaron Walker wrote:

> ok, this is what I have:
> 
>  gtk_clist_freeze(GTK_CLIST(clist));
>  while((fgets(line, sizeof line, results)) != NULL)
>  {
>       ptr = (gchar *)&line;
>       gtk_clist_append(GTK_CLIST(clist), &ptr);
>  }
>  gtk_clist_thaw(GTK_CLIST(clist));
> 
> FILE *results is a 2000-something line file.
> 
> I tried using gtk_clist_prepend also, but no luck
> 
> any ideas?

Make sure you read all needed strings. Try using clist in
different combinations (with standalone scrollbar e.g.). Just
debug it! :) 

Leon.



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