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

Is there a better way to structure post methods in Class Based Views -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -