summaryrefslogtreecommitdiff
path: root/iup/srclua5/fontdlg.lua
blob: 2c88d26f6c3d2cff8732a771e6daddf89610cce6 (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 = WIDGET,
  creation = "",
  funcname = "FontDlg",
  callback = {}
} 

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

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

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