summaryrefslogtreecommitdiff
path: root/indra/newview/scripts/lua/test_callables.lua
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-08-02 18:47:44 +0300
committerGitHub <noreply@github.com>2024-08-02 18:47:44 +0300
commitd6abce3968925c5cb58c11f1c6fc936605f55c57 (patch)
tree16142170d61f2ecf0ad8a4d6194a152658527589 /indra/newview/scripts/lua/test_callables.lua
parent2390b0d623a09c0ec4f46fa10567bb02b7d49cfe (diff)
parent365030aa33d991006e093557cb7ce93d18ea2e4e (diff)
Merge pull request #2047 from secondlife/lua-top-menu
Lua api for adding new menu items to the Top menu
Diffstat (limited to 'indra/newview/scripts/lua/test_callables.lua')
-rw-r--r--indra/newview/scripts/lua/test_callables.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/scripts/lua/test_callables.lua b/indra/newview/scripts/lua/test_callables.lua
new file mode 100644
index 0000000000..1bee062db8
--- /dev/null
+++ b/indra/newview/scripts/lua/test_callables.lua
@@ -0,0 +1,6 @@
+startup=require 'startup'
+UI=require 'UI'
+startup.wait('STATE_LOGIN_WAIT')
+for _, cbl in pairs(UI.callables()) do
+ print(`{cbl.name} ({cbl.access})`)
+end