From 65b8b524c02df853163fc1284a00a684a046d67c Mon Sep 17 00:00:00 2001 From: sapier Date: Thu, 19 Jun 2014 18:17:35 +0200 Subject: Add srollbar formspec element --- doc/lua_api.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'doc/lua_api.txt') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 81cdb3258..28509a267 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1061,6 +1061,9 @@ box[,;,;] dropdown[,;;;,, ...,;] ^ show a dropdown field +^ IMPORTANT NOTE: There are two different operation modes: +^ 1) handle directly on change (only changed dropdown is submitted) +^ 2) read the value on pressing a button (all dropdown values are available) ^ x and y position of dropdown ^ width of dropdown ^ fieldname data is transfered to Lua @@ -1075,6 +1078,18 @@ checkbox[,;;