Re: [gtk-list] List Question
- From: George Deprez <deprez seas smu edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] List Question
- Date: Sat, 26 Feb 2000 23:59:10 -0600
Hello all,
I answered my own question.
The way to delete a single item with
gtk_list_clear_items()
is to make the 'end' argument 1+start.
Afterall, there is a nice function wor this op.
Thanks,
George
> Hello all,
>
> My delete row works fine for my clist because I use the nice function -
> gtk_clist_remove(clist,pos).
>
> I have a problem, however, with GtkList, bacause it
> has no nice functions like that above.
>
> The closest I could find is the following function -
> gtk_list_clear_items ( list , start , end ).
>
> I have not been able to make this work to delete a single
> item, where start and end positions are the same.
>
> Is this possible?
>
> Thanks,
> George
>
> p.s.
> If not how else can I delete a list item?
> I noticed that the List example in the Tutorial
> does NOT contain the delete function.
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]