Closed golamrabbani268 closed 3 years ago
I'd need a reproducible example to try it myself, but in general terms the most likely culprit is garbage-collection. Read https://juliagizmos.github.io/GtkReactive.jl/stable/#Concepts-1
@timholy thanks for the link. Managed to solve my problem using that. Was following an outdated version of the guide and so had set_coords
instead of set_coordinates
.
I am trying to create an interface that allows the user to move through different images automatically in the same window so am using
imshow!(GUIdict["gui"]["canvas"], GtkReactive.Signal(imgs2[:,:,1]))
whereGUIdict
is assigned asimshow(imgs)
when opening the first image. However, after runningimshow!(...)
, the zooming feature using the mouse does not work. How can I enable the zoom feature after runningimshow!(...)
?