Class TContextMenu

All Implemented Interfaces:
INode<TElement>, INodeBounded<TElement,Bounds2i>, INodeRenderable<TElement, TGuiGraphics>, Iterable<TElement>, Collection<TElement>

@Environment(CLIENT) @Virtual public class TContextMenu extends TElement
A TContextMenu is a specialized TElement that represents a context menu GUI. It is designed to handle focus, input events, and screen management to ensure proper behavior when interacting with other GUI elements.

This element's parent must be either a TScreen or another TContextMenu. Attempting to add this element to any other type of parent will throw!