tornadofx / tornadofx / attachTo

attachTo

inline fun <T : Node> T.attachTo(parent: EventTarget, op: T.() -> Unit = {}): T

Attaches the node to the pane and invokes the node operation.