Re: [gtk-list] gtk_clist_find_row_from_data (?) help
- From: Alan Wigginton <alanw powerup com au>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk_clist_find_row_from_data (?) help
- Date: Wed, 08 Dec 1999 15:58:49 +1000
The text array is declared with only 2 entries. This will be the problem
assuming this is the actual code and not a typo in the post.
Paul Cardwell wrote:
> .
> char *text[2]; <======= This should be text[3]
>
> text[0]="daffy"; /* Ok I should malloc these ;) */
> text[1]="duck";
> text[2]="rules";
>
> row = gtk_clist_find_row_from_data(GTK_CLIST(mylist), (gpointer) text);
>
> This is assuming the data is already in the columned list.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]