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

Popular posts from this blog

python - Getting ESC characters and non-printables from UDP socket / buffer -

git - TortoiseGit does not show commit log properly -