and here's another changeset, which deals with:

- preserving the handlers collection when reinstalling event fetcher
- trying to play nice with the fact above in
#installEventSensorFramework: method.
- makes UserInterruptHandler to hold a singleton.

what i wanted to achieve, that reinstalling event fetcher does not
causing a list of handlers to be lost, so you don't have to rebind
them manually (suppose you have multiple different handlers, not just
UserInterruptHandler and InputEventSensor).

all of this is for your consideration..

2009/4/23 Igor Stasenko <[email protected]>:
> After loading  kernel 304 and doing
>
> InputEventSensor installPollingEventSensorFramework
>
> i now having two event fetcher processes processes running, and show
> in Process browser.
> But image working stable and responding to input.
> Both processes survived saving/loading.
>
>
> i think this needs to be fixed, like in attached .cs
>
> 2009/4/23 Stéphane Ducasse <[email protected]>:
>> does not work
>>
>>> InputEventSensor installPollingEventSensorFramework
>>
>> :(
>>
>>
>> On Apr 23, 2009, at 10:29 AM, Michael Rueger wrote:
>>
>>> On Thu, Apr 23, 2009 at 10:12 AM, Stéphane Ducasse
>>> <[email protected]> wrote:
>>>> mickael I loaded the kernel 304 but copy and paste does not work
>>>> Am I missing an initialize?
>>>
>>>
>>>> After loading the package you need to execute
>>>> InputEventSensor installPollingEventSensorFramework
>>>
>>> Michael
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>



-- 
Best regards,
Igor Stasenko AKA sig.

Attachment: event-sensor-more-changes.1.cs
Description: Binary data

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to