lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I addedd bindings to XtAppAddTimeOut and XtRemoveTimeout:

-- Using timeouts in LuaMotif programs

require 'motif'

app = Initialize("TimeOut")

local function interval ()
	print('Tick...')
	app:AddTimeOut(1000, interval)
end
	
app:AddTimeOut(1000, interval)
app:MainLoop()