openContextMenuPopup
Opens a context menu (aka. "right click menu") at the specified position and with the specified context action information as provided by the ContextResultBuilder
Element position context should be applied to the builder Position when possible (e.g. the x/y and width/height of the current focused element). When the position context provided is:
ContextInput.KEYBOARD: The popup will appear inline with the x position of the element data of the Position, and slightly below the bottom of the element, unless bounded by the bottom of the screen
ContextInput.MOUSE: The popup will appear below and to the right of the mouse position unless bounded by the screen.
Author
fzzyhmstrs
Since
0.6.1
Parameters
ContextResultBuilder - a populated builder of context actions. Groups and entries will be displayed in the order they were applied to the builder.