blob: 2dcb73dc3d17e1880946d8bd56bd30da6c21455a (
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
|
------------------------------------------------------------------------------
-- MessageDlg class
------------------------------------------------------------------------------
local ctrl = {
nick = "messagedlg",
parent = iup.WIDGET,
creation = "",
funcname = "MessageDlg",
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.MessageDlg()
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iup widget")
|