gtk_clist_find_row_from_data (?) help



Hi,

For some reason I cannot get gtk_clist_find_row_from_data() to work.

Can I do any of these:

I have a columned list with 3 columns.

row = gtk_clist_find_row_from_data(GTK_CLIST(mylist), (gpointer) "Daffy");

or

.
.
char *text[2];

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.

Paul



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