[IPython-dev] Camera widget
Thu Feb 27 10:59:21 CST 2014
On 2/27/14 10:50 AM, Doug Blank wrote:
> True, but would it make sense to have multiple interfaces to a single
> Camera? If you could select between the laptop camera and a USB camera,
> then we would definitely need different names.
Good point. We don't have a way to have a singleton widget yet. I was
looking for a usecase for one, though. I essentially implemented
singleton widgets in a PR the other day.
I'd just make some method on the widget, and have the widget trigger the
click (or maybe just call the appropriate function). The widget already
has the button DOM element stored.
More information about the IPython-dev