From d562c81e21ca74d4a1e607d9e8bfb67056590767 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 9 Jul 2015 04:19:49 +1000 Subject: Add some ideas for how to make Lua Skang less verbose. --- src/GuiLua/test.skang | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/GuiLua/test.skang b/src/GuiLua/test.skang index 6346a4a..cbd848d 100644 --- a/src/GuiLua/test.skang +++ b/src/GuiLua/test.skang @@ -12,3 +12,12 @@ skang.thingasm{win, 'ffuncer', 'Calls ffunc', types = 'widget', widget='"button" test.bar = 'things' test.ffunc(1, 'two') + + +--[[ Ideas to make this less verbose. + +Maybe we can leave out the "types = 'widget'" part, and assume it's a widget if there's a "widget = '...'" argument. + +Perhaps an actual skang.widget.button(), or even a widget.button(). + +]] \ No newline at end of file -- cgit v1.1