diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-07-22 17:28:09 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-22 17:40:48 +0300 |
commit | 6dfefaf22962e1040dfe4c568d6d0598f46bb70d (patch) | |
tree | bd13dd82956332bd21617447527236b12df29aa3 /doc | |
parent | d44f8a854bb72006c92263d7260ba3e6272bbbe7 (diff) | |
download | minetest-6dfefaf22962e1040dfe4c568d6d0598f46bb70d.tar.gz minetest-6dfefaf22962e1040dfe4c568d6d0598f46bb70d.tar.bz2 minetest-6dfefaf22962e1040dfe4c568d6d0598f46bb70d.zip |
Formspec button_exit[] and image_button_exit[]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 92da534f2..74ac53d0f 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -719,6 +719,12 @@ image_button[<X>,<Y>;<W>,<H>;<texture name>;<name>;<label>] ^ image is the filename of an image ^ Position and size units are inventory slots +button_exit[<X>,<Y>;<W>,<H>;<name>;<label>] +^ When clicked, fields will be sent and the form will quit. + +image_button_exit[<X>,<Y>;<W>,<H>;<texture name>;<name>;<label>] +^ When clicked, fields will be sent and the form will quit. + Inventory location: - "context": Selected node metadata (deprecated: "current_name") - "current_player": Player to whom the menu is shown |