Just access the GtkClist widget structure member "rows" and this will
tell you how many items there are in the Clist.
GtkWidget *CList_Widget;
gint rows;
row = GTK_CLIST(CList_Widget)->rows;
You can then loop throught the clist based on the "rows" variable.
for (i=0; i<rows; i++)
{
/* Process each row here */
gtk_clist_get_text(...
etc...
}
Monserrat Seisdedos Nu�ez wrote:
>
> Hello everybody:
> how can i know how many rows are there in a gtkclist????
> Is there any conversion macro to get a glist from a gtkclist???
>
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
--
__.--'\ \.__./ /'--.__
_.-' '.__.' '.__.' '-._
.' '.
/ Matt Keenan (MattMan) \
| CDE, Sun Microsystems Ireland |
| GO JAGUARS !! |
| E-Mail : [EMAIL PROTECTED] |
| [EMAIL PROTECTED] |
| URL : http://www.iol.ie/~mattman |
| Phone : +353 1 8199251, Sun Ext : 19251 |
\ .---. .---. /
'._ .' '.''. .''.' '. _.'
'-./ \ / \.-'
''
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list