1HTMLDocument.addLabelledSelectK(a3ykaaymao)dule rHeTfMeLrDeonccuement.addLabelledSelect(3kaya)
2
3
4
6 HTMLDocument::addLabelledSelect - Adds a labelled selection box
7
9 ElementTree addLabelledSelect( ElementTree block, String labeltext,
10 String name, Int ssize, [Pair<String, [SelectOption]> ] optgroups, Bool
11 lazy=false )
12
14 parent The parent element
15
16 labeltext The label for the selector
17
18 name The name of the input. Remember that names starting with "kaya_"
19 may be used by the Kaya standard library and should not be used
20 directly by applications.
21
22 ssize The size of the select element. If this is zero, the select ele‐
23 ment will only allow one option to be selected at any one time. If this
24 is one or more, the select element will allow multiple options to be
25 selected, and suggest to the browser that this many options be dis‐
26 played simultaneously.
27
28 optgroups The options to select from
29
30 lazy This parameter is optional and defaults to false
31 If it is explicitly set to true then the selector will be generated
32 lazily.
33
35 Adds a labelled selection box to a form. The selector itself is identi‐
36 cal to that produced by HTMLDocument.addSelectElement (3kaya) or HTML‐
37 Document.addLazySelect (3kaya) , depending on the value of the lazy
38 parameter. Generally, it is more convenient to use this function to
39 label selectors, than to create them individally.
40
42 Kaya standard library by Edwin Brady, Chris Morris and others
43 (kaya@kayalang.org). For further information see http://kayalang.org/
44
46 The Kaya standard library is free software; you can redistribute it
47 and/or modify it under the terms of the GNU Lesser General Public
48 License (version 2.1 or any later version) as published by the Free
49 Software Foundation.
50
52 HTMLDocument.SelectOption (3kaya)
53 HTMLDocument.addLazySelect (3kaya)
54 HTMLDocument.addOptionList (3kaya)
55 HTMLDocument.addSelectElement (3kaya)
56
57
58
59Kaya DecemberH2T0M1L0Document.addLabelledSelect(3kaya)