Crate zng_wgt_toggle

source ·
Expand description

Toggle widget, properties and commands.

§Crate

This crate is part of the zng project.

Modules§

  • Commands that control toggle.

Structs§

Enums§

Statics§

Traits§

Functions§

  • P Spacing between the checkmark and the content.
  • P Toggle cycles between true and false, updating the variable.
  • P Toggle cycles between Some(true) and Some(false) and accepts None, if the widget is tristate also sets to None in the toggle cycle.
  • P Popup open when the toggle button is checked.
  • P Spacing between the arrow symbol and the content.
  • P If value is deselected when the widget that has the value is deinited and the value was selected.
  • P If value deselects the previously selected value when the variable changes.
  • P If the toggle is checked from any of the three primary properties.
  • P Spacing between the radio and the content.
  • P If the scrolls into view when the value selected.
  • P If value is selected when the widget that has the value is inited.
  • P If value selects the new value when the variable changes and the previous value was selected.
  • P Sets the contextual selector that all inner widgets will target from the value property.
  • P Extends or replaces the widget style.
  • P Spacing between the switch and the content.
  • P Enables None as an input value.
  • P Values that is selected in the contextual selector.