Re: [Vala] Gdir - newbie problem

This is exactly what I was looking for!


On Wed, Apr 8, 2009 at 10:55 PM, Levi Bard
<taktaktaktaktaktaktaktaktaktak gmail com> wrote:
Can someone give me an example how to get a list of files in a directory?

I'm doing something like:
                                       Gee.ArrayList files = new Gee.ArrayList<string>();

                                       Dir? d =;
                                       if(null != d) {
                                               for(string? file = d.read_name(); null != file; file = 
d.read_name()) {


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