List.enabled read/write property
Get or set the list ability to respond to mouse, and any other events. When set to false, disable the List (the user will not be able to interact with it), and list's events won't be fired anymore.
Example
local ui = require "ui"
-- create a simple Window
local win = ui.Window("List.enabled sample", 320, 200)
ui.List(win, {"I'm disabled :(", "Item 1", "Item 2"}, 120, 40).enabled = false
win:show()
-- update user interface
repeat
ui.update()
until not win.visible