template::element::get_opts (private)
template::element::get_opts [ -widget widget ] [ -datatype datatype ] \ [ -label label ] [ -html html ] [ -maxlength maxlength ] \ [ -options options ] [ -fieldset fieldset ] [ -legend legend ] \ [ -legendtext legendtext ] [ -value value ] [ -values values ] \ [ -validate validate ] [ -sign ] [ -help_text help_text ] \ [ -help ] [ -optional ] [ -mode mode ] [ -nospell ] [ -noquote ] \ [ -before_html before_html ] [ -after_html after_html ] \ [ -display_value display_value ] [ -multiple ] [ -format format ] \ [ -section section ] [ -htmlarea_p htmlarea_p ] [ args... ]
Defined in packages/acs-templating/tcl/element-procs.tcl
template::element::create syntax requires first two non-positional arguments (form and element name), then a set of named-argument flags to transform into options. This is not the native Tcl syntax, where named-arguments come before unnamed ones. To use native Tcl argument parsing for remaining flags, we create this internal utility.
- Switches:
- -widget
(optional)- -datatype
(optional)- -label
(optional)- -html
(optional)- -maxlength
(optional)- -options
(optional)- -fieldset
(optional)- -legend
(optional)- -legendtext
(optional)- -value
(optional)- -values
(optional)- -validate
(optional)- -sign
(boolean) (optional)- -help_text
(optional)- -help
(boolean) (optional)- -optional
(boolean) (optional)- -mode
(optional)- -nospell
(boolean) (optional)- -noquote
(boolean) (optional)- -before_html
(optional)- -after_html
(optional)- -display_value
(optional)- -multiple
(boolean) (optional)- -format
(optional)- -section
(optional)- -htmlarea_p
(optional)- Returns:
- a dict of options
- See Also:
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.