I just did and it works perfectly.
Thank you so much!
On Tuesday, April 12, 2016 at 7:04:39 PM UTC-4, Eric Forgy wrote:
>
> Hi,
>
> I'm not sitting at a computer at the moment, but just curious if you've
> tried
>
> ls = @ListStore(eltypes(df)...)
>
> Sorry for the noise if that doesn't work
Hi,
I'm not sitting at a computer at the moment, but just curious if you've tried
ls = @ListStore(eltypes(df)...)
Sorry for the noise if that doesn't work :)
Yes, I have already looked at the example. I question was how to pass a
bunch of DataTypes from a dataframe to the @ListStore(). For example,
ls = @ListStore(Int64,Float64)
works, while
ls = @ListStore(tuple(eltypes(df)...)) does not.
I was wondering whether there is a function in Gtk like
There's an example in the tests:
https://github.com/JuliaLang/Gtk.jl/blob/master/test/gui.jl#L476
So it seems like you need to declare your ListStore with the proper types,
and the iterate over your dataframe and push the data in.