summaryrefslogtreecommitdiff
path: root/core/lua/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/lua/test.lua')
-rw-r--r--core/lua/test.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/core/lua/test.lua b/core/lua/test.lua
new file mode 100644
index 0000000..2494403
--- /dev/null
+++ b/core/lua/test.lua
@@ -0,0 +1,13 @@
+local a = require("astal")
+
+a.App:start({
+ instance_name = "Hello",
+ main = function()
+ a.Widget.Window({
+ no_implicit_destroy = true,
+ a.Widget.Button({
+ label = "hello",
+ }),
+ })
+ end,
+})