Re: [Vala] [PATCH] enum: foreach capability




ping? Is there really no interest in having this in vala? It's quite
useful to fill e.g. Gtk.Combobox with values from the enum.

Perhaps the vala team are currently looking at
other issues and have missed your message or
put it at the back of a long queue.

As a vala user, I'm raising my hand in support
of enum.foreach. But I prefer this syntax:

   foreach (Enum e) {
     ....
   }

and let the compiler automatically fill in the "... in Enum.all_values).


hand
Nor Jaidi Tuah





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