iup-stack/iup/srclua5/elem/messagedlg.lua

24 lines
513 B
Lua
Raw Normal View History

2023-02-20 16:44:45 +00:00
------------------------------------------------------------------------------
-- MessageDlg class
------------------------------------------------------------------------------
local ctrl = {
nick = "messagedlg",
parent = iup.WIDGET,
subdir = "elem",
creation = "",
funcname = "MessageDlg",
callback = {}
}
function ctrl.popup(ih, x, y)
iup.Popup(ih,x,y)
end
function ctrl.createElement(class, param)
return iup.MessageDlg()
end
iup.RegisterWidget(ctrl)
iup.SetClass(ctrl, "iupWidget")