popupMenu

abstract fun popupMenu(at: Point, context: MenuCreationContext.() -> Unit): PopupMenu(source)

Shows a pop-up menu for the window.

Parameters

at

the given point relative to the window

context

for specifying items in the pop-up