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

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

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