[sugar] Recursive Signal Loop.
Bert Freudenberg
bert at freudenbergs.de
Thu Apr 24 17:25:36 EDT 2008
On 24.04.2008, at 22:56, Eben Eliason wrote:
> On Thu, Apr 24, 2008 at 4:47 PM, Jameson Chema Quinn
> <jquinn at cs.oberlin.edu> wrote:
>> you check the keep property before you set it, and do not touch it
>> if you
>> are not going to change it.
>
> That does in fact sound like a reasonable way to handle it. It
> doesn't require an extra time around "the loop"....it simply stops it
> directly at the signal handler for the KeepIcon change event by not
> overwriting with the same value. Don't I feel stupid now....
I'd even consider it a bug if overwriting a property with the same
value would emit a change event - but maybe this is how the framework
works?
- Bert -
More information about the Sugar
mailing list