iup-stack/iup/srclua5/elem/thread.lua

21 lines
438 B
Lua
Raw Permalink Normal View History

2023-02-20 16:44:45 +00:00
------------------------------------------------------------------------------
-- Thread class
------------------------------------------------------------------------------
local ctrl = {
nick = "thread",
parent = iup.WIDGET,
subdir = "elem",
creation = "",
callback = {
thread_cb = "",
}
}
function ctrl.createElement(class, param)
return iup.Thread()
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")