diff options
Diffstat (limited to 'iup/srclua5/vbox.lua')
-rwxr-xr-x | iup/srclua5/vbox.lua | 20 |
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") |