TreeNodeContextEvent
class in package klyn.gui.windows.events

    public class TreeNodeContextEvent extends TreeNodeEvent:

Event
└ GuiEvent
└ TreeNodeEvent
└ TreeNodeContextEvent

Event emitted when a `TreeView` node receives a context request.

    import klyn.gui.windows
    import klyn.gui.windows.events

    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
property Inherited Properties from TreeNodeEvent: node
property Inherited 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.