S
Solara2mo ago
pikaa

Right-click context menu onto another widget

I'd like to try and add a Solara right-click context menu onto a Plotly FigureWidget (FigurePlotly instance), but I have no idea how to disable the generic context menu and override with my own. Do you have any suggestions on how to get started with this?
2 Replies
MaartenBreddels
MaartenBreddels2mo ago
I think this is best shown using demo app: https://py.cafe/maartenbreddels/solara-menu-demo docs for the menu are: https://solara.dev/documentation/components/lab/menu Does that help you?
PyCafe - Solara - Interactive Model Deployment and Fitting demonstr...
Create & Share Streamlit, Dash and Python Apps Online.
MaartenBreddels
MaartenBreddels2mo ago
Would be great if you can let us know how you tried to find this in the documentation, and why you did not find this, or maybe why you thought it was not possible. This wil help us improve the documentation.
Want results from more Discord servers?
Add your server