set_popup
Description:
Sets the Menu that will be popped up when the this is clicked, or null to dissociate any existing menu and disable the button.
If menu_model or popover are set, those objects are dissociated from the this, and those properties are set to null.
Parameters:
this | |
menu |
a Menu, or null to unset and disable the button |