Toggle

Qubes 6.5 ON/OFF toggle touch button.

Properties

PropertyDescription
EnabledBoolean indicating whether or not the component is enabled.
HintSpecifies the user hint string that will appear in the component's interactive help bubble.
TabIndexInteger indicating the component's tab order (Qubes 5.6).
ThemeSelection of the theme (visual appearance).
ValueInitialDetermines the component's initial value when the screen opens and each time it is reset (see Reset Button).
VisibleBoolean indicating whether or not the component will be visible.

Value

If ON, the component is True; if OFF, it is False.

Remarks

This is an alternative to a simplified checkbox, designed for touch-screen use, with a different appearance.

Starting with Qubes 6.1, checkboxes are styled and have the same font size. In earlier versions, they used the browser's default style, and so (usually) had a fixed size unrelated to the font.

The following themes are available:

  • modern (default);
  • light;
  • dark;
  • iphone;
  • soft.

The theme and the initial value have no visual effect during design.

The Enabled attribute is only implemented starting with Qubes 6.7.

See also Checkbox.

Classification

Standards