On Fri, Feb 24, 2012 at 05:46:17PM +0100, Sebastian Reichel wrote:
> Please consider applying the attached patch. It adds support for
> using foreach with enums like this (and closes #624691):
>
> > foreach (Enum e in Enum.all_values) {
> > stdout.printf ("%s\n", e.to_string ());
> > }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. -- Sebastian
signature.asc
Description: Digital signature
_______________________________________________ vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
