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

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

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