[vlc-commits] lua readme: mention state as second parameter for add_check_box

David Fuhrmann git at videolan.org
Wed Oct 21 17:35:08 CEST 2015


vlc/vlc-2.2 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Jun 11 19:25:39 2015 +0200| [601c5502d2db7a6162f5c805412e0ded3c1311b6] | committer: Jean-Baptiste Kempf

lua readme: mention state as second parameter for add_check_box

(cherry picked from commit 377bab66f9721a22a9c1bb82acd84cd71db45b14)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=601c5502d2db7a6162f5c805412e0ded3c1311b6
---

 share/lua/README.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/README.txt b/share/lua/README.txt
index 84f322f..a3fea24 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -71,7 +71,7 @@ d:add_label( text, ... ): Create a text label with caption "text" (string).
 d:add_html( text, ... ): Create a rich text label with caption "text" (string), that supports basic HTML formatting (such as <i> or <h1> for instance).
 d:add_text_input( text, ... ): Create an editable text field, in order to read user input.
 d:add_password( text, ... ): Create an editable text field, in order to read user input. Text entered in this box will not be readable (replaced by asterisks).
-d:add_check_box( text, ... ): Create a check box with a text. They have a boolean state (true/false).
+d:add_check_box( text, state, ... ): Create a check box with a text. They have a boolean state (true/false).
 d:add_dropdown( ... ): Create a drop-down widget. Only 1 element can be selected the same time.
 d:add_list( ... ): Create a list widget. Allows multiple or empty selections.
 d:add_image( path, ... ): Create an image label. path is a relative or absolute path to the image on the local computer.



More information about the vlc-commits mailing list