Switch.state

Get state property.

  1. bool state [@property getter]
    class Switch
    @property
    bool
    state
    ()
  2. bool state [@property setter]

Return Value

Type: bool

The backend state that is controlled by the switch.

See signal@Gtk.Switch::state-set for details.