Re: [Vala] Iterating over enums



tomw <tomw ubilix com> writes:

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 helpful.

-- 
Regards,
Brian Winfrey




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