diff options
-rw-r--r-- | src/GuiLua/test.skang | 9 |
1 files changed, 9 insertions, 0 deletions
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" | |||
12 | 12 | ||
13 | test.bar = 'things' | 13 | test.bar = 'things' |
14 | test.ffunc(1, 'two') | 14 | test.ffunc(1, 'two') |
15 | |||
16 | |||
17 | --[[ Ideas to make this less verbose. | ||
18 | |||
19 | Maybe we can leave out the "types = 'widget'" part, and assume it's a widget if there's a "widget = '...'" argument. | ||
20 | |||
21 | Perhaps an actual skang.widget.button(), or even a widget.button(). | ||
22 | |||
23 | ]] \ No newline at end of file | ||