ui.icon

ui.icon(**kwargs)

New in metview-python version 1.9.0.

Defines an Metview icon drop area widget to be used in ui.dialog().

Parameters
  • name (str) – parameter name

  • class_ (str or list) – the accepted Metview icon type(s)

  • default (an icon object or a list of these) – default icon(s)

  • 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()