`imageview` calls `attachTo` which calls cryptic `...
# tornadofx
o
imageview
calls
attachTo
which calls cryptic
opcr
.
r
opcr
is the higher order function that's the root of the TornadoFX DSL. It's basically a glorified
<T: Node>.apply(opcr)
with some help for working with the scene tree.
I have no idea where the name came from.
o
According to kdoc, it
is an acronym for "op connect & return".
r
Ah, good to know. (Still pretty cryptic though)
e
My bad 🙂 Should have named it better - it was meant to be private, but had to be opened up because it was used in inline functions I believe. People started using it directly and then it was too late to rename it. I think we'll give it a better name for version 2.0 🙂
👍 1