|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Can't run dialogs with GTK+ |
Date: | Wed, 25 Aug 2010 10:54:13 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.3 Thunderbird/3.0.5 |
On 08/25/2010 10:51 AM, Gwenaël Casaccio wrote:
Ok I understand the problem, run message launches a new inner loop. But with our gtk event loop we should use showAll, showModalOnAnswer:, ...
Hmm, #run is overridden by GtkImpl.st to not use a new event loop. It uses a Smalltalk semaphore and the outer event loop. Since events are run in their own Process, everything should work without blocking the outer event loop.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |