kvision / pl.treksoft.kvision.core / Widget / setContextMenu

setContextMenu

open fun setContextMenu(contextMenu: ContextMenu): Widget

Sets context menu for the current widget.

Parameters

contextMenu - a context menu

Return
current widget