summaryrefslogtreecommitdiff
path: root/iup/srclua5/user.lua
blob: 18ed950a5863605c6dfc6ecfbcb8865a89188bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

------------------------------------------------------------------------------
-- User class 
------------------------------------------------------------------------------
local ctrl = {
  nick = "user",
  parent = iup.WIDGET,
  creation = "",
  callback = {}
}

function ctrl.createElement(class, param)
   return iup.User()
end

iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iup widget")