Hello colleague,

On Wednesday, March 19, 2014 4:48:27 PM UTC+1, Kaj Wiik wrote:
>
> Hi!
>
> First, congrats for the developers! Julia seems to be a wonderful 
> language, many thanks!
>
> Then, my first question to this list, I guess it is possible to accomplish 
> something like this:
> https://github.com/JuliaLang/Tk.jl/blob/master/examples/manipulate.jl
> with Gtk instead of Tk, any pointers?
>

Learn Gtk?
I'm pretty much convinced that using Gtk in the same way is possible as i'm 
doing similar things python based...

There are some obstacles right now:

1) the manipulate.jl example doesn't work anymore with a recent 
julia+Winston. I get a long list of these

WARNING: has(d,k) is deprecated, use haskey(d,k) instead.
 in has at deprecated.jl:26
 in callback_add at /home/lobi_v1/.julia/v0.3/Tk/src/core.jl:206
 in anonymous at /home/lobi_v1/.julia/v0.3/Tk/examples/manipulate.jl:149
 in map_to! at abstractarray.jl:1239
 in map at abstractarray.jl:1248
 in manipulate at /home/lobi_v1/.julia/v0.3/Tk/examples/manipulate.jl:149
 in include_from_node1 at loading.jl:120

2) Gtk.jl seems to be at the point of an API change.
3) ... actually there are not *any* Gtk.jl examples.
4) Trying to run Winston with output_surface = gtk
also brings up
julia> plot([1 2],[3 4])
julia> ERROR: no method set_line_width(CairoContext, ASCIIString)

so there is some work needed.

But overall i'm pretty optimistic, that this situation will improve.

Wishing a happy day,
       Andreas

Reply via email to