JuliaGizmos / Interact.jl

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

How to Display Variable Text #363

Open duncanam opened 4 years ago

duncanam commented 4 years ago

Hi,

I feel bad for creating a new issue for this, but after many hours of playing in an editor and staring at the documentation I'm not sure if this is even possible anymore. I've figured out how to place a folder-selection dialog inside a Blink window, and I'd like to display this folder path under it. I've tried things along the lines of (where resultpath is the opendialog button):

on(print(string("test: ",&resultpath[]))) and display(resultpath[]) and on(observe,resultpath) and print(resultpath[]) These all fail to do what I'd like, which is just show me text of what folder I clicked on. I'm afraid I'm just not smart enough to figure this out yet. Is there a better way to do this besides going towards full CSS+HTML?