diff options
author | David Walter Seikel | 2014-05-05 20:04:08 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-05 20:04:08 +1000 |
commit | 969f1968f2f74f8f09c4788bc7f7b1c9655ad354 (patch) | |
tree | 90d1d572f57c03b65c105cdcc47e9b79640a617d /src/GuiLua/test.skang | |
parent | GuiLuaDo() now returns astructure, and has that structure in Lua's C registry... (diff) | |
download | SledjHamr-969f1968f2f74f8f09c4788bc7f7b1c9655ad354.zip SledjHamr-969f1968f2f74f8f09c4788bc7f7b1c9655ad354.tar.gz SledjHamr-969f1968f2f74f8f09c4788bc7f7b1c9655ad354.tar.bz2 SledjHamr-969f1968f2f74f8f09c4788bc7f7b1c9655ad354.tar.xz |
Call skang modules from extantz. Needs some clean up.
Diffstat (limited to 'src/GuiLua/test.skang')
-rw-r--r-- | src/GuiLua/test.skang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GuiLua/test.skang b/src/GuiLua/test.skang index 337b75f..e3b303b 100644 --- a/src/GuiLua/test.skang +++ b/src/GuiLua/test.skang | |||
@@ -4,7 +4,7 @@ | |||
4 | -- There's an implied local test = require 'test' | 4 | -- There's an implied local test = require 'test' |
5 | 5 | ||
6 | -- This is a bit more verbose than I wanted. lol | 6 | -- This is a bit more verbose than I wanted. lol |
7 | local win = skang.window(512, 512, "G'day planet.", 'testWindow') | 7 | local win = skang.window(200, 100, "G'day planet.", 'testWindow') |
8 | skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} | 8 | skang.thingasm{win, 'quitter', 'Quits the skang window', types = 'widget', widget='"button", "Quit", 10, 10, 100, 30'} |
9 | win.W.quitter.action = 'skang.quit()' -- TODO Should look it up in ThingSpace.commands, and translate 'quit' into the Lua 'skang.quit()'? | 9 | win.W.quitter.action = 'skang.quit()' -- TODO Should look it up in ThingSpace.commands, and translate 'quit' into the Lua 'skang.quit()'? |
10 | 10 | ||