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

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

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

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