summaryrefslogtreecommitdiff
path: root/iup/srclua5/vbox.lua
blob: da578d9eed5b2399cd8cceedfb2b9e6d75272979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
------------------------------------------------------------------------------
-- VBox class 
------------------------------------------------------------------------------
local ctrl = {
  nick = "vbox",
  parent = iup.BOX,
  creation = "-",
  callback = {}
}

function ctrl.append (handle, elem)
  iup.Append(handle, elem)
end

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

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