GtkCList question

Okay, this seems like a really dumb question, but I'm not seeing it.
How do you find out what row a selection is on in a GtkCList?

Here's what I have, in part:

    if (data->selection == NULL) {
        gtk_widget_show (no_selection_dialog);
	return (0);
    row_num = gtk_clist_find_row_from_data (GTK_CLIST (clist), 

row_num always comes out as -1.  I have 15 rows in the list.  Is this totally



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