Re: How to remove all the selectd row in Treeview?
- From: Tim Müller <zen18864 zen co uk>
- To: "Tom Liu" <tom liu flextrade com>, <gtk-app-devel-list gnome org>
- Subject: Re: How to remove all the selectd row in Treeview?
- Date: Thu, 30 Oct 2003 16:44:12 +0000
On Thursday 30 October 2003 15:41, Tom Liu wrote:
I made a list with TreeView, I want to remove all the select rows, which
function I should use?
(the selection may have more than one row).
My suggestion is something like this:
http://scentric.net/tutorial/sec-treemodels.html#sec-treemodel-remove-row
Theoretically, you could also make an array of GtkTreeIter structs, get the
paths and convert them all into tree iters, and then remove all those iters.
While possible (because GtkListStore has persistent iters), I find it a bit
dirty and hackish.
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]