summaryrefslogtreecommitdiff
path: root/iup/srclua5/fontdlg.lua
blob: 45bc02f36cd8fc314a07d529fba4506486d6f2e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
------------------------------------------------------------------------------
-- FontDlg class 
------------------------------------------------------------------------------
local ctrl = {
  nick = "fontdlg",
  parent = iup.WIDGET,
  creation = "",
  funcname = "FontDlg",
  callback = {}
} 

function ctrl.popup(handle, x, y)
  iup.Popup(handle,x,y)
end

function ctrl.destroy(handle)
  return iup.Destroy(handle)
end

function ctrl.createElement(class, param)
   return iup.FontDlg()
end
   
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iup widget")