Re: signal defs
- From: Andrei Zmievski <andrei ispi net>
- To: Ariel Rios <ariel linuxppc org>
- Cc: language-bindings gnome org
- Subject: Re: signal defs
- Date: Wed, 9 May 2001 08:18:32 -0500
On Wed, 09 May 2001, Ariel Rios wrote:
> I am doing some cosmetic changes to the proposal:
>
> (define-signal signal-name
> (of-object object-we-are-a-signal-of)
> (run-action bool-value)
> (run-first bool-value)
> (run-last bool-value)
> ;; return value and parameters as for a function, omitting the object
> ;; and user data parameters
>
> ;; what other properties matter for a signal?
> )
Can't think of anything else..
> Ex:
> (define-signal select_row
> (of-object "CList")
> (run-first #t)
> ;; return type defaults to void
> (parameter in (type-and-name gint row))
> (parameter in (type-and-name gint column))
> (parameter in (type-and-name GdkEvent* event)))
>
> Still, I don't see a lot of use for this in guile but...
These signals defs maybe useful for a doc generating script, like the
one James wrote.
-Andrei
* How would this sentence be different if Pi was equal to three? *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]