Data type ContextMenuSpec
access this type via: ui.ClickableObject (uses)
Data type describing the items in a context menu, and the relative position at which to render that menu.
Fields
int xAnchor The x-position of the top-left of this context menu, relative to the graphics object which has requested the menu.
int yAnchor The y-position of the top-left of this context menu, relative to the graphics object which has requested the menu.
MenuItem items[] The list of menu items to display on the context menu.
ClickableObject owner The object to which the menu belongs (this does not need to be set by the originating object, it is set as appropriate by the windowing framework).