setWidget

open fun setWidget(widget: Widget? = null)

Sets the widget that should be observed.

Parameters

widget

the widget to observe