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

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

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