# Number or rows in a ListStore

**URL:** <https://www.ruby-forum.com/t/number-or-rows-in-a-liststore/87335>\
**Category:** Ruby-Gnome 2\
**Created:** [March 1, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/number-or-rows-in-a-liststore/87335 "2007-03-01T20:20:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gendag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f04885/32.png) [@gendag](https://www.ruby-forum.com/u/gendag)\
**Post date:** [March 1, 2007, 8:20pm UTC](https://www.ruby-forum.com/t/number-or-rows-in-a-liststore/87335/1 "2007-03-01T20:20:05Z")

</div>

How can I know the numebr of rows in a ListStore?  
I see some tutorials online for other languages where  
it was suggested to use ListStore#n\_children with the null argument,  
but in the ruby bindings this doesn’t seem possible.

any ideas?  
thanks

Gendag

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys-and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)
