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

button woes

Open jverzani opened this issue 10 years ago • 0 comments

To make a button with a callback utilizes a pattern like

b = button("click me")
window(b)
map(b) do args...
   println("clicked me")
end

All good, but if things get more complicated, the button fails to be lifted:

window(toolbar(b), grow(b))

Now clicking on b does not update the GUI (any of the three instances)

Also directly pushing a value doesn't work, though this will at first:

push!(b.signal, nothing)

Not sure what happens here...

jverzani avatar Dec 01 '15 02:12 jverzani