Re: Getting a nultiple selection from a CList
- From: Neil Hodge <nhodge1 yahoo com>
- To: Jean-Christophe Berthon <Jean-Christophe Berthon cgey com>
- Cc: gtk-list gnome org
- Subject: Re: Getting a nultiple selection from a CList
- Date: 28 Mar 2002 18:50:10 -0600
Jean:
Thanks for the information.
Now I have one more question related to this. I have activated
GTK_SELECTION_MULTIPLE on the CList in question. However, when I try to
actually do a multiple selection (mouse + shift or ctrl), nothing
happens. Is this behavior not built in? If not, then how can I create
it??? Thanks.
Neil
On Thu, 2002-03-28 at 02:30, Jean-Christophe Berthon wrote:
> Hello Neil,
>
> Here is how I'm doing it (I have a Selection Extended CList)
>
> GList *pxGList = NULL;
> gint32 iColumn;
>
>
> pxGList = GTK_CLIST(lstTemplate)->selection;
>
> pxGList = g_list_first(pxGList);
> while (pxGList != NULL)
> {
> gtk_clist_set_text(GTK_CLIST(lstTemplate), GPOINTER_TO_INT(pxGList->data),
> iColumn, "Hello");
>
> pxGList = g_list_next(pxGList);
> }
>
>
> Best regards,
> ---
> Jean-Christophe Berthon
>
>
>
> ----- Original Message -----
> From: "Neil Hodge" <nhodge1 yahoo com>
> To: <gtk-list gnome org>
> Sent: Wednesday, March 27, 2002 7:23 PM
> Subject: Getting a nultiple selection from a CList
>
>
> > All:
> >
> > I can't find any documentation regarding how to get the results from a
> multiple
> > selection in a CList. Any help would be much appreciated. Thanks.
> >
> > Neil Hodge
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Movies - coverage of the 74th Academy Awards®
> > http://movies.yahoo.com/
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
--
Neil Hodge
nhodge1 yahoo com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]