Tk.jl
Tk.jl copied to clipboard
Rename `Text` to `TkText`
and fix test errors on Windows and 0.6.
Fixes #117.
Just noticed that this includes the fix from #136 -- not sure how we should handle that.
OSX nightly test error is unrelated.
What was the motivation for changing Text to TkText? Much of the incidental changes in this PR is stale, but I'm trying to understand if the core change is still required.
The fact that both Base and Tk export Text leads to fun stuff like
julia> Text("asd")
asd
julia> using Tk
julia> Text("asd")
ERROR: MethodError: no method matching Tk.TkWidget(::String, ::String)
julia> Base.Text("asd")
ERROR: MethodError: no method matching Tk.TkWidget(::String, ::String)
julia> Base.Docs.Text("asd")
ERROR: MethodError: no method matching Tk.TkWidget(::String, ::String)