Am Samstag, 16. April 2016 01:41:05 UTC+2 schrieb Bryan Van de ven:
Hi Ivo,
As of Bokeh 0.11.1 there is no built-in file chooser dialog, so this would represent new development. I did not see an existing feature request issue on our tracker, so I’d encourage you to go there and add a feature request for this feature:
[https://github.com/bokeh/bokeh/issues](https://github.com/bokeh/bokeh/issues)
In the mean time, it is possible to extend Bokeh with your own custom models, e.g. to wrap some JavaScript library you like, and integrate it with Bokeh. Unfortunately this is a little bit involved, and writing more docs about this specific capability is still a work in progress. However I can point you to an example:
[https://github.com/bokeh/bokeh/blob/master/examples/models/custom.py](https://github.com/bokeh/bokeh/blob/master/examples/models/custom.py)
And if you want to try and make a custom model for some JS file chooser dialog, we would definitely try to answer any questions.
Barring that, the best immediate suggestion I can offer is to leverage the existing DataTable widget somehow, by populating it with paths and responding to selection events on it.
Thanks,
Bryan
On Apr 15, 2016, at 6:28 PM, streb...@gmail.com wrote:
Hi all,
i cant find a way to open a simple select file dialog. I would like to have a button called “load”, if pressed shows a open file dialog and returns after the file selection the full file path to a callback function.
my files are stored on the same machine as the bokeh server runs.
Thanks for your help
Ivo
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/7346537b-4879-4c9a-b063-2b354a8cea17%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.