kotlin - Tornadofx: Given that I have a (target) node from an event how do I get the text attribute? -
i new both kotlin , tornadofx. have kotlin / tornadofx based ui has listview populated number of listitems strings related directory structure.
here handle triggered when mouse clicks on listitem. realized e.target gets me node attribute 'text' contains data want. put xyz in code block retrieve text string? appreciated.
fun handlemainlistviewclick(e: event) { maincontroller.findmainlistitembytext(e.target.xyz) }
Comments
Post a Comment