gereleth / jupyter-bbox-widget

A Jupyter widget for annotating images with bounding boxes
BSD 3-Clause "New" or "Revised" License
117 stars 19 forks source link

Make it possible to submit programmatically #28

Closed MarcSkovMadsen closed 2 months ago

MarcSkovMadsen commented 2 months ago

If you want to use the widget with a data app framework like Panel, Shiny Py or Solara you want to be in the control of the location and style of buttons.

Please make it possible to hide the built in buttons (already possible) and trigger submit via code. Then I as a data app developer can trigger submit from one of my own buttons or triggered by other events.

gereleth commented 2 months ago

I don't really understand this request. The widget's submit does nothing by itself, only what you supply in the callback. If you have your own submit button then the callback can just go live there instead, can't it? =)

MarcSkovMadsen commented 2 months ago

Agree. You may close this one.