This seems to work:

win = GtkWindow("My Window")

signal_connect(win,"destroy") do object, args...
    exit()
end
       
wait(Condition())
 





Am Sonntag, 26. Januar 2014 20:26:50 UTC+1 schrieb Andreas Lobinger:
>
> Hello colleague,
>
> On Sunday, January 26, 2014 6:22:13 PM UTC+1, Tim Holy wrote:
>>
>> I don't get those errors at all. Are you on Gtk.jl master? 
>>
>> I was already pretty sure, that i get this problems locally, so my 
> question was rather to track down what happens to this missing reference.
>
> Then i did Pkg.update()
>  julia> Pkg.update()
> INFO: Updating METADATA...
> INFO: Updating cache of Gtk...
> INFO: Computing changes...
> INFO: Upgrading Gtk: v0.3.2 => v0.5.0
> INFO: Building Cairo
>
> et voila: All three version behave the same right now, including the 
> wait,condition both you and tknopp proposed.
> But the programm holds, if the window is closed. I need to call 
> gtk.main_quit on a close signal, i guess?
>
>
>
>

Reply via email to