guile-gtk-general
[Top][All Lists]
Advanced

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

Re: entries and guile-gui


From: Andy Wingo
Subject: Re: entries and guile-gui
Date: Sun, 06 May 2007 23:49:35 +0200

Hi Kevin,

On Tue, 2007-02-27 at 09:19 +1100, Kevin Ryde wrote:
> Neil Jerram <address@hidden> writes:
> >
> > It looks like #f now (Gtk+ 2.0) means "carry on calling other handlers
> > for this signal" and non-#f (which includes the unspecified value)
> 
> I wonder if interpreting unspecified as true there is a good idea.
> Unspecified almost certainly means the callback hasn't realized it
> should be returning true/false.  What about throwing an error for that
> case (any callback that returns bool), to keep people out of trouble?

Incidentally, this is what guile-gobject does; although I should
probably change it not to thrown an error, because like you say, there
is no good context to catch it.

Regards,

Andy.
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]