When you select an item in GtkCList, it send the "select-row" signal.  
     When you unselect it sends the "unselect-row" signal.  Use callbacks 
     to save the values of selected (and susequently unselected) rows.  
     Then you can keep track of what is currrently selected.
     
     Good luck.
     
     Joe Kelch
     [EMAIL PROTECTED]
     [EMAIL PROTECTED]


______________________________ Reply Separator _________________________________
Subject: selection field of a GtkCList 
Author:  Nils Rennebarth <[EMAIL PROTECTED]> at internet
Date:    9/15/00 12:40 PM


In the description of GtkCList, all fields of the struct are declared 
private, but I can't see a way to get the current selection other than 
accessing the clist->selection field. Even the FAQ says to use this field.
     
Is this a documentation bug?
     
Nils
     
-- 
Quotes from the net, featuring John Lapeyre[L] and Christopher F. Miller [M]: 
M> I'm not sure what the right words are to describe Upside.  Last month they 
M> mentioned the sendmail **web server** as an example of the failure of the 
M> open source process....
L> Well, sendmail does a lousy job of serving webpages.


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to