TrayMenuHost
constructor(parentContext: CompositionContext, display: (popup: JPopupMenu, x: Int, y: Int) -> Unit = ::showPopupAtCursor, menu: @Composable () -> Unit)
Parameters
parentContext
the composition context the popup menu nests into.
display
presents the populated popup at the gesture point; the production default shows it over a transient invoker at those screen coordinates.
menu
the composable menu tree opened on each showMenu call.