setMenuModel

open fun setMenuModel(model: <Error class: unknown class>? = null)

Sets a new menu model on @popover.

The existing contents of @popover are removed, and the @popover is populated with new contents according to @model.

Parameters

model

a GMenuModel