setEnableContextMenu

setEnableContextMenu(boolean value) function

Enable/disable context menu. Default is true.