help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Gtk event loop


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Gtk event loop
Date: Fri, 12 Feb 2010 11:55:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.1

On 02/12/2010 10:59 AM, Gwenael Casaccio wrote:
On Thursday 11 February 2010 11:39:38 am Paolo Bonzini wrote:
  Right now that works well (for example I can launch iLiad without any
problem) I should fix the gtk_dialog_run because this function launch an
inner loop outside the same thread that the main gtk_loop; the two loops
are locked :D.

I think it should not be hard to rewrite gtk_dialog_run in Smalltalk, see

http://www.google.com/codesearch/p?hl=en#ErvFMsc8kPE/pub/GNOME/sources/gtk+
/2.6/gtk+-2.6.9.tar.gz|z8d-VbwUHqs/gtk+-2.6.9/gtk/gtkdialog.c

around line 900.


Normally a simple
run [
   self showAll
]

That should be enough ^^

When it is, the caller should have said "showAll".  "Run" is blocking.

Paolo




reply via email to

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