# List (treeview)

**URL:** <https://www.ruby-forum.com/t/list-treeview/176513>\
**Category:** Ruby-Gnome 2\
**Created:** [October 1, 2009, 2:07pm UTC](https://www.ruby-forum.com/t/list-treeview/176513 "2009-10-01T14:07:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sfedi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@sfedi](https://www.ruby-forum.com/u/sfedi)\
**Post date:** [October 1, 2009, 2:07pm UTC](https://www.ruby-forum.com/t/list-treeview/176513/1 "2009-10-01T14:07:59Z")

</div>

Hello !

I need help with treeview, I’m trying to learn it again, again and  
agin…

Can anybody show me simple example how to create a list with 2 columns  
and put to this list some text data ?

I need your help ! please

---

<div class="post-metadata">

**Author:** ![sfedi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@sfedi](https://www.ruby-forum.com/u/sfedi)\
**Post date:** [October 5, 2009, 11:14am UTC](https://www.ruby-forum.com/t/list-treeview/176513/2 "2009-10-05T11:14:28Z")

</div>

Sergio F. wrote:

> Hello !
> 
> I need help with treeview, I’m trying to learn it again, again and  
> agin..
> 
> Can anybody show me simple example how to create a list with 2 columns  
> and put to this list some text data ?
> 
> I need your help ! please

Did you look at

[http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview](http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview)

specifically at

[http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview-renderer-renderer](http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-treeview-renderer-renderer)

The example shows a treestore, but it is mostly identical with a  
ListStore. You only don’t care about the parent.

Simon

---

<div class="post-metadata">

**Author:** ![sfedi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e8c25b/32.png) [@sfedi](https://www.ruby-forum.com/u/sfedi)\
**Post date:** [October 5, 2009, 12:05pm UTC](https://www.ruby-forum.com/t/list-treeview/176513/3 "2009-10-05T12:05:44Z")

</div>

Thanks !
