summaryrefslogtreecommitdiff
path: root/iup/srclua5/fontdlg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'iup/srclua5/fontdlg.lua')
-rwxr-xr-xiup/srclua5/fontdlg.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/iup/srclua5/fontdlg.lua b/iup/srclua5/fontdlg.lua
new file mode 100755
index 0000000..2c88d26
--- /dev/null
+++ b/iup/srclua5/fontdlg.lua
@@ -0,0 +1,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")
+