Adw.SwitchRow.set_active – libadwaita-1 Reference Manual
set_active
Description:
public
void
set_active
(
bool
is_active)
Sets whether
this
is in its "on" or "off" position
Parameters:
this
a switch row
is_active
whether
this
should be active