Toggle switch (widget)

On/off states of GTK's toggle switch widget.

A toggle switch is a graphical control element that allows the user to make a choice between two mutually exclusive states (such as on/off). Originally toggle switches were used primary in touchscreen-based user interfaces, but they have later become commonplace in desktop and web applications.

Toggle switches have a similar function as checkboxes, but unlike checkboxes, interacting with a toggle switch usually has an immediate effect on the application or system.[1]

  1. ^ Cite error: The named reference uwp17 was invoked but never defined (see the help page).