Re: [Vala] Enumerating a GValueArray



try following:

Genie: for val in Array
Vala : foreach (GValue val in Array)
  
jamie

On Tue, 2010-09-07 at 00:24 +0000, Phil Daintree wrote:
Newbie question!
How do I enumerate a returned GValueArray in genie (or vala if necessary) I can't figure out how to use a 
for loop as there appears to not be an iterable collection according to the compiler and I don't know the 
data types of the values returned in the GValueArray.

Appreciate any ideas - hope the question is not too foolish for this list of gurus!

Phil
Phil Daintree
Logic Works Ltd - 0275 567890
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list





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