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

David Fuhrmann git at videolan.org
Thu Jun 11 19:26:11 CEST 2015


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Jun 11 19:25:39 2015 +0200| [377bab66f9721a22a9c1bb82acd84cd71db45b14] | committer: David Fuhrmann

lua readme: mention state as second parameter for add_check_box

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=377bab66f9721a22a9c1bb82acd84cd71db45b14
---

 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