On 18 June 2010 14:15, Anurag Priyam <[email protected]> wrote:
> If i define a signal twice, say:
>
> client.add_signal("focus", function(c)
>     -- something
> end)
>
> and i do it again
>
> client.add_signal("focus", function(c)
>     -- some other thing
> end)
>
> Will both of them be valid or just the latter one?

It's appended. The function doing 'something' will be called then the
function 'some other thing' will be called.

--
To unsubscribe, send mail to [email protected].

Reply via email to