Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output Widget on Canvas Layer #122

Closed
GowthamiCherukuri opened this issue Sep 18, 2020 · 1 comment
Closed

Output Widget on Canvas Layer #122

GowthamiCherukuri opened this issue Sep 18, 2020 · 1 comment

Comments

@GowthamiCherukuri
Copy link

Is there any way to add output widget on the canvas layer.
For example, if I create multicanvas with 2 layers, when I click on particular portion of the canvas, a python function runs in the background. So I want to show the result on the top layer of the canvas similar to what output widget does in ipywidgets.
Or Is there any way to add the ipywidgets on the canvas layer instead of creating at the bottom of the canvas.

@martinRenou
Copy link
Collaborator

Hey! Not sure there is a way to put an Output widget on top of a Canvas, but even if there was you would not see your canvas anymore and click events would not work.

There this code snippet here that prints stuffs on the canvas, maybe you could reuse it: https://github.com/martinRenou/ipycanvas/issues/61#issuecomment-626127902

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants