Re: [Vala] An array of Delegations?
- From: Alexandre Rosenfeld <alexandre rosenfeld gmail com>
- To: Joseph Montanez <jmontanez gorilla3d com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] An array of Delegations?
- Date: Wed, 1 Jun 2011 19:34:51 -0400
I know it's not exactly what you want, but you can use signals to obtain
something similar. Since signals can contain parameters and return values,
they function more or less like delegates when connected to. And any number
of functions can be connected to a single signal at any time.
*Alexandre Rosenfeld*
On Wed, Jun 1, 2011 at 19:20, Joseph Montanez <jmontanez gorilla3d com>wrote:
I know this is a bit insane, but is there any plan or maybe even a
work around to having working list of delegations? I tried with both
gee and fixed arrays for delegations but I get the error of:
"Delegates with target are not supported as array element type"
Right now my only work around is have a number of nullable single
delegates in a class then keeping track of the last assigned index.
--
Joseph Montanez
Web Developer
Gorilla3D
Design, Develop, Deploy
_______________________________________________
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]