Callbacks from C into Squeak

Bert Freudenberg bert at freudenbergs.de
Sun Dec 17 00:14:43 UTC 2006


On Dec 16, 2006, at 19:14 , daniel poon wrote:

> If it is a callback that requires an answer (e.g. 'give me the  
> contents for this
> list box'), what do  you do?

Easiest might be to use a toolkit that does not require callbacks ;)  
Otherwise there is no way to do that in FFI only I think. You could  
write a plugin that forks off another process which will talk to your  
toolkit. Callbacks would be registered in that second process, they  
could then send a request to the image and block until they get an  
answer back.

- Bert -





More information about the Squeak-dev mailing list