summaryrefslogtreecommitdiff
path: root/iup/srclua5/split.lua
blob: 7b1bc2be3dfa42c777f8b5dfd7ad08b4660c658a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
------------------------------------------------------------------------------
-- Split class 
------------------------------------------------------------------------------
local ctrl = {
  nick = "split",
  parent = iup.WIDGET,
  creation = "II",
  callback = {}
}

function ctrl.createElement(class, param)
   return iup.Split(param[1], param[2])
end

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