set_popover


Description:

public void set_popover (Popover? popover)

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:

this

a split button

popover

the popover