JuliaGizmos / Interact.jl

Interactive widgets to play with your Julia code
Other
520 stars 75 forks source link

Need jump to code line by clicking on a button #369

Open amirfarzin opened 4 years ago

amirfarzin commented 4 years ago

Hi all,

I am writing a little complicated code where there are a lot of functions. What I exactly want to do is: I have created a number of buttons each corresponds to a function. My codes are written in Jupyter Notebook. Each function code is written in one cell of the Notebook. I want to click on a button, and the active cell becomes the corresponding function code block.

As an example, in below image, when I click on the "Goto my test code" button, I want the call back function of the button to move the active cell to the "function test(x,y)" cell. What exactly should I do for this issue??

image