Switch.active

Get active property.

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

Return Value

Type: bool

Whether the gtk.switch_.Switch widget is in its on or off state.