plopp.core.widget_node#
- plopp.core.widget_node(widget)[source]#
Create a node from a widget. When data is requested from it, it will return the
.valueattribute of the supplied widget. In addition, all of its children will be notified when thevalueof the widget changes.- Parameters:
widget – The widget used to construct the node. This can be a widget from the
ipywidgetslibrary, or a custom widget.- Return type: