Tk.jl
Tk.jl copied to clipboard
Packing Canvas Throws MethodError
I attempted to run the sketch_window() function in sketch.jl but when it evaluates the line that packs the canvas it throws the following:
ERROR: MethodError: pack(::Canvas) is ambiguous. Candidates: pack(c::Canvas, args...) in Tk at C:\Users\rteehan\.julia\packages\Tk\c8ZUf\src\tkwidget.jl:411 pack(widget::Union{AbstractString, Canvas, Tk.TkWidget, Tk_Widget}; kwargs...) in Tk at C:\Users\rteehan\.julia\packages\Tk\c8ZUf\src\containers.jl:117 Possible fix, define pack(::Canvas)
It seems like the example is failing because of an ambiguous overloaded function definition.