TreeNodeContextEvent
classin packageklyn.gui.windows
public class TreeNodeContextEvent extends TreeNodeEvent:
└ TreeNodeContextEvent

Event emitted when a TreeView node receives a context request.

tree.nodeContextRequested += lambda(e: TreeNodeContextEvent): print(e.node.text)
Properties
Modifier and Type Member Description
public readonly property button
button as Int
Pointer button that triggered the context request.
public readonly property x
x as Int
Pointer x coordinate in window-client coordinates.
public readonl y
y property y as Int
Pointer y coordinate in window-client coordinates.
Inherited Properties
propertyInherited Properties from TreeNodeEvent: node
propertyInherited Properties from Event: source, timestamp
Constructors
Modifier and Type Member Description
public TreeNodeContextEvent
TreeNodeContextEvent(source as Object, node as TreeNode, x as Int, y as Int, button as Int):
Creates a tree node context event.