KontextMenu

@Composable
fun KontextMenu(cut: () -> Unit?, copy: () -> Unit?, paste: () -> Unit?, content: @Composable () -> Unit)

A Material implementation of a popup-based context menu.

This composable function creates a context menu using a popup with Material styling. It provides cut, copy, and paste functionality with a simple popup interface.

Parameters

cut

Optional callback for the cut operation

copy

Optional callback for the copy operation

paste

Optional callback for the paste operation

content

The content to display in the context menu area