summaryrefslogtreecommitdiff
path: root/iup/srclua5/vbox.lua
diff options
context:
space:
mode:
Diffstat (limited to 'iup/srclua5/vbox.lua')
-rwxr-xr-xiup/srclua5/vbox.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/iup/srclua5/vbox.lua b/iup/srclua5/vbox.lua
new file mode 100755
index 0000000..b98984c
--- /dev/null
+++ b/iup/srclua5/vbox.lua
@@ -0,0 +1,20 @@
+------------------------------------------------------------------------------
+-- VBox class
+------------------------------------------------------------------------------
+local ctrl = {
+ nick = "vbox",
+ parent = BOX,
+ creation = "-",
+ callback = {}
+}
+
+function ctrl.append (handle, elem)
+ Append(handle, elem)
+end
+
+function ctrl.createElement(class, arg)
+ return Vbox()
+end
+
+iupRegisterWidget(ctrl)
+iupSetClass(ctrl, "iup widget")