setPopover

fun setPopover(popover: <Error class: unknown class>? = null)

Sets the popover that will be popped up when the dropdown is clicked.

If the popover is NULL, the dropdown is disabled.

If property@SplitButton:menu-model is set, the menu model is dissociated from the button, and the property is set to NULL.

Parameters

popover

the popover