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

function ctrl.createElement(class, arg)
   return Frame(arg[1])
end

iupRegisterWidget(ctrl)
iupSetClass(ctrl, "iup widget")