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

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

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