summaryrefslogtreecommitdiff
path: root/iup/srclua5/list.lua
blob: 5c927f2cff163a0cdbd87e745f0b380c5ce899d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
------------------------------------------------------------------------------
-- List class 
------------------------------------------------------------------------------
local ctrl = {
  nick = "list",
  parent = WIDGET,
  creation = "-",
  callback = {
     action = "snn", 
     multiselect_cb = "s",
     edit_cb = "ns",
     dropdown_cb = "n",
     dblclick_cb = "ns",
   }
} 

function ctrl.createElement(class, arg)
   return List()
end
   
iupRegisterWidget(ctrl)
iupSetClass(ctrl, "iup widget")