Switch.active

Set active property.

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

Parameters

propval bool

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