Re: gtkclist
- From: Matt Keenan <matt keenan ireland sun com>
- To: gtk-list gnome org
- Subject: Re: gtkclist
- Date: Tue, 12 Jun 2001 08:46:06 +0100
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
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
--
__.--'\ \.__./ /'--.__
_.-' '.__.' '.__.' '-._
.' '.
/ Matt Keenan (MattMan) \
| CDE, Sun Microsystems Ireland |
| GO JAGUARS !! |
| E-Mail : Matt Keenan ireland Sun Com |
| mattman iol ie |
| URL : http://www.iol.ie/~mattman |
| Phone : +353 1 8199251, Sun Ext : 19251 |
\ .---. .---. /
'._ .' '.''. .''.' '. _.'
'-./ \ / \.-'
''
- References:
- gtkclist
- From: Monserrat Seisdedos Nuñez
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]