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

19 lines
461 B
Lua
Raw Permalink Normal View History

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