Re: [Vala] An array of Delegations?

But keep in mind that glib signals are not good if you care about

best regards,

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
Design, Develop, Deploy
vala-list mailing list
vala-list gnome org

Mój klucz publiczny o identyfikatorze 1024D/E12C5A4C znajduje się na
serwerze hkp://

My public key with signature 1024D/E12C5A4C is on the server

Attachment: signature.asc
Description: PGP signature

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