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 .value attribute of the supplied widget. In addition, all of its children will be notified when the value of the widget changes.

Parameters:

widget – The widget used to construct the node. This can be a widget from the ipywidgets library, or a custom widget.

Return type:

Node