kvision / pl.treksoft.kvision.dropdown / setContextMenu

setContextMenu

fun Widget.setContextMenu(contextMenu: ContextMenu): Widget

Sets context menu for the current widget.

Parameters

contextMenu - a context menu

Return
current widget