aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-08-12 18:16:35 +0100
committersfan5 <sfan5@live.de>2019-08-12 19:16:35 +0200
commit91114b562fb2c65467485008b810836f951274ea (patch)
treec87cd43af2bf9b3a76a30257f914626729c302be /doc
parenta067d404542704c3bcc284262f588fba398b3102 (diff)
downloadminetest-91114b562fb2c65467485008b810836f951274ea.tar.gz
minetest-91114b562fb2c65467485008b810836f951274ea.tar.bz2
minetest-91114b562fb2c65467485008b810836f951274ea.zip
Add support for set_formspec_prepend in main menu (#8611)
Diffstat (limited to 'doc')
-rw-r--r--doc/menu_lua_api.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt
index f6b2ffbd2..a2f9c3f5b 100644
--- a/doc/menu_lua_api.txt
+++ b/doc/menu_lua_api.txt
@@ -79,6 +79,8 @@ core.explode_table_event(string) -> table
core.explode_textlist_event(string) -> table
^ returns e.g. {type="CHG", index=1}
^ type: "INV" (no row selected), "CHG" (selected) or "DCL" (double-click)
+core.set_formspec_prepend(formspec)
+^ string to be added to every mainmenu formspec, to be used for theming.
GUI:
core.set_background(type, texturepath,[tile],[minsize])