popupMenu

inline fun scene2d.popupMenu(style: String = defaultStyle, init: PopupMenu.() -> Unit = {}): PopupMenu

Begins creation of a new PopupMenu.

Return

a new instance of PopupMenu.

Parameters

style

name of the PopupMenu.PopupMenuStyle.

init

allows to customize the PopupMenu.