set_ContextMenuFunc Method
Sets a function that should be executed when "contextmenu" event occurs in the viewer.
The default handler of "contextmenu" event only disables the browser context menu.
Important: Handler for "contextmenu" event will NOT be called if "get_VisualTool" property returns NOT nothing and visual tool get_DisableContextMenu property returns True.
Important: Use this property if you need to change the handler of "contexmenu" - subscribing to the viewer container "contextmenu" will not have an effect.