The TableView widget has a ‘touch’ function for, I assume, listening to touch events. Problem is, if you try to call it, eg:
[lua]local list = widget.newTableView{
…
list.content:touch( event )[/lua]
You will get the error:
[lua]Runtime error
?:0: attempt to index a nil value
stack traceback:
[C]: ?
?: in function ‘touch’[/lua]
This error indicates that the function is nil but it isn’t.
This does not seem right - does anyone have a better way of doing this? I’d like to track specific touch events myself and pass them down to the widget… [import]uid: 8271 topic_id: 26988 reply_id: 326988[/import]