ui.toggle
- ui.toggle(**kwargs)
New in metview-python version 1.9.0.
Defines a widget with two exclusive toggle buttons labelled as “on” and “off”. To be used in
ui.dialog()
.- Parameters
name (str) – parameter name
default ({"on", "off"} default: "on") – default value
help ({"help_script"}, default: None) – creates a helper button with a given helper action in the widget.
help_script_command (str) – defines the shell command to be executed when
help
is “help_script”
- Return type
object to be used in
ui.dialog()
Note
See also
ui.dialog()