[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Selected rows in CList
- From: "Kemal 'Disq' Hadimli" <disq iname com>
- To: gtk-app-devel-list redhat com
- Subject: Re: Selected rows in CList
- Date: Sun, 8 Nov 1998 14:14:20 +0000 (GMT)
On 8 Nov 1998, Preben Randhol wrote:
> Q#1:
>
> Is it possible to get all the rows that are selected in a CList
> Widget, or do one have to make a list oneself that controls which rows
> are selected and which that are not (using callback functions)?
no, you can use a code like this:
GList *list;
gint row;
list = GTK_CLIST(clist)->selection;
while (list)
{
row=(gint)list->data;
printf("\nrow %i is selected",row);
list = list->next;
}
bye,
disqk
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]