Re: [Vala] [PATCH] enum: foreach capability
- From: Steven Oliver <oliver steven gmail com>
- To: Sebastian Reichel <sre ring0 de>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [PATCH] enum: foreach capability
- Date: Sat, 24 Mar 2012 16:13:04 -0400
On Mar 23, 2012, at 11:53 PM, Sebastian Reichel wrote:
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
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
I'm interested in having this but sadly can't help you get it in. The bug repository is also has quite a few
patches that appear to have never been applied for whatever reason.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]