Tk.jl icon indicating copy to clipboard operation
Tk.jl copied to clipboard

calling configure(canvas_handle) causes REPL to terminate

Open motatoes opened this issue 12 years ago • 1 comments

On a Windows 7 machine, I entered the following instructions in the julia REPL. After the last one, the REPL terminates.

using Tk
t = Toplevel()
f = frame(t)
c = Canvas(c)
configure(c)

Here is an example. After calling configure(c), the REPL terminates.

untitled

motatoes avatar Feb 09 '14 18:02 motatoes

I can't replicate this on linux; from your example, I get

julia> configure(c)
ERROR: invalid window
 in render_to_cairo at /home/tim/.julia/v0.3/Tk/src/tkwidget.jl:285
 in configure at /home/tim/.julia/v0.3/Tk/src/tkwidget.jl:236

Does test/tests.jl run properly for you?

timholy avatar Jun 06 '14 02:06 timholy