RE: How to remove all the selectd row in Treeview?



Yes, there is a FAQ, but it need a lot of information to be detail for
every body, I think maybe we can create a FAQ group, seperated by
category.
Things like a tree structure and have search function.

Maybe someone can write a little GTK program with GtkTree view, and the
FAQ data is a Textfile and can be stored as a cvs repository or
somewhere for us to download and upload.

I have a lot of questions when I start to use GTK, and I figout it a lot
of them by myself and ask someothers, I spend a lot of time to learn
GTK. I just think maybe the easy to learn, the more people will use.




-----Original Message-----
From: Harring Figueiredo [mailto:harringf yahoo com] 
Sent: Thursday, October 30, 2003 2:11 PM
To: Tom Liu
Subject: RE: How to remove all the selectd row in Treeview?



 There is a FAQ for GTK, it does not have the details that one might
like, but
you can always search the mailing list archive.

 There is also a VERY GOOD tutorial on Treeview written by Tim-Philipp
Müller

@ http://scentric.net/temp/tutorial/


  I don't think you can find anything better than that when it comes to
Treeview.

  Cheers,

Harring.


--- Tom Liu <tom liu flextrade com> wrote:
Thanks for all who give me helps.

I spend a lot of time on GtkTreeView now. Still have a lot of confuse.
Also I have a lot of question on GTK.

Can we set up a list and put all the question and answer as FAQ?

This way for the other new GTK programmers will be easy to search for
answer.

Also functions like remove all selected rows should be put in to
gtk++?

Thanks.

-----Original Message-----
From: gtk-app-devel-list-admin gnome org
[mailto:gtk-app-devel-list-admin gnome org] On Behalf Of Tim Müller
Sent: Thursday, October 30, 2003 11:44 AM
To: Tom Liu; gtk-app-devel-list gnome org
Subject: Re: How to remove all the selectd row in Treeview?

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-ro
w

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

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]