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: Gwenael Casaccio
Subject: Re: [Help-smalltalk] Gtk event loop
Date: Fri, 12 Feb 2010 10:59:52 +0100
User-agent: KMail/1.13.0 (Linux/2.6.31-19-generic; KDE/4.4.0; x86_64; ; )

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 ^^

> >  If you have a better idea, cleaner approach any comments, remarks are
> > welcome !
> 
> Can you post a patch? I know it is in your github repo, but still...
> 

I'll clean up the code and send it this week end ;)

> Paolo

Gwen




reply via email to

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