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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -