Re: [Vala] Iterating over enums



On Fri, 2011-09-30 at 11:45 +0200, tomw wrote:
Hi, 

I'm trying to get enum values based upon a match to their string
representation. To do that, I would need to iterate over the enums. I
was wondering whether there is a simple way of doing it without creating
an array first?

Thanks, 
 

http://blog.yorba.org/jim/2011/05/a-few-of-my-favorite-vala-things-enums.html

may be of interest




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