[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: GTK2: deleting items from a GtkTree
- From: Havoc Pennington <hp redhat com>
- To: Fabio Rotondo <mlists rotondo it>
- Cc: gtk-devel <gtk-app-devel-list gnome org>
- Subject: Re: GTK2: deleting items from a GtkTree
- Date: 01 Mar 2002 10:02:07 -0500
Fabio Rotondo <mlists@rotondo.it> writes:
>
> there is a thing that is puzzling me right now.
> Maybe it is very simple, but I don't see it...
> I'd like to have a button in my app that deletes all selected items
> inside a GtkListStore attatched to a GtkTreeView in one shot.
> What I don't know is how to know which GtkListStore items are
> actually selected.
>
> Can you please help me?
>
Get the GtkTreeSelection from the GtkTreeView, then call
gtk_tree_selection_foreach().
Havoc
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]